summaryrefslogtreecommitdiffstats
path: root/xrdp/xrdp_types.h
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2008-06-24 05:43:10 +0000
committerjsorg71 <jsorg71>2008-06-24 05:43:10 +0000
commitbfe555e3b6ad96df9ab45365305d1ef463c3f015 (patch)
tree7be1450fb6430acfc82566caedb6f83620c5e0d8 /xrdp/xrdp_types.h
parent756fcef1c8e4748b4a0c5b616d7afd7347aa6d5d (diff)
downloadxrdp-proprietary-bfe555e3b6ad96df9ab45365305d1ef463c3f015.tar.gz
xrdp-proprietary-bfe555e3b6ad96df9ab45365305d1ef463c3f015.zip
added brush cache bits for clients that support it
Diffstat (limited to 'xrdp/xrdp_types.h')
-rw-r--r--xrdp/xrdp_types.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/xrdp/xrdp_types.h b/xrdp/xrdp_types.h
index 20884b1b..7d2b2b7c 100644
--- a/xrdp/xrdp_types.h
+++ b/xrdp/xrdp_types.h
@@ -130,6 +130,14 @@ struct xrdp_pointer_item
char mask[32 * 32 / 8];
};
+struct xrdp_brush_item
+{
+ int stamp;
+ /* expand this to a structure to handle more complicated brushes
+ for now its 8x8 1bpp brushes only */
+ char pattern[8];
+};
+
/* differnce caches */
struct xrdp_cache
{
@@ -157,6 +165,8 @@ struct xrdp_cache
int pointer_stamp;
struct xrdp_pointer_item pointer_items[32];
int pointer_cache_entries;
+ int brush_stamp;
+ struct xrdp_brush_item brush_items[64];
};
struct xrdp_mm