diff Framework/Widgets/IWidget.h @ 327:8716176ff7f0 am-2

added support for arrow keys
author am@osimis.io
date Tue, 16 Oct 2018 15:25:21 +0200
parents 8a86695fcbc3
children 7a364e44fbb4
line wrap: on
line diff
--- a/Framework/Widgets/IWidget.h	Tue Oct 16 12:57:38 2018 +0200
+++ b/Framework/Widgets/IWidget.h	Tue Oct 16 15:25:21 2018 +0200
@@ -64,7 +64,8 @@
                             int y,
                             KeyboardModifiers modifiers) = 0;
 
-    virtual void KeyPressed(char key,
+    virtual void KeyPressed(KeyboardKeys key,
+                            char keyChar,
                             KeyboardModifiers modifiers) = 0;
 
     virtual bool HasUpdateContent() const = 0;