diff options
author | waker <wakeroid@gmail.com> | 2009-08-10 22:13:34 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2009-08-10 22:13:34 +0200 |
commit | 06a93606f6599e87c2522a2a8feca44efff2bdb0 (patch) | |
tree | da8305f56524e341cf95010e2ecefe73a157102c /gtkplaylist.h | |
parent | d5e43cdbf7826c3cd790fcf2a337995e8fc8c46d (diff) |
visual improvements
Diffstat (limited to 'gtkplaylist.h')
-rw-r--r-- | gtkplaylist.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtkplaylist.h b/gtkplaylist.h index d913f01a..8cd6aa46 100644 --- a/gtkplaylist.h +++ b/gtkplaylist.h @@ -51,6 +51,12 @@ typedef struct { int row; double clicktime; // for doubleclick detection int nvisiblerows; +// array of lengths and widths +// N = number of columns +// M = number of visible rows, +// cache[(ROW*ncolumns+COLUMN)*3+0] --- position to insert "...", or -1 if the whole line fits +// cache[(ROW*ncolumns+COLUMN)*3+1] --- width extent in pixels +// cache[(ROW*ncolumns+COLUMN)*3+2] --- 0 if needs recalc int16_t *fmtcache; // cached text formatting int header_fitted[pl_ncolumns]; char colnames_fitted[pl_ncolumns][pl_colname_max]; // cached formatted names of columns |