Mercurial > mplayer.hg
comparison gui/wm/ws.h @ 35355:c8478a499a17
Pass big parameter by reference rather than by value.
Additionally, add a doxygen comment.
author | ib |
---|---|
date | Fri, 23 Nov 2012 09:20:49 +0000 |
parents | b03481253518 |
children | 90d181c052e5 |
comparison
equal
deleted
inserted
replaced
35354:2ce3d21157ed | 35355:c8478a499a17 |
---|---|
232 void wsCreateWindow(wsTWindow *win, int X, int Y, int wX, int hY, int bW, int cV, unsigned char D, char *label); | 232 void wsCreateWindow(wsTWindow *win, int X, int Y, int wX, int hY, int bW, int cV, unsigned char D, char *label); |
233 void wsDestroyWindow(wsTWindow *win); | 233 void wsDestroyWindow(wsTWindow *win); |
234 void wsMoveWindow(wsTWindow *win, Bool abs, int x, int y); | 234 void wsMoveWindow(wsTWindow *win, Bool abs, int x, int y); |
235 void wsMoveWindowWithin(wsTWindow *win, Bool abs, int x, int y); | 235 void wsMoveWindowWithin(wsTWindow *win, Bool abs, int x, int y); |
236 void wsResizeWindow(wsTWindow *win, int sx, int sy); | 236 void wsResizeWindow(wsTWindow *win, int sx, int sy); |
237 void wsIconify(wsTWindow win); | 237 void wsIconify(wsTWindow *win); |
238 void wsRaiseWindowTop(Display *dpy, Window win); | 238 void wsRaiseWindowTop(Display *dpy, Window win); |
239 void wsSetBackground(wsTWindow *win, int color); | 239 void wsSetBackground(wsTWindow *win, int color); |
240 void wsSetForegroundRGB(wsTWindow *win, int r, int g, int b); | 240 void wsSetForegroundRGB(wsTWindow *win, int r, int g, int b); |
241 void wsSetBackgroundRGB(wsTWindow *win, int r, int g, int b); | 241 void wsSetBackgroundRGB(wsTWindow *win, int r, int g, int b); |
242 #define wsClearWindow(win) XClearWindow(wsDisplay, win.WindowID) | 242 #define wsClearWindow(win) XClearWindow(wsDisplay, win.WindowID) |