diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2025-01-08 19:57:34 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2025-01-08 19:57:34 +0100 |
commit | 0a57018881fc530e18695ed3331482f432bb7750 (patch) | |
tree | 46c37585e83caa1abf2a1f48c6c8c8b0cae5de2b /game/menus/ButtonSubScene.h | |
parent | 30974f588816aa03652002111c6a946b138e3bc5 (diff) |
added color to button
Diffstat (limited to 'game/menus/ButtonSubScene.h')
-rw-r--r-- | game/menus/ButtonSubScene.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/game/menus/ButtonSubScene.h b/game/menus/ButtonSubScene.h index 29287b6..8f086f0 100644 --- a/game/menus/ButtonSubScene.h +++ b/game/menus/ButtonSubScene.h @@ -36,6 +36,14 @@ public: NEXT, LARGE, }; + + enum class ButtonSideColor { + BLUE, + ORANGE, + PURPLE, + YELLOW, + NONE, + }; //data struct struct Data { const std::string & text = "NODATA"; @@ -51,6 +59,7 @@ public: const bool color_side = true; const std::string & tag = ""; const int sorting_layer_offset = 0; + const ButtonSideColor btn_side_color = ButtonSideColor::NONE; }; public: |