diff options
author | jsorg71 <jsorg71> | 2005-06-30 01:01:19 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2005-06-30 01:01:19 +0000 |
commit | 79557c9cc60103021b3bf3e36418587246fa83d3 (patch) | |
tree | 918658d87bed6da6643dc1c816d3fea10ec10807 /xrdp/xrdp_painter.c | |
parent | 992dbfa7b3fa568ee480aa3fe3242084d33c518f (diff) | |
download | xrdp-proprietary-79557c9cc60103021b3bf3e36418587246fa83d3.tar.gz xrdp-proprietary-79557c9cc60103021b3bf3e36418587246fa83d3.zip |
call painter funcs, not orders
Diffstat (limited to 'xrdp/xrdp_painter.c')
-rw-r--r-- | xrdp/xrdp_painter.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/xrdp/xrdp_painter.c b/xrdp/xrdp_painter.c index a2ddbe55..44ea52fa 100644 --- a/xrdp/xrdp_painter.c +++ b/xrdp/xrdp_painter.c @@ -614,3 +614,30 @@ xrdp_painter_draw_text(struct xrdp_painter* self, g_free(data); return 0; } + +/*****************************************************************************/ +int APP_CC +xrdp_painter_copy(struct xrdp_painter* self, + struct xrdp_bitmap* src, + struct xrdp_bitmap* dst, + int x, int y, int cx, int cy, + int srcx, int srcy, int opcode) +{ + if (self == 0 || src == 0 || dst == 0) + { + return 0; + } + + /* todo data */ + + if (dst->type == WND_TYPE_BITMAP) + { + return 0; + } + if (src == dst && opcode == 12 && src->wm->screen == src) + { + libxrdp_orders_screen_blt(dst->wm->session, x, y, cx, cy, + srcx, srcy, 12, 0); + } + return 0; +} |