aboutsummaryrefslogtreecommitdiff
path: root/game/menus/ButtonSubScene.h
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2025-01-06 20:52:39 +0100
committerJAROWMR <jarorutjes07@gmail.com>2025-01-06 20:52:39 +0100
commit126c402548281f3a97e3a9e0ef60c45147c87fa0 (patch)
treef2f2e763bb6ae3a7ee1bc7719cef2fee8ae1ad5d /game/menus/ButtonSubScene.h
parent867414de0e2e963b0d1c35b3a46884a8a03a9294 (diff)
endgamesubscene finished
Diffstat (limited to 'game/menus/ButtonSubScene.h')
-rw-r--r--game/menus/ButtonSubScene.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/game/menus/ButtonSubScene.h b/game/menus/ButtonSubScene.h
index 6781d19..28daed2 100644
--- a/game/menus/ButtonSubScene.h
+++ b/game/menus/ButtonSubScene.h
@@ -43,12 +43,14 @@ public:
const bool worldspace = true;
const bool color_side = true;
const std::string & tag = "";
+ const int sorting_layer_offset = 0;
};
public:
void create(crepe::Scene & scn,const Data & data);
private:
void large_btn_overlay(crepe::GameObject & button_object,const Data & data);
- void small_btn_overlay(crepe::GameObject & button_object,const Data & data);
+ void back_btn_overlay(crepe::GameObject & button_object,const Data & data);
+ void next_btn_overlay(crepe::GameObject & button_object,const Data & data);
void btn_color_side(crepe::GameObject & button_object,const crepe::vec2 & offset,const Data & data);
void btn_text(crepe::GameObject & button_object,const Data & data);
void set_script(crepe::GameObject & button_object,const Data & data);