filename | src/gtkui/gtkui.h |
changeset | 618:3ade50e8603c |
prev | 608:4f588e52bce0 |
next | 630:50addb748df5 |
author | nkeynes |
date | Thu Feb 14 13:54:11 2008 +0000 (16 years ago) |
branch | lxdream-render |
permissions | -rw-r--r-- |
last change | Commit render work in progress. Main changes: * Preliminary OSMesa support * Move the generic gl code out to pvr2/ * Implement scene data structure + reader * Remove the 1/z adjustments |
file | annotate | diff | log | raw |
1.1 --- a/src/gtkui/gtkui.h Sat Jan 26 02:45:27 2008 +00001.2 +++ b/src/gtkui/gtkui.h Thu Feb 14 13:54:11 2008 +00001.3 @@ -92,6 +92,15 @@1.4 uint16_t gtk_get_unmodified_keyval( GdkEventKey *event );1.6 /**1.7 + * Map a hardware keycode (not keyval) to a modifier state mask.1.8 + * @param display The display (containing the modifier map)1.9 + * @param keycde The hardware keycode to map1.10 + * @return The modifier mask (eg GDK_CONTROL_MASK) or 0 if the keycode1.11 + * is not recognized as a modifier key.1.12 + */1.13 +guint gdk_keycode_to_modifier( GdkDisplay *display, guint keycode );1.14 +1.15 +/**1.16 * Construct a new pixbuf that takes ownership of the frame buffer1.17 */1.18 GdkPixbuf *gdk_pixbuf_new_from_frame_buffer( frame_buffer_t buffer );
.