Search
lxdream.org :: lxdream/src/drivers/video_gtk.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/drivers/video_gtk.c
changeset 669:ab344e42bca9
prev665:99ae9dc4cab7
next677:3ee62740ff8f
author nkeynes
date Mon May 12 10:00:13 2008 +0000 (13 years ago)
permissions -rw-r--r--
last change Cleanup most of the -Wall warnings (getting a bit sloppy...)
Convert FP code to use fixed banks rather than indirect pointer
(3-4% faster this way now)
file annotate diff log raw
1.1 --- a/src/drivers/video_gtk.c Sat Apr 19 00:36:36 2008 +0000
1.2 +++ b/src/drivers/video_gtk.c Mon May 12 10:00:13 2008 +0000
1.3 @@ -23,6 +23,7 @@
1.4 #include "display.h"
1.5 #include "dckeysyms.h"
1.6 #include "drivers/video_gl.h"
1.7 +#include "drivers/joy_linux.h"
1.8 #include "pvr2/pvr2.h"
1.9 #include "gtkui/gtkui.h"
1.10
1.11 @@ -120,7 +121,7 @@
1.12
1.13 gboolean video_gtk_init();
1.14 void video_gtk_shutdown();
1.15 -gboolean video_gtk_display_blank( uint32_t colour );
1.16 +void video_gtk_display_blank( uint32_t colour );
1.17 uint16_t video_gtk_resolve_keysym( const gchar *keysym );
1.18 uint16_t video_gtk_keycode_to_dckeysym(uint16_t keycode);
1.19
1.20 @@ -304,7 +305,7 @@
1.21 return TRUE;
1.22 }
1.23
1.24 -gboolean video_gtk_display_blank( uint32_t colour )
1.25 +void video_gtk_display_blank( uint32_t colour )
1.26 {
1.27 GdkGC *gc = gdk_gc_new(gtk_video_drawable->window);
1.28 GdkColor color = {0, ((colour>>16)&0xFF)*257, ((colour>>8)&0xFF)*257, ((colour)&0xFF)*257 };
.