summaryrefslogtreecommitdiffstats
path: root/xrdp/xrdp.h
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2005-01-21 03:55:16 +0000
committerjsorg71 <jsorg71>2005-01-21 03:55:16 +0000
commitf0c7bdb304846829259edaab25454f81ab5a4c36 (patch)
treeba94a6f4a45f29c741490e06bf89deca50041874 /xrdp/xrdp.h
parentb2741d1ed23982d0bfd3016d998c4cbfb3c4ab8e (diff)
downloadxrdp-proprietary-f0c7bdb304846829259edaab25454f81ab5a4c36.tar.gz
xrdp-proprietary-f0c7bdb304846829259edaab25454f81ab5a4c36.zip
added pointer cache, some debug messages and some other fixes
Diffstat (limited to 'xrdp/xrdp.h')
-rw-r--r--xrdp/xrdp.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/xrdp/xrdp.h b/xrdp/xrdp.h
index e13cdb7e..c484e01f 100644
--- a/xrdp/xrdp.h
+++ b/xrdp/xrdp.h
@@ -136,6 +136,8 @@ int xrdp_cache_add_bitmap(struct xrdp_cache* self, struct xrdp_bitmap* bitmap);
int xrdp_cache_add_palette(struct xrdp_cache* self, int* palette);
int xrdp_cache_add_char(struct xrdp_cache* self,
struct xrdp_font_item* font_item);
+int xrdp_cache_add_pointer(struct xrdp_cache* self,
+ struct xrdp_pointer_item* pointer_item);
/* xrdp_wm.c */
struct xrdp_wm* xrdp_wm_create(struct xrdp_process* owner,
@@ -145,6 +147,7 @@ int xrdp_wm_send_palette(struct xrdp_wm* self);
int xrdp_wm_init(struct xrdp_wm* self);
int xrdp_wm_send_bitmap(struct xrdp_wm* self, struct xrdp_bitmap* bitmap,
int x, int y, int cx, int cy);
+int xrdp_wm_set_pointer(struct xrdp_wm* self, int cache_idx);
int xrdp_wm_set_focused(struct xrdp_wm* self, struct xrdp_bitmap* wnd);
int xrdp_wm_get_vis_region(struct xrdp_wm* self, struct xrdp_bitmap* bitmap,
int x, int y, int cx, int cy,
@@ -154,8 +157,9 @@ int xrdp_wm_mouse_click(struct xrdp_wm* self, int x, int y, int but, int down);
int xrdp_wm_key(struct xrdp_wm* self, int device_flags, int scan_code);
int xrdp_wm_key_sync(struct xrdp_wm* self, int device_flags, int key_flags);
int xrdp_wm_pu(struct xrdp_wm* self, struct xrdp_bitmap* control);
-int xrdp_wm_send_cursor(struct xrdp_wm* self, int cache_idx,
+int xrdp_wm_send_pointer(struct xrdp_wm* self, int cache_idx,
char* data, char* mask, int x, int y);
+int xrdp_wm_pointer(struct xrdp_wm* self, char* data, char* mask, int x, int y);
/* xrdp_process.c */
struct xrdp_process* xrdp_process_create(struct xrdp_listen* owner);
@@ -285,8 +289,8 @@ int server_screen_blt(struct xrdp_mod* mod, int x, int y, int cx, int cy,
int srcx, int srcy);
int server_paint_rect(struct xrdp_mod* mod, int x, int y, int cx, int cy,
char* data);
-int server_set_cursor(struct xrdp_mod* mod, int x, int y,
- char* data, char* mask);
+int server_set_pointer(struct xrdp_mod* mod, int x, int y,
+ char* data, char* mask);
int server_palette(struct xrdp_mod* mod, int* palette);
int server_error_popup(struct xrdp_mod* mod, char* error, char* caption);
#endif