mirror of
https://github.com/holub/mame
synced 2025-04-25 09:50:04 +03:00
Merge pull request #5379 from npwoods/draw_video_contents_take_bool
Changing win_window_info::draw_video_contents()'s update parameter to be bool
This commit is contained in:
commit
675e613c70
@ -525,7 +525,7 @@ void uwp_window_info::update()
|
||||
|
||||
// Actually perform the redraw
|
||||
m_primlist = primlist;
|
||||
draw_video_contents(FALSE);
|
||||
draw_video_contents(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -535,7 +535,7 @@ void uwp_window_info::update()
|
||||
// (window thread)
|
||||
//============================================================
|
||||
|
||||
void uwp_window_info::draw_video_contents(int update)
|
||||
void uwp_window_info::draw_video_contents(bool update)
|
||||
{
|
||||
assert(GetCurrentThreadId() == window_threadid);
|
||||
|
||||
|
@ -112,7 +112,7 @@ public:
|
||||
|
||||
private:
|
||||
int complete_create();
|
||||
void draw_video_contents(int update);
|
||||
void draw_video_contents(bool update);
|
||||
void set_starting_view(int index, const char *defview, const char *view);
|
||||
int wnd_extra_width();
|
||||
int wnd_extra_height();
|
||||
|
@ -1147,7 +1147,7 @@ LRESULT CALLBACK win_window_info::video_window_proc(HWND wnd, UINT message, WPAR
|
||||
{
|
||||
PAINTSTRUCT pstruct;
|
||||
HDC hdc = BeginPaint(wnd, &pstruct);
|
||||
window->draw_video_contents(hdc, TRUE);
|
||||
window->draw_video_contents(hdc, true);
|
||||
if (window->win_has_menu())
|
||||
DrawMenuBar(window->platform_window());
|
||||
EndPaint(wnd, &pstruct);
|
||||
@ -1307,7 +1307,7 @@ LRESULT CALLBACK win_window_info::video_window_proc(HWND wnd, UINT message, WPAR
|
||||
HDC hdc = GetDC(wnd);
|
||||
|
||||
window->m_primlist = (render_primitive_list *)lparam;
|
||||
window->draw_video_contents(hdc, FALSE);
|
||||
window->draw_video_contents(hdc, false);
|
||||
|
||||
ReleaseDC(wnd, hdc);
|
||||
break;
|
||||
@ -1362,7 +1362,7 @@ LRESULT CALLBACK win_window_info::video_window_proc(HWND wnd, UINT message, WPAR
|
||||
// (window thread)
|
||||
//============================================================
|
||||
|
||||
void win_window_info::draw_video_contents(HDC dc, int update)
|
||||
void win_window_info::draw_video_contents(HDC dc, bool update)
|
||||
{
|
||||
assert(GetCurrentThreadId() == window_threadid);
|
||||
|
||||
|
@ -122,7 +122,7 @@ public:
|
||||
int m_lastclicky;
|
||||
|
||||
private:
|
||||
void draw_video_contents(HDC dc, int update);
|
||||
void draw_video_contents(HDC dc, bool update);
|
||||
int complete_create();
|
||||
void set_starting_view(int index, const char *defview, const char *view);
|
||||
int wnd_extra_width();
|
||||
|
Loading…
Reference in New Issue
Block a user