mirror of
https://gitlab.com/hashborgir/d2tweaks-rnd2k.git
synced 2025-10-13 08:24:23 -05:00
stats button toggle working
This commit is contained in:
@@ -25,6 +25,9 @@ extern int randStatRangeLow;
|
||||
extern int randStatRangeHigh;
|
||||
extern int randStatBool;
|
||||
|
||||
|
||||
extern bool m_stats_enabled;
|
||||
|
||||
namespace diablo2 {
|
||||
namespace structures {
|
||||
struct unit;
|
||||
|
@@ -16,12 +16,14 @@ namespace d2_tweaks {
|
||||
namespace modules {
|
||||
class loot_filter_settings_toggle_menu final : public ui::menu, singleton<loot_filter_settings_toggle_menu> {
|
||||
ui::controls::button* m_toggle_filter_settings_btn;
|
||||
ui::controls::button* m_btn_toggle_stats;
|
||||
menu* m_filter_settings_menu;
|
||||
bool m_show;
|
||||
public:
|
||||
explicit loot_filter_settings_toggle_menu(token);
|
||||
|
||||
void toggle_filter_settings_click();
|
||||
void toggle_stats_settings_click();
|
||||
|
||||
void draw() override;
|
||||
|
||||
|
Reference in New Issue
Block a user