#include "application.h" #include "dice_gui.h" #include #include #include #include constexpr Clay_LayoutConfig centerContainer { .sizing = {CLAY_SIZING_GROW(), CLAY_SIZING_GROW()}, .childAlignment = {CLAY_ALIGN_X_CENTER, CLAY_ALIGN_Y_CENTER}, }; namespace application { Clay_RenderCommandArray RenderApplication() { Clay_BeginLayout(); CLAY(CLAY_ID("Window"), cera::Window()) { CLAY(CLAY_ID("Content"), {.layout = centerContainer}) { DiceContainer(); } } return Clay_EndLayout(); } void HandleEvent(SDL_Event event) { } }