item pick up not working

This commit is contained in:
Hash Borgir
2024-05-19 16:59:20 -06:00
parent b4b85425aa
commit cce65db976
79 changed files with 132 additions and 187 deletions

View File

@@ -16,7 +16,7 @@ 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;
ui::controls::button* m_btn_toggle_help;
ui::controls::button* m_btn_toggle_cube;
ui::controls::button* m_btn_toggle_stash;
@@ -27,18 +27,24 @@ namespace d2_tweaks {
public:
menu* m_filter_settings_menu;
menu* m_menu;
bool m_show;
ui::controls::button* m_btn_toggle_stats;
bool m_show;
bool m_show_bag;
explicit loot_filter_settings_toggle_menu(token);
void toggle_show() {
m_show = !m_show;
set_enabled(m_show);
set_visible(m_show);
}
void toggle_filter_settings_click();
void toggle_stats_settings_click();
void toggle_help_click();
void toggle_cube_click();
void toggle_stash_click();
void toggle_bag_click();
void draw() override;
bool key_event(uint32_t key, bool up) override;