add clear function to the gui
This commit is contained in:
@@ -46,6 +46,7 @@ struct widget {
|
||||
void (*allocate)(gui *g, widget *this, int x, int y, int width, int height);
|
||||
void (*hints)(gui *g, widget *this, int *width, int *height);
|
||||
void (*paint)(gui *g, widget *this);
|
||||
void (*clear)(gui *g, widget *this);
|
||||
};
|
||||
|
||||
struct widget_list {
|
||||
|
||||
Reference in New Issue
Block a user