remove unuse Application::is_cad_pressed()

This commit is contained in:
Yaniv Kamay 2009-11-16 22:38:55 +02:00
parent 6f4736e08b
commit 4f2e36f08a
2 changed files with 0 additions and 8 deletions

View File

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

View File

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