diff options
author | couriersud <couriersud@arcor.de> | 2015-02-26 19:38:42 +0100 |
---|---|---|
committer | couriersud <couriersud@arcor.de> | 2015-02-26 19:38:42 +0100 |
commit | 4001dfe147078e0b98e881fdff2762291f5f5a25 (patch) | |
tree | 8a4619ba7b0c61c45b40607f4248aa40ea48e2ce /src/osd/windows/window.h | |
parent | 5fc8d523eca2ee983df074d57e12f0894b1e14d7 (diff) |
C++'d more of window.c (nw)
Diffstat (limited to 'src/osd/windows/window.h')
-rw-r--r-- | src/osd/windows/window.h | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/src/osd/windows/window.h b/src/osd/windows/window.h index d1486f755c5..6a32a8e4167 100644 --- a/src/osd/windows/window.h +++ b/src/osd/windows/window.h @@ -63,9 +63,16 @@ public: win_monitor_info *monitor() const { return m_monitor; } + void destroy(); + + // static + + static void create(running_machine &machine, int index, win_monitor_info *monitor, const osd_window_config *config); + // static callbacks static LRESULT CALLBACK video_window_proc(HWND wnd, UINT message, WPARAM wparam, LPARAM lparam); + static unsigned __stdcall thread_entry(void *param); // member variables @@ -102,6 +109,18 @@ public: private: void draw_video_contents(HDC dc, int update); + void set_starting_view(int index, const char *view); + int wnd_extra_width(); + int wnd_extra_height(); + int complete_create(); + void constrain_to_aspect_ratio(RECT *rect, int adjustment); + void get_min_bounds(RECT *bounds, int constrain); + void get_max_bounds(RECT *bounds, int constrain); + void update_minmax_state(); + void minimize_window(); + void maximize_window(); + void adjust_window_position_after_major_change(); + void set_fullscreen(int fullscreen); running_machine & m_machine; }; @@ -125,9 +144,6 @@ extern win_window_info *win_window_list; // PROTOTYPES //============================================================ -// creation/deletion of windows -void winwindow_video_window_create(running_machine &machine, int index, win_monitor_info *monitor, const osd_window_config *config); - BOOL winwindow_has_focus(void); void winwindow_update_cursor_state(running_machine &machine); |