Mercurial > mplayer.hg
comparison gui/wm/ws.h @ 33999:3cf824f66821
Cosmetic: Rename all Display parameters dsp dpy.
author | ib |
---|---|
date | Fri, 09 Sep 2011 13:13:57 +0000 |
parents | ca20e4098c1d |
children | 66c5a04a5c32 |
comparison
equal
deleted
inserted
replaced
33998:ca20e4098c1d | 33999:3cf824f66821 |
---|---|
231 void wsDestroyWindow(wsTWindow *win); | 231 void wsDestroyWindow(wsTWindow *win); |
232 void wsMoveWindow(wsTWindow *win, Bool abs, int x, int y); | 232 void wsMoveWindow(wsTWindow *win, Bool abs, int x, int y); |
233 void wsMoveWindowWithin(wsTWindow *win, Bool abs, int x, int y); | 233 void wsMoveWindowWithin(wsTWindow *win, Bool abs, int x, int y); |
234 void wsResizeWindow(wsTWindow *win, int sx, int sy); | 234 void wsResizeWindow(wsTWindow *win, int sx, int sy); |
235 void wsIconify(wsTWindow win); | 235 void wsIconify(wsTWindow win); |
236 void wsRaiseWindowTop(Display *dsp, Window win); | 236 void wsRaiseWindowTop(Display *dpy, Window win); |
237 void wsSetBackground(wsTWindow *win, int color); | 237 void wsSetBackground(wsTWindow *win, int color); |
238 void wsSetForegroundRGB(wsTWindow *win, int r, int g, int b); | 238 void wsSetForegroundRGB(wsTWindow *win, int r, int g, int b); |
239 void wsSetBackgroundRGB(wsTWindow *win, int r, int g, int b); | 239 void wsSetBackgroundRGB(wsTWindow *win, int r, int g, int b); |
240 #define wsClearWindow(win) XClearWindow(wsDisplay, win.WindowID) | 240 #define wsClearWindow(win) XClearWindow(wsDisplay, win.WindowID) |
241 void wsSetTitle(wsTWindow *win, char *name); | 241 void wsSetTitle(wsTWindow *win, char *name); |
243 void wsWindowDecoration(wsTWindow *win, long d); | 243 void wsWindowDecoration(wsTWindow *win, long d); |
244 void wsSetLayer(Display *wsDisplay, Window win, int layer); | 244 void wsSetLayer(Display *wsDisplay, Window win, int layer); |
245 void wsFullScreen(wsTWindow *win); | 245 void wsFullScreen(wsTWindow *win); |
246 void wsPostRedisplay(wsTWindow *win); | 246 void wsPostRedisplay(wsTWindow *win); |
247 void wsSetShape(wsTWindow *win, char *data); | 247 void wsSetShape(wsTWindow *win, char *data); |
248 void wsSetIcon(Display *dsp, Window win, guiIcon_t *icon); | 248 void wsSetIcon(Display *dpy, Window win, guiIcon_t *icon); |
249 | 249 |
250 // ---------------------------------------------------------------------------------------------- | 250 // ---------------------------------------------------------------------------------------------- |
251 // Draw string at x,y with fc ( foreground color ) and bc ( background color ). | 251 // Draw string at x,y with fc ( foreground color ) and bc ( background color ). |
252 // ---------------------------------------------------------------------------------------------- | 252 // ---------------------------------------------------------------------------------------------- |
253 void wsDrawString(wsTWindow win, int x, int y, char *str, int fc, int bc); | 253 void wsDrawString(wsTWindow win, int x, int y, char *str, int fc, int bc); |