diff options
author | Dave Davenport <qball@gmpclient.org> | 2016-12-28 19:42:14 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2016-12-28 19:42:14 +0100 |
commit | a2001d1b9ced299d05a643a032380529a1df2e60 (patch) | |
tree | 427146fef8b2847a94844132cbab0c49dbfaeda9 /include/widgets/widget-internal.h | |
parent | 2db879e9794c12700061de860f33cba8f545f324 (diff) |
Add window widget, play with logic for sizing (broken)
Diffstat (limited to 'include/widgets/widget-internal.h')
-rw-r--r-- | include/widgets/widget-internal.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/widgets/widget-internal.h b/include/widgets/widget-internal.h index 940738fc..efb43f78 100644 --- a/include/widgets/widget-internal.h +++ b/include/widgets/widget-internal.h @@ -57,4 +57,13 @@ struct _widget void widget_init ( widget *widget , const char *name, const char *class_name ); void widget_set_state ( widget *widget, const char *state ); + +int widget_padding_get_left ( const widget *wid ); +int widget_padding_get_right ( const widget *wid ); +int widget_padding_get_top ( const widget *wid ); +int widget_padding_get_bottom ( const widget *wid ); +int widget_padding_get_remaining_width ( const widget *wid ); +int widget_padding_get_remaining_height ( const widget *wid ); +int widget_padding_get_padding_height ( const widget *wid ); +int widget_padding_get_padding_width ( const widget *wid ); #endif // WIDGET_INTERNAL_H |