summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBradley Smith2008-03-12 17:10:36 +0000
committerBradley Smith2008-03-12 17:10:36 +0000
commitc03fe0d1dc69b0322853d4ca4862ece10d942f66 (patch)
tree0819aa93ef75eb9c3aefc0e67deefac5d3694a08 /include
parentRemove sign hack. (diff)
downloadgnurobots-c03fe0d1dc69b0322853d4ca4862ece10d942f66.tar.gz
Make UI update in a loop, and thread out input.
Signed-off-by: Bradley Smith <brad@brad-smith.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/userinterface.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/userinterface.h b/include/userinterface.h
index ef86f74..c67d364 100644
--- a/include/userinterface.h
+++ b/include/userinterface.h
@@ -53,6 +53,7 @@ struct _UserInterfaceClass {
gint y,
gint thing);
+ void (* user_interface_run) (UserInterface *ui);
void (* user_interface_draw) (UserInterface *ui);
void (* user_interface_update_status) (UserInterface *ui,
@@ -134,6 +135,7 @@ void user_interface_add_thing (UserInterface *ui,
gint y,
gint thing);
+void user_interface_run (UserInterface *ui);
void user_interface_draw (UserInterface *ui);
void user_interface_update_status (UserInterface *ui,