container_body

This commit is contained in:
Alessandro Mauri 2022-12-10 17:06:41 +01:00
parent 5d1d5024ec
commit 46c5de8dcb
3 changed files with 59 additions and 52 deletions

2
ugui.h
View file

@ -217,7 +217,7 @@ int ug_container_menu_bar(ug_ctx_t *ctx, const char *name, ug_size_t height);
// a sidebar is a variable size container anchored to one side of the window
int ug_container_sidebar(ug_ctx_t *ctx, const char *name, ug_size_t size, int side);
// a body is a container that scales with the window, sits at it's center and cannot
// be resized
// be resized, it also fills all the available space
int ug_container_body(ug_ctx_t *ctx, const char *name);
// Input functions