summaryrefslogtreecommitdiffstats
path: root/xrdp/xrdp_types.h
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2004-10-25 03:23:48 +0000
committerjsorg71 <jsorg71>2004-10-25 03:23:48 +0000
commitb95482e72906c7bea907f19ef81a659ba37497cc (patch)
tree4839b3bce873a8590c7c710a97d750a8a58da1b7 /xrdp/xrdp_types.h
parentb4b62a619a2a7c52c1975580272646c7ae2111e6 (diff)
downloadxrdp-proprietary-b95482e72906c7bea907f19ef81a659ba37497cc.tar.gz
xrdp-proprietary-b95482e72906c7bea907f19ef81a659ba37497cc.zip
work on logon edits
Diffstat (limited to 'xrdp/xrdp_types.h')
-rw-r--r--xrdp/xrdp_types.h30
1 files changed, 19 insertions, 11 deletions
diff --git a/xrdp/xrdp_types.h b/xrdp/xrdp_types.h
index 4bed6cbe..41757b11 100644
--- a/xrdp/xrdp_types.h
+++ b/xrdp/xrdp_types.h
@@ -369,31 +369,39 @@ struct xrdp_painter
/* window or bitmap */
struct xrdp_bitmap
{
- int type; /* 0 = bitmap 1 = window 2 = screen 3 = button 4 = image 5 = edit 6 = label */
- int state; /* for button 0 = normal 1 = down */
- int id;
- char* data;
+ /* 0 = bitmap 1 = window 2 = screen 3 = button 4 = image 5 = edit
+ 6 = label */
+ int type;
int width;
int height;
+ struct xrdp_wm* wm;
+ /* msg 1 = click 2 = mouse move 3 = paint 100 = modal result */
+ /* see messages in constants.h */
+ int (*notify)(struct xrdp_bitmap* wnd, struct xrdp_bitmap* sender,
+ int msg, int param1, int param2);
+ /* for bitmap */
int bpp;
+ int line_size; /* in bytes */
+ char* data;
+ /* for all but bitmap */
int left;
int top;
+ int cursor;
int bg_color;
- int line_size; /* in bytes */
- int focused;
int tab_stop;
+ int focused;
+ int id;
char caption[256];
+ /* for window or screen */
struct xrdp_bitmap* modal_dialog;
struct xrdp_bitmap* focused_control;
struct xrdp_bitmap* owner; /* window that created us */
struct xrdp_bitmap* parent; /* window contained in */
struct xrdp_list* child_list;
- struct xrdp_wm* wm;
- int cursor;
+ /* for edit */
int edit_pos;
- /* msg 1 = click 2 = mouse move 3 = paint 100 = modal result */
- int (*notify)(struct xrdp_bitmap* wnd, struct xrdp_bitmap* sender,
- int msg, int param1, int param2);
+ /* for button */
+ int state; /* for button 0 = normal 1 = down */
};
/* font */