diff options
Diffstat (limited to 'libs/libgui/gui.h')
-rw-r--r-- | libs/libgui/gui.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/libgui/gui.h b/libs/libgui/gui.h index 00f49b8..0a4427b 100644 --- a/libs/libgui/gui.h +++ b/libs/libgui/gui.h @@ -81,6 +81,8 @@ void gui_popup(const char *text); */ vec2 gui_window_size(u32 win_id); +vec2 gui_widget_size(u32 win_id, u32 widget_id); +struct gfx_context *gui_widget_context(u32 win_id, u32 widget_id, enum gui_layer layer); void gui_widget_margin(u32 win_id, u32 widget_id, vec2 margin); void gui_widget_layout(u32 win_id, u32 widget_id, enum gui_layout layout); |