diff options
author | couriersud <couriersud@arcor.de> | 2015-02-27 01:42:50 +0100 |
---|---|---|
committer | couriersud <couriersud@arcor.de> | 2015-02-27 01:42:50 +0100 |
commit | 50d7d0f8ada64fc65cd1c286894bbd69cc414bb0 (patch) | |
tree | 2e23d31d58c8ab81cf15f95a6e12b03b23cdc3e4 /src/osd/windows/window.h | |
parent | dae49b998a41caaac33f3640dd8036b0029ec6b5 (diff) |
Fixed windows baseline build.
More osd_dim use. (nw)
Diffstat (limited to 'src/osd/windows/window.h')
-rw-r--r-- | src/osd/windows/window.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/osd/windows/window.h b/src/osd/windows/window.h index 7b60c953bba..bb7fb779aa2 100644 --- a/src/osd/windows/window.h +++ b/src/osd/windows/window.h @@ -53,12 +53,11 @@ public: return GetMenu(m_hwnd) ? true : false; } - /* virtual */ void get_size(int &w, int &h) + /* virtual */ osd_dim get_size() { RECT client; GetClientRect(m_hwnd, &client); - w = client.right - client.left; - h = client.bottom - client.top; + return osd_dim(client.right - client.left, client.bottom - client.top); } win_monitor_info *monitor() const { return m_monitor; } @@ -110,7 +109,7 @@ public: private: void draw_video_contents(HDC dc, int update); int complete_create(); - void set_starting_view(int index, const char *view); + void set_starting_view(int index, const char *defview, const char *view); int wnd_extra_width(); int wnd_extra_height(); osd_rect constrain_to_aspect_ratio(const osd_rect &rect, int adjustment); |