Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2009-05-30 09:55:13 +0000
committerStijn Buys <ingar@osirion.org>2009-05-30 09:55:13 +0000
commita0cb9f0208b5ecdffdd9328d5305ed99e7cbd5e6 (patch)
tree118afd7b47facfa0952838e1ed355f057da7c4fd /src/client/hud.h
parent5f024a1e9293a2644a4a87039ab3e318bba0f42c (diff)
HUD keypress event
Diffstat (limited to 'src/client/hud.h')
-rw-r--r--src/client/hud.h3
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);