From 0a57018881fc530e18695ed3331482f432bb7750 Mon Sep 17 00:00:00 2001 From: JAROWMR Date: Wed, 8 Jan 2025 19:57:34 +0100 Subject: added color to button --- game/menus/ButtonSubScene.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'game/menus/ButtonSubScene.h') 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: -- cgit v1.2.3