stats button toggle working

This commit is contained in:
Hash Borgir
2024-04-19 14:17:43 -06:00
parent 4600940fbc
commit b2f9685c20
82 changed files with 257 additions and 254 deletions

View File

@@ -25,6 +25,9 @@ extern int randStatRangeLow;
extern int randStatRangeHigh;
extern int randStatBool;
extern bool m_stats_enabled;
namespace diablo2 {
namespace structures {
struct unit;

View File

@@ -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;