summaryrefslogtreecommitdiff
path: root/src/gui/desktop.h
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2017-07-01 20:10:14 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2017-07-01 20:10:14 +0200
commit85df1646ecccc7e484e2efc903166b89e4c55684 (patch)
tree66bb29f09354a3a9bb7b448dfc10929f27d0210e /src/gui/desktop.h
parent8fa1c09199378f86ca7c3fc4b844bd272926cdf6 (diff)
downloadabaos-85df1646ecccc7e484e2efc903166b89e4c55684.tar.gz
abaos-85df1646ecccc7e484e2efc903166b89e4c55684.tar.bz2
fixed get_focus error in widget (called the wrong parent)
the text widget reacts to mouse down and key events and appends text to the output buffer so we have text input in GUI mode
Diffstat (limited to 'src/gui/desktop.h')
-rw-r--r--src/gui/desktop.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/desktop.h b/src/gui/desktop.h
index a9d1946..f644691 100644
--- a/src/gui/desktop.h
+++ b/src/gui/desktop.h
@@ -25,5 +25,6 @@ void desktop_draw( void *obj, graphics_context_t *context );
void desktop_on_mouse_down( void *obj, const int x, const int y );
void desktop_on_mouse_up( void *obj, const int x, const int y );
void desktop_on_mouse_move( void *obj, const int old_x, const int old_y, const int x, const int y );
+void desktop_on_key_down( void *obj, char c );
#endif // DESKTOP_H