| 261 | } |
| 262 | |
| 263 | bool KeypressEventsHandler::IsModifierSet(guint gdk_key) |
| 264 | { |
| 265 | list<XModifierKey>::iterator it = |
| 266 | find_if(modifiers_.begin(), modifiers_.end(), |
| 267 | bind2nd(mem_fun_ref(&XModifierKey::KeyMatches), gdk_key)); |
| 268 | |
| 269 | if (it == modifiers_.end()) { |
| 270 | return false; |
| 271 | } |
| 272 | |
| 273 | return it->get_toggle(); |
| 274 | } |
| 275 | |
| 276 | void KeypressEventsHandler::StoreModifierKeyState(guint gdk_mod_key) |
| 277 | { |
nothing calls this directly
no test coverage detected