Changeset 25eec4e in mainline for uspace/lib/gui/grid.h
- Timestamp:
- 2013-04-19T18:38:18Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6d717a4
- Parents:
- a1e2df13 (diff), 289cb7dd (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/gui/grid.h
ra1e2df13 r25eec4e 39 39 #include <sys/types.h> 40 40 #include <io/pixel.h> 41 42 41 #include "widget.h" 43 42 44 struct grid; 45 typedef struct grid grid_t; 43 typedef struct { 44 widget_t *widget; 45 size_t cols; 46 size_t rows; 47 } grid_cell_t; 46 48 47 49 typedef struct grid { 48 50 widget_t widget; 49 51 pixel_t background; 52 size_t cols; 50 53 size_t rows; 51 size_t cols; 52 widget_t **layout; 53 void (*add)(grid_t *, widget_t *, size_t, size_t, size_t, size_t); 54 grid_cell_t *layout; 55 bool (*add)(struct grid *, widget_t *, size_t, size_t, size_t, size_t); 54 56 } grid_t; 55 57
Note:
See TracChangeset
for help on using the changeset viewer.