add clear function to the gui

This commit is contained in:
Cedric Roux
2016-04-11 18:31:37 +02:00
parent 3e33416517
commit 062f7fad97
3 changed files with 12 additions and 0 deletions
+1
View File
@@ -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 {