First start at adding 4 sided padding

This commit is contained in:
Dave Davenport
2016-12-27 22:19:15 +01:00
parent c5439118a7
commit 1c611b0eec
11 changed files with 178 additions and 78 deletions

View File

@@ -1,6 +1,7 @@
#ifndef WIDGET_INTERNAL_H
#define WIDGET_INTERNAL_H
#include "theme.h"
/**
* Data structure holding the internal state of the Widget
*/
@@ -14,6 +15,8 @@ struct _widget
short w;
/** Height of the widget */
short h;
/** Padding */
Padding pad;
/** enabled or not */
gboolean enabled;
/** Expand the widget when packed */
@@ -48,5 +51,8 @@ struct _widget
/** Name of widget (used for theming) */
char *name;
char *class_name;
};
void widget_init ( widget *widget , const char *name, const char *class_name );
#endif // WIDGET_INTERNAL_H