summaryrefslogtreecommitdiff
path: root/src/static-ui.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/static-ui.hpp')
-rw-r--r--src/static-ui.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/static-ui.hpp b/src/static-ui.hpp
index 6d5c61c..fa1ecf7 100644
--- a/src/static-ui.hpp
+++ b/src/static-ui.hpp
@@ -23,12 +23,12 @@ TypeSafeInt_H(PKE_UI_BOX_FLAG, uint64_t, 0xFFFFFFFFFFFFFFFF);
// layouts
const PKE_UI_BOX_TYPE PKE_UI_BOX_TYPE_STANDARD
- = PKE_UI_BOX_TYPE(000);
+ = PKE_UI_BOX_TYPE(0);
// TODO columns, rows, tabs, etc
// special (content)
const PKE_UI_BOX_TYPE PKE_UI_BOX_TYPE_TEXT
- = PKE_UI_BOX_TYPE(050);
+ = PKE_UI_BOX_TYPE(50);
// TODO image, render target, etc
// inputs
@@ -74,6 +74,8 @@ struct pke_ui_box : public Entity_Base {
PKE_UI_BOX_TYPE type;
uint8_t flex_direction;
uint8_t layer;
+ glm::vec4 color_border = glm::vec4(1.0, 0.0, 0.0, 1.0);
+ glm::vec4 color_background = glm::vec4(0.2, 0.3, 0.2, 0.5);
union pke_ui_box_type_data *type_data;
struct pke_ui_box_internals {
// the exact px to translate (shader)