diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-12-04 08:47:57 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-12-04 08:47:57 +0000 |
| commit | a21c0c55ca06fed3882f2417a8e0862f314dd434 (patch) | |
| tree | 38ed632f0bb030712d3aff1b1abd8b48085b3f7c /src/actions.hh | |
| parent | 73f7a0bd69607663050f02acf121f40a739d9619 (diff) | |
handle keyboard input
Diffstat (limited to 'src/actions.hh')
| -rw-r--r-- | src/actions.hh | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/actions.hh b/src/actions.hh index 09e76c4e..b2d03ead 100644 --- a/src/actions.hh +++ b/src/actions.hh @@ -48,6 +48,8 @@ public: virtual void enterHandler(const XCrossingEvent &e); virtual void leaveHandler(const XCrossingEvent &e); + virtual void keyPressHandler(const XKeyEvent &e); + //! Notify that a mouse drag is taking place. /*! @param win The window the drag is on @@ -56,14 +58,6 @@ public: */ void drag(Window win, otk::Point delta, unsigned int modifiers, unsigned int button, Time time); - - //! Notify that a key press has occured on a window. - /*! - @param win The window the key press was on - @param modifiers The modifier state for the action. - @param keycode The keycode of the key pressed. - */ - void key(Window win, unsigned int modifiers, unsigned int keycode); }; } |
