aboutsummaryrefslogtreecommitdiff
path: root/game/menus/ButtonSubScene.h
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2025-01-10 14:17:38 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2025-01-10 14:17:38 +0100
commit52c838538d2271134a2c5a128074ea9c2ed1d4a3 (patch)
treefd85a4193f88ec48c77d6fbfd90e909ac3a5855c /game/menus/ButtonSubScene.h
parent15a958a7f327bb2e81e7d445f1499ec78c7f5839 (diff)
parentbb2db93bfb8dd7e080d2708548eae660e6b33913 (diff)
Merge branch 'master' into niels/game
Diffstat (limited to 'game/menus/ButtonSubScene.h')
-rw-r--r--game/menus/ButtonSubScene.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/game/menus/ButtonSubScene.h b/game/menus/ButtonSubScene.h
index 74f9464..d4c7223 100644
--- a/game/menus/ButtonSubScene.h
+++ b/game/menus/ButtonSubScene.h
@@ -19,6 +19,11 @@ public:
REPLAY,
CREDITS_SHOW,
CREDITS_BACK,
+ PREVIEW_START,
+ PREVIEW_STOP,
+ PREVIEW_REPLAY,
+ SHOP_BULLET,
+ SHOP_BUBBLE,
NONE,
};
//icon enum
@@ -33,6 +38,14 @@ public:
NEXT,
LARGE,
};
+
+ enum class ButtonSideColor {
+ BLUE,
+ ORANGE,
+ PURPLE,
+ YELLOW,
+ NONE,
+ };
//data struct
struct Data {
const std::string & text = "NODATA";
@@ -48,6 +61,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: