217 |
} |
} |
218 |
|
|
219 |
BOOL |
BOOL |
220 |
ui_init() |
ui_init(void) |
221 |
{ |
{ |
222 |
XPixmapFormatValues *pfm; |
XPixmapFormatValues *pfm; |
223 |
uint16 test; |
uint16 test; |
293 |
} |
} |
294 |
|
|
295 |
void |
void |
296 |
ui_deinit() |
ui_deinit(void) |
297 |
{ |
{ |
298 |
if (IM != NULL) |
if (IM != NULL) |
299 |
XCloseIM(IM); |
XCloseIM(IM); |
307 |
} |
} |
308 |
|
|
309 |
BOOL |
BOOL |
310 |
ui_create_window() |
ui_create_window(void) |
311 |
{ |
{ |
312 |
XSetWindowAttributes attribs; |
XSetWindowAttributes attribs; |
313 |
XClassHint *classhints; |
XClassHint *classhints; |
381 |
} |
} |
382 |
|
|
383 |
void |
void |
384 |
ui_destroy_window() |
ui_destroy_window(void) |
385 |
{ |
{ |
386 |
if (IC != NULL) |
if (IC != NULL) |
387 |
XDestroyIC(IC); |
XDestroyIC(IC); |
390 |
} |
} |
391 |
|
|
392 |
void |
void |
393 |
xwin_toggle_fullscreen() |
xwin_toggle_fullscreen(void) |
394 |
{ |
{ |
395 |
Pixmap contents = 0; |
Pixmap contents = 0; |
396 |
|
|
416 |
|
|
417 |
/* Process all events in Xlib queue */ |
/* Process all events in Xlib queue */ |
418 |
static void |
static void |
419 |
xwin_process_events() |
xwin_process_events(void) |
420 |
{ |
{ |
421 |
XEvent xevent; |
XEvent xevent; |
422 |
KeySym keysym; |
KeySym keysym; |
852 |
} |
} |
853 |
|
|
854 |
void |
void |
855 |
ui_reset_clip() |
ui_reset_clip(void) |
856 |
{ |
{ |
857 |
XRectangle rect; |
XRectangle rect; |
858 |
|
|
864 |
} |
} |
865 |
|
|
866 |
void |
void |
867 |
ui_bell() |
ui_bell(void) |
868 |
{ |
{ |
869 |
XBell(display, 0); |
XBell(display, 0); |
870 |
} |
} |