Mercurial > mplayer.hg
comparison gui/wm/ws.h @ 35639:2e7f2ecaaf0b
Don't define a function by a macro.
Use a proper function definition.
author | ib |
---|---|
date | Thu, 10 Jan 2013 20:52:37 +0000 |
parents | 58d55c933757 |
children | 4aa0a4326dc8 |
comparison
equal
deleted
inserted
replaced
35638:78d9cfd68b34 | 35639:2e7f2ecaaf0b |
---|---|
240 void wsIconify(wsTWindow *win); | 240 void wsIconify(wsTWindow *win); |
241 void wsRaiseWindowTop(Display *display, Window Win); | 241 void wsRaiseWindowTop(Display *display, Window Win); |
242 void wsSetBackground(wsTWindow *win, int color); | 242 void wsSetBackground(wsTWindow *win, int color); |
243 void wsSetForegroundRGB(wsTWindow *win, int r, int g, int b); | 243 void wsSetForegroundRGB(wsTWindow *win, int r, int g, int b); |
244 void wsSetBackgroundRGB(wsTWindow *win, int r, int g, int b); | 244 void wsSetBackgroundRGB(wsTWindow *win, int r, int g, int b); |
245 #define wsClearWindow(win) XClearWindow(wsDisplay, (win)->WindowID) | 245 void wsClearWindow(wsTWindow *win); |
246 void wsSetTitle(wsTWindow *win, char *name); | 246 void wsSetTitle(wsTWindow *win, char *name); |
247 void wsVisibleWindow(wsTWindow *win, int show); | 247 void wsVisibleWindow(wsTWindow *win, int show); |
248 void wsWindowDecoration(wsTWindow *win, Bool decor); | 248 void wsWindowDecoration(wsTWindow *win, Bool decor); |
249 void wsSetLayer(Display *display, Window Win, int layer); | 249 void wsSetLayer(Display *display, Window Win, int layer); |
250 void wsFullScreen(wsTWindow *win); | 250 void wsFullScreen(wsTWindow *win); |