annotate Gui/wm/ws.h @ 2779:0ecadf56dc05

Eugene's fixes to work with QuickTime.qts
author arpi
date Fri, 09 Nov 2001 03:27:29 +0000
parents 016f6d583733
children b64fa5d25142
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
1
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
2 // ----------------------------------------------------------------------------------------------
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
3 // AutoSpace Window System for Linux/Win32 v0.61
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
4 // Writed by pontscho / fresh!mindworkz
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
5 // ----------------------------------------------------------------------------------------------
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
6
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
7 #ifndef __MY_WS
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
8 #define __MY_WS
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
9
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
10 #include <X11/Xlib.h>
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
11 #include <X11/Xutil.h>
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
12 #include <X11/keysym.h>
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
13 #include <X11/Xatom.h>
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
14 #include <X11/extensions/XShm.h>
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
15 #include <X11/extensions/dpms.h>
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
16
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
17 #define wsKeyReleased 0
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
18 #define wsKeyPressed 1
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
19
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
20 #define wsShift (1L<<0)
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
21 #define wsLock (1L<<1)
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
22 #define wsCtrl (1L<<2)
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
23 #define wsAlt (1L<<3)
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
24
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
25 #define wsPLMouseButton 1
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
26 #define wsPMMouseButton 2
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
27 #define wsPRMouseButton 3
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
28 #define wsRLMouseButton 1 + 128
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
29 #define wsRMMouseButton 2 + 128
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
30 #define wsRRMouseButton 3 + 128
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
31 #define wsEnterWindow 253
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
32 #define wsLeaveWindow 254
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
33 #define wsMoveMouse 255
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
34
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
35 #define wsShowMouseCursor 1
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
36 #define wsMouse 1
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
37 #define wsHideMouseCursor 0
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
38 #define wsNoMouse 0
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
39 #define wsHandleMouseButton 2
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
40 #define wsHandleMouseMove 4
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
41
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
42 #define wsHideFrame 0
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
43 #define wsNoFrame 0
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
44 #define wsShowFrame 1
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
45 #define wsFrame 1
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
46 #define wsMaxSize 2
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
47 #define wsMinSize 4
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
48 #define wsShowWindow 8
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
49 #define wsHideWindow 16
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
50 #define wsOverredirect 32
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
51
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
52 #define wsNoBorder 0
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
53
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
54 #define wsSysName "AutoSpace Window System LiTe"
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
55
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
56 #define wsRGB32 1
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
57 #define wsBGR32 2
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
58 #define wsRGB24 3
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
59 #define wsBGR24 4
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
60 #define wsRGB16 5
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
61 #define wsBGR16 6
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
62 #define wsRGB15 7
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
63 #define wsBGR15 8
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
64
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
65 #define wsWindowVisible 1
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
66 #define wsWindowPartialVisible 2
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
67 #define wsWindowNotVisible 4
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
68 #define wsWindowMapped 8
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
69 #define wsWindowUnmapped 16
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
70 #define wsWindowFocusIn 32
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
71 #define wsWindowFocusOut 64
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
72 #define wsWindowExpose 128
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
73 #define wsWindowRolled 256
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
74
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
75 #define wsNone 0
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
76 #define wsMapped 1
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
77 #define wsFocused 2
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
78 #define wsVisible 3
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
79 #define wsNotVisible 4
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
80 #define wsPVisible 5
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
81 #define wsRolled 6
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
82
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
83 #define wsParamDisplay Display *dpy,Window w
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
84
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
85 typedef void (*wsTReDraw)( wsParamDisplay );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
86 typedef void (*wsTReSize)( unsigned int X,unsigned int Y,unsigned int width,unsigned int height );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
87 typedef void (*wsTIdle)( void );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
88 typedef void (*wsTKeyHandler)( int State,int Type,int Key );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
89 typedef void (*wsTMouseHandler)( int Button,int X,int Y,int RX,int RY );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
90 typedef void (*wsRemoteHandler)( char * str );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
91
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
92 typedef struct
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
93 {
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
94 Window WindowID;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
95 Window Parent;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
96 int X,Y,Width,Height;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
97 int OldX,OldY,OldWidth,OldHeight;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
98 int MaxX,MaxY;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
99 int isFullScreen;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
100 int BorderWidth;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
101 int Property;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
102 unsigned char * bImage;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
103 XImage * xImage;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
104 Pixmap Mask;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
105 int Decorations;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
106
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
107 int State;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
108 int Visible;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
109 int Mapped;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
110 int Focused;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
111 int Rolled;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
112
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
113 wsTReDraw ReDraw;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
114 wsTReSize ReSize;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
115 wsTIdle Idle;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
116 wsTKeyHandler KeyHandler;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
117 wsTMouseHandler MouseHandler;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
118 wsRemoteHandler RemoteHandler;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
119
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
120 int Alt;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
121 int Shift;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
122 int Control;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
123 int NumLock;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
124 int CapsLock;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
125 // --- Misc -------------------------------------------------------------------------------------
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
126
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
127 Atom AtomDeleteWindow;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
128 Atom AtomTakeFocus;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
129 Atom AtomRolle;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
130 Atom AtomProtocols;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
131 Atom AtomsProtocols[3];
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
132 Atom AtomLeaderClient;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
133 Atom AtomRemote;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
134
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
135 XShmSegmentInfo Shminfo;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
136 unsigned char * ImageData;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
137 unsigned short int * ImageDataw;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
138 unsigned int * ImageDatadw;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
139 GC wGC;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
140 XGCValues wGCV;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
141 unsigned long WindowMask;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
142 XVisualInfo VisualInfo;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
143 XWindowAttributes Attribs;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
144 XSetWindowAttributes WindowAttrib;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
145 XSizeHints SizeHint;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
146 XWMHints WMHints;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
147
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
148 XFontStruct * Font;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
149 int FontHeight;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
150
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
151 Cursor wsCursor;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
152 char wsCursorData[1];
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
153 Pixmap wsCursorPixmap;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
154 int wsMouseEventType;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
155 XColor wsColor;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
156 } wsTWindow;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
157
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
158 extern unsigned int wsMaxX;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
159 extern unsigned int wsMaxY;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
160
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
161 extern Display * wsDisplay;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
162 extern int wsScreen;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
163 extern Window wsRootWin;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
164
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
165 extern unsigned char * wsImageData;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
166
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
167 extern XEvent wsEvent;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
168
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
169 extern int wsDepthOnScreen;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
170 extern int wsRedMask;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
171 extern int wsGreenMask;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
172 extern int wsBlueMask;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
173
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
174 extern int wsUseXShm;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
175 extern int wsUseDGA;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
176
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
177 // ----------------------------------------------------------------------------------------------
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
178 // wsKeyTable
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
179 // ----------------------------------------------------------------------------------------------
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
180 extern unsigned long wsKeyTable[512];
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
181
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
182 extern void wsXDone( void );
1723
5e4214a7540e GUI stuff. now seeking works, and xmga renders to video window
arpi
parents: 1693
diff changeset
183 extern void wsXInit( void* disp );
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
184
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
185 extern int wsGetDepthOnScreen( void );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
186
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
187 extern void wsDoExit( void );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
188 extern void wsMainLoop( void );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
189
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
190 // ----------------------------------------------------------------------------------------------
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
191 // wsCrateWindow: create a new window on the screen.
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
192 // X,Y : window position
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
193 // wX,hY : window size
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
194 // bW : window frame size
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
195 // cV : mouse cursor visible
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
196 // D : "decoration", visible titlebar, etc ...
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
197 // ----------------------------------------------------------------------------------------------
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
198 extern void wsCreateWindow( wsTWindow * win,int X,int Y,int wX,int hY,int bW,int cV,unsigned char D,char * label );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
199 extern void wsDestroyWindow( wsTWindow * win );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
200 extern void wsMoveWindow( wsTWindow * win,int x, int y );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
201 extern void wsResizeWindow( wsTWindow * win,int sx, int sy );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
202 extern void wsIconify( wsTWindow win );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
203 extern void wsMoveTopWindow( wsTWindow * win );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
204 extern void wsSetBackground( wsTWindow * win,int color );
1814
9c674dc76ff3 add wsSetForegroundRGB
pontscho
parents: 1723
diff changeset
205 extern void wsSetForegroundRGB( wsTWindow * win,int r,int g,int b );
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
206 extern void wsSetBackgroundRGB( wsTWindow * win,int r,int g,int b );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
207 #define wsClearWindow( win ); XClearWindow( wsDisplay,win.WindowID );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
208 extern void wsSetTitle( wsTWindow * win,char * name );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
209 extern void wsVisibleWindow( wsTWindow * win,int show );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
210 extern void wsWindowDecoration( wsTWindow * win,long d );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
211 extern void wsFullScreen( wsTWindow * win );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
212 extern void wsPostRedisplay( wsTWindow * win );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
213 extern void wsSetShape( wsTWindow * win,char * data );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
214
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
215 // ----------------------------------------------------------------------------------------------
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
216 // Draw string at x,y with fc ( foreground color ) and bc ( background color ).
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
217 // ----------------------------------------------------------------------------------------------
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
218 extern void wsDrawString( wsTWindow win,int x,int y,char * str,int fc,int bc );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
219 extern int wsTextWidth( wsTWindow win,char * str );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
220
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
221 // ----------------------------------------------------------------------------------------------
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
222 // Show / hide mouse cursor.
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
223 // ----------------------------------------------------------------------------------------------
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
224 extern void wsVisibleMouse( wsTWindow * win,int m );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
225 extern void wsSetMousePosition( wsTWindow * win,int x, int y );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
226
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
227 // ----------------------------------------------------------------------------------------------
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
228 // Image handling
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
229 // ----------------------------------------------------------------------------------------------
1858
88a88d0a3f94 fix skin changing, xv fullscreen redraw bug, etc.
pontscho
parents: 1853
diff changeset
230 extern void wsCreateImage( wsTWindow * win,int Width,int Height );
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
231 extern void wsConvert( wsTWindow * win,unsigned char * Image,unsigned int Size );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
232 extern void wsPutImage( wsTWindow * win );
1858
88a88d0a3f94 fix skin changing, xv fullscreen redraw bug, etc.
pontscho
parents: 1853
diff changeset
233 extern void wsResizeImage( wsTWindow * win,int Width,int Height );
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
234 extern void wsDestroyImage( wsTWindow * win );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
235 extern int wsGetOutMask( void );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
236
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
237 extern void wsScreenSaverOn( Display *mDisplay );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
238 extern void wsScreenSaverOff( Display * mDisplay );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
239
2082
016f6d583733 missing newlines fixed
arpi
parents: 1858
diff changeset
240 #endif
016f6d583733 missing newlines fixed
arpi
parents: 1858
diff changeset
241