Implement the most important menu key accelerators for Linux
Patch from @x-qq
This commit is contained in:
@@ -33,8 +33,11 @@ private:
|
||||
std::vector<unsigned int> spell_menus_connection_ids;
|
||||
|
||||
tgui::MenuBar::Ptr build_menubar() const;
|
||||
bool handle_keypressed_event(const sf::Event&);
|
||||
bool handle_keypressed_event(const sf::Event&) const;
|
||||
bool handle_ctrl_keypress(const sf::Event&) const;
|
||||
bool handle_ctrl_shift_keypress(const sf::Event&) const;
|
||||
bool is_control_key_pressed() const;
|
||||
bool is_shift_key_pressed() const;
|
||||
void add_menu_placeholders(tgui::MenuBar::Ptr&) const;
|
||||
void add_persistent_menu_items(tgui::MenuBar::Ptr&) const;
|
||||
tgui::MenuBar::Ptr get_menubar_ptr() const;
|
||||
|
Reference in New Issue
Block a user