diff options
author | Stijn Buys <ingar@osirion.org> | 2009-05-30 09:55:13 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2009-05-30 09:55:13 +0000 |
commit | a0cb9f0208b5ecdffdd9328d5305ed99e7cbd5e6 (patch) | |
tree | 118afd7b47facfa0952838e1ed355f057da7c4fd /src/client/hud.h | |
parent | 5f024a1e9293a2644a4a87039ab3e318bba0f42c (diff) |
HUD keypress event
Diffstat (limited to 'src/client/hud.h')
-rw-r--r-- | src/client/hud.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/hud.h b/src/client/hud.h index 23fa544..d89450f 100644 --- a/src/client/hud.h +++ b/src/client/hud.h @@ -33,6 +33,9 @@ protected: /// rearrange child widgets virtual void resize(); + /// receive keyboard events + virtual bool on_keypress(const int key, const unsigned int modifier); + private: void draw_offscreen_target(core::Entity *entity, bool is_active_target); |