navit  0.5.1-trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Groups
graphics_opengl.h
Go to the documentation of this file.
3 
4 
7  void *(*get_display)(struct graphics_opengl_window_system *);
8  void *(*get_window)(struct graphics_opengl_window_system *);
9  void (*set_callbacks)(struct graphics_opengl_window_system *, void *data, void *resize, void *button, void *motion, void *keypress);
10 };
11 
13  void (*destroy)(struct graphics_opengl_platform *);
15 };
16 
17 struct graphics_opengl_window_system *graphics_opengl_x11_new(void *displayname, int w, int h, int depth, struct graphics_opengl_window_system_methods **methods);
struct graphics_opengl_platform * graphics_opengl_egl_new(void *display, void *window, struct graphics_opengl_platform_methods **methods)
Definition: graphics_opengl_egl.c:56
void(* swap_buffers)(struct graphics_opengl_platform *)
Definition: graphics_opengl.h:14
void(* set_callbacks)(struct graphics_opengl_window_system *, void *data, void *resize, void *button, void *motion, void *keypress)
Definition: graphics_opengl.h:9
Definition: graphics_egl.c:110
Definition: graphics_opengl.h:12
void(* motion)(void *data, int x, int y)
Definition: graphics_opengl_x11.c:20
static struct font_freetype_methods methods
Definition: font_freetype.c:641
void(* resize)(void *data, int w, int h)
Definition: graphics_opengl_x11.c:18
void(* button)(void *data, int button, int state, int x, int y)
Definition: graphics_opengl_x11.c:19
char data
Definition: garmin_img.c:354
void(* destroy)(struct graphics_opengl_platform *)
Definition: graphics_opengl.h:13
static gint keypress(GtkWidget *widget, GdkEventKey *event, gpointer user_data)
Definition: graphics_gtk_drawing_area.c:763
Definition: graphics_opengl_x11.c:9
Definition: window.h:23
Definition: graphics_opengl.h:5
struct graphics_opengl_window_system * graphics_opengl_x11_new(void *displayname, int w, int h, int depth, struct graphics_opengl_window_system_methods **methods)
Definition: graphics_opengl_x11.c:117
static void display(void)
Definition: graphics_opengl.c:1650
void(* destroy)(struct graphics_opengl_window_system *)
Definition: graphics_opengl.h:6