Changes in uspace/lib/gui/grid.h [e63c424f:6d5e378] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/gui/grid.h

    re63c424f r6d5e378  
    3939#include <sys/types.h>
    4040#include <io/pixel.h>
     41
    4142#include "widget.h"
    4243
    43 typedef struct {
    44         widget_t *widget;
    45         size_t cols;
    46         size_t rows;
    47 } grid_cell_t;
     44struct grid;
     45typedef struct grid grid_t;
    4846
    4947typedef struct grid {
    5048        widget_t widget;
    5149        pixel_t background;
     50        size_t rows;
    5251        size_t cols;
    53         size_t rows;
    54         grid_cell_t *layout;
    55         bool (*add)(struct grid *, widget_t *, size_t, size_t, size_t, size_t);
     52        widget_t **layout;
     53        void (*add)(grid_t *, widget_t *, size_t, size_t, size_t, size_t);
    5654} grid_t;
    5755
Note: See TracChangeset for help on using the changeset viewer.