mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-07 03:10:09 +00:00
remove unuse Application::is_cad_pressed()
This commit is contained in:
parent
6f4736e08b
commit
4f2e36f08a
@ -1418,13 +1418,6 @@ int Application::get_hotkeys_commnad()
|
||||
return (iter != _hot_keys.end()) ? iter->first : APP_CMD_INVALID;
|
||||
}
|
||||
|
||||
bool Application::is_cad_pressed()
|
||||
{
|
||||
return ((_key_table[REDKEY_L_CTRL].press || _key_table[REDKEY_R_CTRL].press) &&
|
||||
(_key_table[REDKEY_L_ALT].press || _key_table[REDKEY_R_ALT].press) &&
|
||||
(_key_table[REDKEY_DELETE].press || _key_table[REDKEY_PAD_POINT].press));
|
||||
}
|
||||
|
||||
void Application::send_key_down(RedKey key)
|
||||
{
|
||||
_key_handler->on_key_down(get_make_scan_code(key));
|
||||
|
||||
@ -206,7 +206,6 @@ private:
|
||||
void menu_item_callback(unsigned int item_id);
|
||||
int get_hotkeys_commnad();
|
||||
bool is_key_set_pressed(const HotkeySet& key_set);
|
||||
bool is_cad_pressed();
|
||||
void do_on_key_up(RedKey key);
|
||||
void __remove_key_handler(KeyHandler& handler);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user