mirror of
https://gitlab.com/hashborgir/d2tweaks-rnd2k.git
synced 2025-10-13 16:34:22 -05:00
item pick up not working
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user