summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/sdl/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/sdl/window.h')
-rw-r--r--src/osd/sdl/window.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/osd/sdl/window.h b/src/osd/sdl/window.h
index 527c587764e..0a99870675f 100644
--- a/src/osd/sdl/window.h
+++ b/src/osd/sdl/window.h
@@ -89,7 +89,9 @@ private:
int m_extra_flags;
- static OSDWORK_CALLBACK( complete_create_wt );
+ // returns 0 on success, else 1
+ int complete_create();
+ void complete_destroy();
private:
int wnd_extra_width();
@@ -108,15 +110,6 @@ private:
osd_monitor_info * m_monitor;
int m_fullscreen;
- // static callbacks ...
-
- static OSDWORK_CALLBACK( sdlwindow_resize_wt );
- static OSDWORK_CALLBACK( draw_video_contents_wt );
- static OSDWORK_CALLBACK( sdlwindow_video_window_destroy_wt );
- static OSDWORK_CALLBACK( sdlwindow_toggle_full_screen_wt );
- static OSDWORK_CALLBACK( notify_changed_wt );
- static OSDWORK_CALLBACK( update_cursor_state_wt );
-
void measure_fps(int update);
};