summaryrefslogtreecommitdiffstats
path: root/vncviewer/Surface.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2017-01-02 20:07:10 +0100
committerPierre Ossman <ossman@cendio.se>2017-02-10 17:05:22 +0100
commitde6a5806d23d149d3a9ee94fc6b1d797ef864971 (patch)
tree26dba94632f3752d22a7fbb9882dbfd43a32f2b8 /vncviewer/Surface.h
parent3d74d88806d09f3a899be5d8f1df8ec20ed9a14d (diff)
downloadtigervnc-de6a5806d23d149d3a9ee94fc6b1d797ef864971.tar.gz
tigervnc-de6a5806d23d149d3a9ee94fc6b1d797ef864971.zip
Add alpha blending support to surfaces
Diffstat (limited to 'vncviewer/Surface.h')
-rw-r--r--vncviewer/Surface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/vncviewer/Surface.h b/vncviewer/Surface.h
index 9b1788a5..7d164681 100644
--- a/vncviewer/Surface.h
+++ b/vncviewer/Surface.h
@@ -44,6 +44,9 @@ public:
void draw(int src_x, int src_y, int x, int y, int w, int h);
void draw(Surface* dst, int src_x, int src_y, int x, int y, int w, int h);
+ void blend(int src_x, int src_y, int x, int y, int w, int h);
+ void blend(Surface* dst, int src_x, int src_y, int x, int y, int w, int h);
+
protected:
void alloc();
void dealloc();