Mercurial > mplayer.hg
diff gui/wm/ws.c @ 35760:1aedd24c032b
Cosmetic: Rename ReDraw DrawHandler.
author | ib |
---|---|
date | Thu, 24 Jan 2013 16:56:44 +0000 |
parents | afb55738b1b7 |
children | f96f37b4f5a1 |
line wrap: on
line diff
--- a/gui/wm/ws.c Thu Jan 24 16:49:53 2013 +0000 +++ b/gui/wm/ws.c Thu Jan 24 16:56:44 2013 +0000 @@ -434,8 +434,8 @@ expose: wsWindowList[l]->State = i; - if (wsWindowList[l]->ReDraw) - wsWindowList[l]->ReDraw(); + if (wsWindowList[l]->DrawHandler) + wsWindowList[l]->DrawHandler(); break; @@ -443,8 +443,8 @@ wsWindowList[l]->State = wsWindowExpose; - if ((wsWindowList[l]->ReDraw) && (!event->xexpose.count)) - wsWindowList[l]->ReDraw(); + if ((wsWindowList[l]->DrawHandler) && (!event->xexpose.count)) + wsWindowList[l]->DrawHandler(); break; @@ -923,7 +923,7 @@ XFlush(wsDisplay); XSync(wsDisplay, False); - win->ReDraw = NULL; + win->DrawHandler = NULL; win->MouseHandler = NULL; win->KeyHandler = NULL; mp_msg(MSGT_GPLAYER, MSGL_DBG2, "[ws] window is created. ( %s ).\n", label); @@ -938,7 +938,7 @@ if (l != -1) wsWindowList[l] = NULL; - win->ReDraw = NULL; + win->DrawHandler = NULL; win->MouseHandler = NULL; win->KeyHandler = NULL; win->DNDHandler = NULL; @@ -1310,9 +1310,9 @@ // ---------------------------------------------------------------------------------------------- void wsWindowRedraw(wsWindow *win) { - if (win->ReDraw) { + if (win->DrawHandler) { win->State = wsWindowExpose; - win->ReDraw(); + win->DrawHandler(); XFlush(wsDisplay); } }