ReactOS 0.4.16-dev-297-gc569aee
|
#include <qapplication.h>
#include <qcursor.h>
#include <qmainwindow.h>
#include <qwidget.h>
#include <qpainter.h>
#include <qimage.h>
#include <qsocketnotifier.h>
#include <qscrollview.h>
#include <qmessagebox.h>
#include <qpushbutton.h>
#include <qlineedit.h>
#include <qcombobox.h>
#include <qlabel.h>
#include <qfile.h>
#include <qcheckbox.h>
#include <qpopupmenu.h>
#include <stdlib.h>
#include <stdarg.h>
#include <unistd.h>
#include <pwd.h>
#include "../rdesktop.h"
#include "qtewin.h"
Go to the source code of this file.
Classes | |
struct | QColorMap |
struct | bitmap |
Macros | |
#define | QT_OPTI |
#define | BPP ((g_server_bpp + 7) / 8) |
#define | GETPIXEL8(d, x, y, w) (*(((uint8*)d) + ((y) * (w) + (x)))) |
#define | GETPIXEL16(d, x, y, w) (*(((uint16*)d) + ((y) * (w) + (x)))) |
#define | GETPIXEL32(d, x, y, w) (*(((uint32*)d) + ((y) * (w) + (x)))) |
#define | SETPIXEL8(d, x, y, w, v) *(((uint8*)d) + ((y) * (w) + (x))) = v |
#define | SETPIXEL16(d, x, y, w, v) *(((uint16*)d) + ((y) * (w) + (x))) = v |
#define | SETPIXEL32(d, x, y, w, v) *(((uint32*)d) + ((y) * (w) + (x))) = v |
#define | NOT(x) (~x) |
#define | DO_GLYPH(ttext, idx) |
#define BPP ((g_server_bpp + 7) / 8) |
Definition at line 134 of file qtewin.cpp.
Definition at line 1957 of file qtewin.cpp.
Definition at line 136 of file qtewin.cpp.
Definition at line 137 of file qtewin.cpp.
Definition at line 135 of file qtewin.cpp.
Definition at line 1003 of file qtewin.cpp.
#define QT_OPTI |
Definition at line 52 of file qtewin.cpp.
Definition at line 139 of file qtewin.cpp.
Definition at line 140 of file qtewin.cpp.
Definition at line 138 of file qtewin.cpp.
Definition at line 847 of file qtewin.cpp.
Referenced by QMyMainWindow::MemuClicked(), QMyMainWindow::mouseMoveEvent(), QMyMainWindow::mousePressEvent(), QMyMainWindow::mouseReleaseEvent(), QMyMainWindow::timerEvent(), and QMyMainWindow::wheelEvent().
Definition at line 856 of file qtewin.cpp.
Referenced by QMyMainWindow::MemuClicked(), QMyMainWindow::mouseMoveEvent(), QMyMainWindow::mousePressEvent(), QMyMainWindow::mouseReleaseEvent(), QMyMainWindow::timerEvent(), and QMyMainWindow::wheelEvent().
void CleanString | ( | QString * | Item | ) |
Definition at line 143 of file qtewin.cpp.
Referenced by QMyDialog::QMyDialog().
Definition at line 1943 of file qtewin.cpp.
Definition at line 2204 of file qtewin.cpp.
Definition at line 1599 of file qtewin.cpp.
Referenced by IntDrawRectEdge(), ui_draw_text(), ui_patblt(), and ui_rect().
Definition at line 2268 of file qtewin.cpp.
Definition at line 1031 of file qtewin.cpp.
Referenced by ui_desktop_save(), ui_destblt(), and ui_screenblt().
Definition at line 2315 of file qtewin.cpp.
Referenced by main().
Definition at line 518 of file qtewin.cpp.
Referenced by QMyScrollView::keyPressEvent(), QMyMainWindow::keyPressEvent(), QMyScrollView::keyReleaseEvent(), and QMyMainWindow::keyReleaseEvent().
Definition at line 2282 of file qtewin.cpp.
Definition at line 1379 of file qtewin.cpp.
Referenced by draw_glyph(), ui_create_glyph(), and ui_patblt().
Definition at line 2257 of file qtewin.cpp.
Definition at line 2528 of file qtewin.cpp.
Definition at line 2476 of file qtewin.cpp.
Referenced by main().
Definition at line 2363 of file qtewin.cpp.
Referenced by main().
Definition at line 841 of file qtewin.cpp.
Definition at line 2227 of file qtewin.cpp.
Definition at line 2251 of file qtewin.cpp.
Definition at line 2245 of file qtewin.cpp.
Definition at line 2221 of file qtewin.cpp.
Definition at line 2215 of file qtewin.cpp.
Definition at line 2233 of file qtewin.cpp.
Definition at line 2239 of file qtewin.cpp.
Definition at line 1457 of file qtewin.cpp.
Definition at line 1248 of file qtewin.cpp.
Referenced by activate_window(), EDIT_WM_SetFont(), HOTKEY_SetFont(), LISTVIEW_SetRedraw(), REBAR_SetRedraw(), CListView::SetRedraw(), CTreeView::SetRedraw(), CDefView::SetRedraw(), STATUSBAR_WMSetFont(), test_autoscroll(), test_EM_REPLACESEL(), TOOLTIPS_SetFont(), TRACKBAR_SetRange(), TRACKBAR_SetRangeMax(), TRACKBAR_SetRangeMin(), ui_desktop_restore(), ui_destblt(), ui_draw_text(), ui_line(), ui_memblt(), ui_paint_bitmap(), ui_patblt(), ui_rect(), and ui_screenblt().
Definition at line 1006 of file qtewin.cpp.
Referenced by rop(), and set_pixel().
Definition at line 2263 of file qtewin.cpp.
Definition at line 1049 of file qtewin.cpp.
Referenced by draw_glyph(), fill_rect(), ui_desktop_restore(), ui_destblt(), ui_line(), ui_memblt(), ui_paint_bitmap(), ui_patblt(), and ui_screenblt().
Definition at line 1397 of file qtewin.cpp.
Referenced by ui_create_glyph().
Definition at line 1537 of file qtewin.cpp.
Definition at line 1565 of file qtewin.cpp.
Definition at line 1284 of file qtewin.cpp.
HCOLOURMAP ui_create_colourmap | ( | COLOURMAP * | colours | ) |
Definition at line 1507 of file qtewin.cpp.
HCURSOR ui_create_cursor | ( | uint32 | x, |
uint32 | y, | ||
int | width, | ||
int | height, | ||
uint8 * | andmask, | ||
uint8 * | xormask | ||
) |
Definition at line 1438 of file qtewin.cpp.
Definition at line 1404 of file qtewin.cpp.
Definition at line 2108 of file qtewin.cpp.
Definition at line 2065 of file qtewin.cpp.
Definition at line 1571 of file qtewin.cpp.
Definition at line 1365 of file qtewin.cpp.
void ui_destroy_colourmap | ( | HCOLOURMAP | map | ) |
Definition at line 1532 of file qtewin.cpp.
Definition at line 1502 of file qtewin.cpp.
void ui_draw_text | ( | 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 1989 of file qtewin.cpp.
void ui_ellipse | ( | uint8 | opcode, |
uint8 | fillmode, | ||
int | x, | ||
int | y, | ||
int | cx, | ||
int | cy, | ||
BRUSH * | brush, | ||
int | bgcolour, | ||
int | fgcolour | ||
) |
Definition at line 1495 of file qtewin.cpp.
Definition at line 1542 of file qtewin.cpp.
Definition at line 1451 of file qtewin.cpp.
Definition at line 1864 of file qtewin.cpp.
Referenced by ui_polyline().
Definition at line 1777 of file qtewin.cpp.
Definition at line 1274 of file qtewin.cpp.
Definition at line 1325 of file qtewin.cpp.
void ui_patblt | ( | uint8 | opcode, |
int | x, | ||
int | y, | ||
int | cx, | ||
int | cy, | ||
BRUSH * | brush, | ||
int | bgcolour, | ||
int | fgcolour | ||
) |
Definition at line 1649 of file qtewin.cpp.
void ui_polygon | ( | uint8 | opcode, |
uint8 | fillmode, | ||
POINT * | point, | ||
int | npoints, | ||
BRUSH * | brush, | ||
int | bgcolour, | ||
int | fgcolour | ||
) |
Definition at line 1468 of file qtewin.cpp.
Definition at line 1475 of file qtewin.cpp.
Definition at line 1463 of file qtewin.cpp.
Definition at line 1676 of file qtewin.cpp.
Definition at line 1266 of file qtewin.cpp.
void ui_set_colourmap | ( | HCOLOURMAP | map | ) |
Definition at line 1527 of file qtewin.cpp.
Definition at line 1446 of file qtewin.cpp.
Definition at line 1279 of file qtewin.cpp.
void ui_triblt | ( | 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 1856 of file qtewin.cpp.
Definition at line 1100 of file qtewin.cpp.
Referenced by fill_rect(), redraw(), ui_memblt(), and ui_screenblt().
void WriteString | ( | QFile * | File, |
QString * | Line | ||
) |
Definition at line 401 of file qtewin.cpp.
Referenced by QMyDialog::SaveClicked().
Definition at line 2161 of file qtewin.cpp.
Referenced by main(), ui_desktop_save(), ui_destroy_bitmap(), ui_destroy_glyph(), and ui_screenblt().
Definition at line 2155 of file qtewin.cpp.
Referenced by param_connect(), ui_create_bitmap(), ui_create_glyph(), ui_desktop_save(), and ui_screenblt().
Definition at line 2145 of file qtewin.cpp.
Definition at line 2170 of file qtewin.cpp.
|
static |
Definition at line 114 of file qtewin.cpp.
Referenced by main(), QMyMainWindow::MemuClicked(), param_connect(), QMyScrollView::timerEvent(), and ui_bell().
int g_bitmap_cache = 1 |
Definition at line 56 of file qtewin.cpp.
int g_bitmap_cache_persist_enable = 0 |
Definition at line 57 of file qtewin.cpp.
int g_bitmap_cache_precache = 1 |
Definition at line 58 of file qtewin.cpp.
int g_bitmap_compression = 1 |
Definition at line 61 of file qtewin.cpp.
|
static |
Definition at line 119 of file qtewin.cpp.
Referenced by fill_rect(), get_pixel(), main(), QMyMainWindow::paintEvent(), param_connect(), set_pixel(), QMyScrollView::timerEvent(), ui_memblt(), and ui_screenblt().
|
static |
Definition at line 98 of file qtewin.cpp.
Referenced by c2sy(), QMyMainWindow::MemuClicked(), QMyMainWindow::paintEvent(), param_connect(), parse_parameters(), redraw(), and QMyScrollView::timerEvent().
|
static |
Definition at line 97 of file qtewin.cpp.
Referenced by c2sx(), QMyMainWindow::MemuClicked(), QMyMainWindow::paintEvent(), param_connect(), parse_parameters(), redraw(), and QMyScrollView::timerEvent().
|
static |
Definition at line 122 of file qtewin.cpp.
Referenced by param_connect(), set_pixel(), QMyScrollView::timerEvent(), ui_reset_clip(), ui_set_clip(), and WarpCoords().
|
static |
Definition at line 123 of file qtewin.cpp.
Referenced by param_connect(), set_pixel(), QMyScrollView::timerEvent(), ui_reset_clip(), ui_set_clip(), and WarpCoords().
|
static |
Definition at line 120 of file qtewin.cpp.
Referenced by param_connect(), set_pixel(), QMyScrollView::timerEvent(), ui_reset_clip(), ui_set_clip(), and WarpCoords().
|
static |
Definition at line 121 of file qtewin.cpp.
Referenced by param_connect(), set_pixel(), QMyScrollView::timerEvent(), ui_reset_clip(), ui_set_clip(), and WarpCoords().
Definition at line 118 of file qtewin.cpp.
Referenced by main(), QMyMainWindow::paintEvent(), param_connect(), QMyScrollView::timerEvent(), and ui_create_colourmap().
int g_console_session = 0 |
Definition at line 65 of file qtewin.cpp.
|
static |
Definition at line 107 of file qtewin.cpp.
int g_desktop_save = 1 |
Definition at line 60 of file qtewin.cpp.
|
static |
Definition at line 104 of file qtewin.cpp.
Referenced by param_connect(), and parse_parameters().
|
static |
Definition at line 101 of file qtewin.cpp.
Referenced by param_connect(), and parse_parameters().
int g_encryption = 1 |
Definition at line 55 of file qtewin.cpp.
|
static |
Definition at line 108 of file qtewin.cpp.
|
static |
Definition at line 99 of file qtewin.cpp.
Referenced by param_connect(), and parse_parameters().
|
static |
Definition at line 105 of file qtewin.cpp.
Referenced by param_connect(), and parse_parameters().
|
static |
Definition at line 106 of file qtewin.cpp.
Referenced by param_connect(), QMyScrollView::timerEvent(), and ui_select().
int g_height = 480 |
Definition at line 71 of file qtewin.cpp.
Referenced by c2sy(), fill_rect(), get_pixel(), param_connect(), parse_parameters(), redraw(), set_pixel(), ui_draw_text(), and ui_reset_clip().
char g_hostname[16] = "" |
Definition at line 73 of file qtewin.cpp.
Referenced by get_username_and_hostname(), and parse_parameters().
int g_keyboard_functionkeys = 0xc |
Definition at line 69 of file qtewin.cpp.
int g_keyboard_subtype = 0x0 |
Definition at line 68 of file qtewin.cpp.
int g_keyboard_type = 0x4 |
Definition at line 67 of file qtewin.cpp.
int g_keylayout = 0x409 |
Definition at line 66 of file qtewin.cpp.
|
static |
Definition at line 116 of file qtewin.cpp.
Referenced by QMyMainWindow::dataReceived(), QMyMainWindow::MemuClicked(), param_connect(), redraw(), and QMyScrollView::timerEvent().
|
static |
Definition at line 102 of file qtewin.cpp.
Referenced by param_connect(), and parse_parameters().
int g_polygon_ellipse_orders = 0 |
Definition at line 62 of file qtewin.cpp.
int g_rdp5_performanceflags |
Definition at line 63 of file qtewin.cpp.
Definition at line 126 of file qtewin.cpp.
char g_redirect_cookie[128] |
Definition at line 131 of file qtewin.cpp.
char g_redirect_domain[16] |
Definition at line 128 of file qtewin.cpp.
uint32 g_redirect_flags = 0 |
Definition at line 132 of file qtewin.cpp.
char g_redirect_password[64] |
Definition at line 129 of file qtewin.cpp.
char g_redirect_server[64] |
Definition at line 127 of file qtewin.cpp.
char g_redirect_username[64] |
Definition at line 130 of file qtewin.cpp.
|
static |
Definition at line 100 of file qtewin.cpp.
Referenced by param_connect(), parse_parameters(), and QMyScrollView::timerEvent().
int g_server_bpp = 8 |
Definition at line 72 of file qtewin.cpp.
Referenced by fill_rect(), get_pixel(), parse_parameters(), set_pixel(), ui_create_bitmap(), ui_desktop_restore(), ui_desktop_save(), ui_memblt(), ui_paint_bitmap(), and ui_screenblt().
|
static |
Definition at line 103 of file qtewin.cpp.
Referenced by param_connect(), and parse_parameters().
|
static |
Definition at line 110 of file qtewin.cpp.
Referenced by param_connect(), and QMyScrollView::timerEvent().
|
static |
Definition at line 117 of file qtewin.cpp.
Referenced by QMyMainWindow::dataReceived(), main(), QMyMainWindow::MemuClicked(), param_connect(), QMyScrollView::timerEvent(), and QMyMainWindow::timerEvent().
|
extern |
Definition at line 75 of file tcp.c.
Referenced by parse_parameters().
int g_use_rdp5 = 1 |
Definition at line 59 of file qtewin.cpp.
Referenced by parse_parameters().
char g_username[100] = "" |
Definition at line 74 of file qtewin.cpp.
Referenced by get_username_and_hostname(), and parse_parameters().
int g_width = 640 |
Definition at line 70 of file qtewin.cpp.
Referenced by c2sx(), fill_rect(), get_pixel(), param_connect(), parse_parameters(), redraw(), set_pixel(), ui_draw_text(), ui_memblt(), ui_reset_clip(), and ui_screenblt().