| 249 | } |
| 250 | |
| 251 | bool KeypressEventsHandler::IsModifierKey(wchar_t key) |
| 252 | { |
| 253 | bool is_modifier = false; |
| 254 | guint gdk_key_sym = translate_code_to_gdk_symbol(key); |
| 255 | for (list<XModifierKey>::iterator it = modifiers_.begin(); |
| 256 | it != modifiers_.end(); ++it) { |
| 257 | is_modifier |= it->KeyMatches(gdk_key_sym); |
| 258 | } |
| 259 | |
| 260 | return is_modifier; |
| 261 | } |
| 262 | |
| 263 | bool KeypressEventsHandler::IsModifierSet(guint gdk_key) |
| 264 | { |
nothing calls this directly
no test coverage detected