3 #include <Strings/components/classes/events/events.h>
4 #include <Strings/components/classes/vector/vector.h>
11 #define CWT_DEBUG_MENU "DEBUG_MENU"
12 #define CWT_DEBUG_MENU_ITEM "DEBUG_MENU_ITEM"
37 BlamVector2 value_bg_size = { 60, 13 };
38 int property_spacing = 5;
41 bool is_header =
false;
42 bool legacy_global_display =
false;
47 void UpdateGlobalValueDisplay();
52 void UpdateActiveBackgroundColor();
79 void SetPosition(BlamVector2 new_position)
override;
138 std::string page_title =
"Main";
139 std::vector<BlamDebugMenuItem*> items = std::vector<BlamDebugMenuItem*>();
141 bool needs_page_switch =
false;
146 int active_index = 0;
147 int scroll_offset = 0;
149 bool scrolling_down =
false;
150 bool scroll_animating =
false;
151 bool scroll_step_drawn =
false;
153 BlamVector2 menu_size = { 479, 242 };
154 BlamVector2 menu_origin = { 50, 112 };
156 BlamVector3 content_margins = { 2, 70, 3 };
157 int item_spacing = 5;
158 int max_items_visible = 12;
171 void GenerateItemsUI();
179 void UpdateActiveItem();
205 void Draw()
override;
209 void SetHidden(
bool new_hidden)
override;