diff options
author | 2023-05-25 22:50:13 +0200 | |
---|---|---|
committer | 2023-05-25 22:50:13 +0200 | |
commit | ffeb537ba0a28612f8024fda860ecbb17fba46fb (patch) | |
tree | cd4e8ed1ca0b4f6694f06b95f68bbb6820e71106 | |
parent | fc921619e91c55d7868f90c670a609b931cbab69 (diff) | |
download | cherry-ffeb537ba0a28612f8024fda860ecbb17fba46fb.tar.gz cherry-ffeb537ba0a28612f8024fda860ecbb17fba46fb.zip |
Add cherry_widget_draw() function
-rw-r--r-- | src/widget.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/widget.c b/src/widget.c index fabc67d..412d7f8 100644 --- a/src/widget.c +++ b/src/widget.c @@ -3,6 +3,11 @@ #include <stdlib.h> #include "widget.h" +void +cherry_widget_draw(CherryWidget *widget) +{ +} + CherryWidget * cherry_widget_new(void) { @@ -12,6 +17,7 @@ cherry_widget_new(void) widget->widgets = clist_create(); widget->draw = NULL; widget->dimension = cherry_dimension_new(); + widget->draw = cherry_widget_draw; return widget; } |