summaryrefslogtreecommitdiff
path: root/src/widget/widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widget/widget.h')
-rw-r--r--src/widget/widget.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/widget/widget.h b/src/widget/widget.h
index a2c96bc..c75bd65 100644
--- a/src/widget/widget.h
+++ b/src/widget/widget.h
@@ -54,10 +54,12 @@ typedef struct uiTable {
54 uiWidget widget; 54 uiWidget widget;
55 int rows; 55 int rows;
56 int cols; 56 int cols;
57 int* widths; // Width, in pixels, for each column. 57 int height; // Height in pixels.
58 uiCell* header; // If non-null, row of 'cols' header cells. 58 int* widths; // Width, in pixels, for each column.
59 uiCell** cells; // Array of 'rows' rows, each of 'cols' cells. 59 uiCell* header; // If non-null, row of 'cols' header cells.
60 int offset; // Offset into the rows of the table. Units: rows. 60 uiCell** cells; // Array of 'rows' rows, each of 'cols' cells.
61 int offset; // Offset into the rows of the table. Units: rows.
62 int num_visible_rows; // The number of rows that are visible at once.
61 struct { 63 struct {
62 bool vertical_overflow : 1; // True if contents overflow vertically. 64 bool vertical_overflow : 1; // True if contents overflow vertically.
63 } flags; 65 } flags;