Add window widget, play with logic for sizing (broken)

This commit is contained in:
Dave Davenport
2016-12-28 19:42:14 +01:00
parent 2db879e979
commit a2001d1b9c
10 changed files with 316 additions and 44 deletions

View File

@@ -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