Search
lxdream.org :: lxdream/src/gtkui/gtkui.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gtkui/gtkui.h
changeset 608:4f588e52bce0
prev561:533f6b478071
next618:3ade50e8603c
author nkeynes
date Sat Jan 26 02:45:27 2008 +0000 (13 years ago)
permissions -rw-r--r--
last change Bug #50: Implement mouse and keyboard
file annotate diff log raw
1.1 --- a/src/gtkui/gtkui.h Tue Jan 01 05:08:38 2008 +0000
1.2 +++ b/src/gtkui/gtkui.h Sat Jan 26 02:45:27 2008 +0000
1.3 @@ -44,6 +44,7 @@
1.4 void main_window_set_framerate( main_window_t win, float rate );
1.5 void main_window_set_speed( main_window_t win, double speed );
1.6 void main_window_set_fullscreen( main_window_t win, gboolean fullscreen );
1.7 +void main_window_set_use_grab( main_window_t win, gboolean grab );
1.8
1.9 debug_window_t debug_window_new( const gchar *title, GtkWidget *menubar,
1.10 GtkWidget *toolbar, GtkAccelGroup *accel );
1.11 @@ -82,6 +83,13 @@
1.12 typedef gboolean (*file_callback_t)( const gchar *filename );
1.13 void open_file_dialog( char *title, file_callback_t action, char *pattern, char *patname,
1.14 gchar const *initial_dir );
1.15 +/**
1.16 + * Extract the keyval of the key event if no modifier keys were pressed -
1.17 + * in other words get the keyval of the key by itself. The other way around
1.18 + * would be to use the hardware keysyms directly rather than the keyvals,
1.19 + * but the mapping looks to be messier.
1.20 + */
1.21 +uint16_t gtk_get_unmodified_keyval( GdkEventKey *event );
1.22
1.23 /**
1.24 * Construct a new pixbuf that takes ownership of the frame buffer
.