comparison gui/wm/ws.h @ 35357:80fe9ad7f318

Pass guiApp's wsTWindow parameters always by reference (if possible). (This isn't possible for wsSetIcon(), wsSetLayer() and wsRaiseWindowTop() by the way, because these need to be called with a GDK window ID information.)
author ib
date Fri, 23 Nov 2012 10:04:26 +0000
parents 90d181c052e5
children 31a5320909f7
comparison
equal deleted inserted replaced
35356:90d181c052e5 35357:80fe9ad7f318
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)
243 void wsSetTitle(wsTWindow *win, char *name); 243 void wsSetTitle(wsTWindow *win, char *name);
244 void wsVisibleWindow(wsTWindow *win, int show); 244 void wsVisibleWindow(wsTWindow *win, int show);
245 void wsWindowDecoration(wsTWindow *win, long d); 245 void wsWindowDecoration(wsTWindow *win, long d);
246 void wsSetLayer(Display *wsDisplay, Window win, int layer); 246 void wsSetLayer(Display *wsDisplay, Window win, int layer);
247 void wsFullScreen(wsTWindow *win); 247 void wsFullScreen(wsTWindow *win);