|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include <X11/Xlib.h>#include <X11/Xutil.h>#include <unistd.h>#include <sys/time.h>#include <time.h>#include <errno.h>#include <strings.h>#include "rdesktop.h"#include "xproto.h"
Go to the source code of this file.
Classes | |
| struct | PropMotifWmHints |
| struct | PixelColour |
Macros | |
| #define | X_ConfigureWindow 12 |
| #define | MWM_HINTS_DECORATIONS (1L << 1) |
| #define | PROP_MOTIF_WM_HINTS_ELEMENTS 5 |
| #define | ON_ALL_SEAMLESS_WINDOWS(func, args) |
| #define | FILL_RECTANGLE(x, y, cx, cy) |
| #define | FILL_RECTANGLE_BACKSTORE(x, y, cx, cy) |
| #define | FILL_POLYGON(p, np) |
| #define | DRAW_ELLIPSE(x, y, cx, cy, m) |
| #define | TRANSLATE(col) ( This->server_depth != 8 ? translate_colour(This, col) : This->owncolmap ? col : This->xwin.colmap[col] ) |
| #define | SET_FOREGROUND(col) XSetForeground(This->display, This->xwin.gc, TRANSLATE(col)); |
| #define | SET_BACKGROUND(col) XSetBackground(This->display, This->xwin.gc, TRANSLATE(col)); |
| #define | SET_FUNCTION(rop2) { if (rop2 != ROP2_COPY) XSetFunction(This->display, This->xwin.gc, rop2_map[rop2]); } |
| #define | RESET_FUNCTION(rop2) { if (rop2 != ROP2_COPY) XSetFunction(This->display, This->xwin.gc, GXcopy); } |
| #define | SPLITCOLOUR15(colour, rv) |
| #define | SPLITCOLOUR16(colour, rv) |
| #define | SPLITCOLOUR24(colour, rv) |
| #define | MAKECOLOUR(pc) |
| #define | BSWAP16(x) { x = (((x & 0xff) << 8) | (x >> 8)); } |
| #define | BSWAP24(x) { x = (((x & 0xff) << 16) | (x >> 16) | (x & 0xff00)); } |
| #define | BSWAP32(x) |
| #define | BOUT16(o, x) { *(o++) = x >> 8; *(o++) = x; } |
| #define | BOUT24(o, x) { *(o++) = x >> 16; *(o++) = x >> 8; *(o++) = x; } |
| #define | BOUT32(o, x) { *(o++) = x >> 24; *(o++) = x >> 16; *(o++) = x >> 8; *(o++) = x; } |
| #define | LOUT16(o, x) { *(o++) = x; *(o++) = x >> 8; } |
| #define | LOUT24(o, x) { *(o++) = x; *(o++) = x >> 8; *(o++) = x >> 16; } |
| #define | LOUT32(o, x) { *(o++) = x; *(o++) = x >> 8; *(o++) = x >> 16; *(o++) = x >> 24; } |
| #define | UNROLL8(stm) { stm stm stm stm stm stm stm stm } |
| #define | REPEAT2(stm) |
| #define | REPEAT3(stm) |
| #define | REPEAT4(stm) |
| #define | MAKE_XCOLOR(xc, c) |
| #define | DO_GLYPH(ttext, idx) |
Variables | |
| static const int | rop2_map [] |
| static const uint8 | hatch_patterns [] |
| #define MAKECOLOUR | ( | pc | ) |
| #define REPEAT2 | ( | stm | ) |
| #define REPEAT3 | ( | stm | ) |
| #define REPEAT4 | ( | stm | ) |
| #define SPLITCOLOUR15 | ( | colour, | |
| rv | |||
| ) |
| #define SPLITCOLOUR16 | ( | colour, | |
| rv | |||
| ) |
| #define SPLITCOLOUR24 | ( | colour, | |
| rv | |||
| ) |
| #define TRANSLATE | ( | col | ) | ( This->server_depth != 8 ? translate_colour(This, col) : This->owncolmap ? col : This->xwin.colmap[col] ) |
Definition at line 1179 of file xwin.c.
Referenced by select_visual().
Definition at line 1549 of file xwin.c.
Referenced by ui_create_window(), and ui_seamless_create_window().
Definition at line 1538 of file xwin.c.
Referenced by ui_create_window(), and ui_seamless_create_window().
Definition at line 1751 of file xwin.c.
Referenced by xwin_process_events().
Definition at line 381 of file xwin.c.
Referenced by ui_create_window(), and ui_seamless_create_window().
|
static |
Definition at line 1191 of file xwin.c.
Referenced by ui_init().
Definition at line 211 of file xwin.c.
Referenced by xwin_process_events().
Definition at line 254 of file xwin.c.
Referenced by ui_select().
|
static |
Definition at line 352 of file xwin.c.
Referenced by ui_seamless_create_window().
Definition at line 159 of file xwin.c.
Referenced by ui_seamless_create_window(), ui_seamless_destroy_window(), ui_seamless_move_window(), ui_seamless_restack_window(), ui_seamless_setstate(), and ui_seamless_settitle().
Definition at line 172 of file xwin.c.
Referenced by sw_handle_restack(), and xwin_process_events().
Definition at line 301 of file xwin.c.
Referenced by xwin_process_events().
Definition at line 185 of file xwin.c.
Referenced by ui_deinit(), ui_seamless_destroy_group(), ui_seamless_destroy_window(), ui_seamless_syncbegin(), and ui_seamless_toggle().
|
static |
Definition at line 272 of file xwin.c.
Referenced by sw_handle_restack(), and ui_seamless_restack_window().
Definition at line 229 of file xwin.c.
Referenced by sw_check_timers().
|
static |
Definition at line 602 of file xwin.c.
Referenced by translate_image().
|
static |
Definition at line 639 of file xwin.c.
Referenced by translate_image().
|
static |
Definition at line 689 of file xwin.c.
Referenced by translate_image().
|
static |
Definition at line 740 of file xwin.c.
Referenced by translate_image().
|
static |
Definition at line 797 of file xwin.c.
Referenced by translate_image().
|
static |
Definition at line 867 of file xwin.c.
Referenced by translate_image().
|
static |
Definition at line 938 of file xwin.c.
Referenced by translate_image().
|
static |
Definition at line 963 of file xwin.c.
Referenced by translate_image().
|
static |
Definition at line 996 of file xwin.c.
Referenced by translate_image().
|
static |
Definition at line 512 of file xwin.c.
Referenced by translate_image().
|
static |
Definition at line 546 of file xwin.c.
Referenced by translate_image().
|
static |
Definition at line 569 of file xwin.c.
Referenced by translate_image().
Definition at line 445 of file xwin.c.
Definition at line 1051 of file xwin.c.
Referenced by ui_create_bitmap(), and ui_paint_bitmap().
Definition at line 2192 of file xwin.c.
| HCOLOURMAP ui_create_colourmap | ( | RDPCLIENT * | This, |
| COLOURMAP * | colours | ||
| ) |
Definition at line 2404 of file xwin.c.
| HCURSOR ui_create_cursor | ( | RDPCLIENT * | This, |
| unsigned int | x, | ||
| unsigned int | y, | ||
| int | width, | ||
| int | height, | ||
| uint8 * | andmask, | ||
| uint8 * | xormask | ||
| ) |
Definition at line 2306 of file xwin.c.
Referenced by ui_create_window().
Definition at line 2275 of file xwin.c.
Referenced by ui_create_cursor(), ui_ellipse(), ui_patblt(), and ui_polygon().
Definition at line 1565 of file xwin.c.
Definition at line 1510 of file xwin.c.
Definition at line 3083 of file xwin.c.
Definition at line 3059 of file xwin.c.
| void ui_destroy_colourmap | ( | RDPCLIENT * | This, |
| HCOLOURMAP | map | ||
| ) |
Definition at line 2385 of file xwin.c.
Referenced by ui_deinit().
Definition at line 2300 of file xwin.c.
Referenced by ui_create_cursor(), ui_ellipse(), ui_patblt(), and ui_polygon().
| void ui_draw_glyph | ( | RDPCLIENT * | This, |
| int | mixmode, | ||
| int | x, | ||
| int | y, | ||
| int | cx, | ||
| int | cy, | ||
| HGLYPH | glyph, | ||
| int | srcx, | ||
| int | srcy, | ||
| int | bgcolour, | ||
| int | fgcolour | ||
| ) |
Definition at line 2880 of file xwin.c.
| void ui_draw_text | ( | RDPCLIENT * | This, |
| uint8 | font, | ||
| uint8 | flags, | ||
| uint8 | opcode, | ||
| int | mixmode, | ||
| int | x, | ||
| int | y, | ||
| int | clipx, | ||
| int | clipy, | ||
| int | clipcx, | ||
| int | clipcy, | ||
| int | boxx, | ||
| int | boxy, | ||
| int | boxcx, | ||
| int | boxcy, | ||
| BRUSH * | brush, | ||
| int | bgcolour, | ||
| int | fgcolour, | ||
| uint8 * | text, | ||
| uint8 | length | ||
| ) |
Definition at line 2933 of file xwin.c.
| void ui_ellipse | ( | RDPCLIENT * | This, |
| uint8 | opcode, | ||
| uint8 | fillmode, | ||
| int | x, | ||
| int | y, | ||
| int | cx, | ||
| int | cy, | ||
| BRUSH * | brush, | ||
| int | bgcolour, | ||
| int | fgcolour | ||
| ) |
Definition at line 2820 of file xwin.c.
Definition at line 1399 of file xwin.c.
| void ui_line | ( | RDPCLIENT * | This, |
| uint8 | opcode, | ||
| int | startx, | ||
| int | starty, | ||
| int | endx, | ||
| int | endy, | ||
| PEN * | pen | ||
| ) |
Definition at line 2705 of file xwin.c.
| void ui_memblt | ( | RDPCLIENT * | This, |
| uint8 | opcode, | ||
| int | x, | ||
| int | y, | ||
| int | cx, | ||
| int | cy, | ||
| HBITMAP | src, | ||
| int | srcx, | ||
| int | srcy | ||
| ) |
Definition at line 2657 of file xwin.c.
Referenced by ui_triblt().
| void ui_paint_bitmap | ( | RDPCLIENT * | This, |
| int | x, | ||
| int | y, | ||
| int | cx, | ||
| int | cy, | ||
| int | width, | ||
| int | height, | ||
| uint8 * | data | ||
| ) |
Definition at line 2225 of file xwin.c.
| void ui_patblt | ( | RDPCLIENT * | This, |
| uint8 | opcode, | ||
| int | x, | ||
| int | y, | ||
| int | cx, | ||
| int | cy, | ||
| BRUSH * | brush, | ||
| int | bgcolour, | ||
| int | fgcolour | ||
| ) |
Definition at line 2574 of file xwin.c.
Referenced by ui_triblt().
| void ui_polygon | ( | RDPCLIENT * | This, |
| uint8 | opcode, | ||
| uint8 | fillmode, | ||
| POINT * | point, | ||
| int | npoints, | ||
| BRUSH * | brush, | ||
| int | bgcolour, | ||
| int | fgcolour | ||
| ) |
Definition at line 2730 of file xwin.c.
Definition at line 2801 of file xwin.c.
Definition at line 1680 of file xwin.c.
| void ui_screenblt | ( | RDPCLIENT * | This, |
| uint8 | opcode, | ||
| int | x, | ||
| int | y, | ||
| int | cx, | ||
| int | cy, | ||
| int | srcx, | ||
| int | srcy | ||
| ) |
Definition at line 2633 of file xwin.c.
Definition at line 3545 of file xwin.c.
| void ui_seamless_create_window | ( | RDPCLIENT * | This, |
| unsigned long | id, | ||
| unsigned long | group, | ||
| unsigned long | parent, | ||
| unsigned long | flags | ||
| ) |
Definition at line 3209 of file xwin.c.
| void ui_seamless_move_window | ( | RDPCLIENT * | This, |
| unsigned long | id, | ||
| int | x, | ||
| int | y, | ||
| int | width, | ||
| int | height, | ||
| unsigned long | flags | ||
| ) |
Definition at line 3372 of file xwin.c.
| void ui_seamless_restack_window | ( | RDPCLIENT * | This, |
| unsigned long | id, | ||
| unsigned long | behind, | ||
| unsigned long | flags | ||
| ) |
Definition at line 3414 of file xwin.c.
| void ui_seamless_setstate | ( | RDPCLIENT * | This, |
| unsigned long | id, | ||
| unsigned int | state, | ||
| unsigned long | flags | ||
| ) |
Definition at line 3477 of file xwin.c.
| void ui_seamless_settitle | ( | RDPCLIENT * | This, |
| unsigned long | id, | ||
| const char * | title, | ||
| unsigned long | flags | ||
| ) |
Definition at line 2120 of file xwin.c.
| void ui_set_colourmap | ( | RDPCLIENT * | This, |
| HCOLOURMAP | map | ||
| ) |
| void ui_triblt | ( | RDPCLIENT * | This, |
| uint8 | opcode, | ||
| int | x, | ||
| int | y, | ||
| int | cx, | ||
| int | cy, | ||
| HBITMAP | src, | ||
| int | srcx, | ||
| int | srcy, | ||
| BRUSH * | brush, | ||
| int | bgcolour, | ||
| int | fgcolour | ||
| ) |
Definition at line 2672 of file xwin.c.
Definition at line 1835 of file xwin.c.
Referenced by ui_select().
Definition at line 1722 of file xwin.c.
Definition at line 2564 of file xwin.c.
Referenced by ui_ellipse(), ui_patblt(), and ui_polygon().