aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Platform.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2011-06-25 07:58:03 +1000
committernyamatongwe <devnull@localhost>2011-06-25 07:58:03 +1000
commita35215c303f35e22892193728026b408d083a665 (patch)
tree388603057382fa1d784e6fee72e88ba80f5e03a3 /include/Platform.h
parent85dc0204832948824579888601f33c7894b5dd50 (diff)
downloadscintilla-mirror-a35215c303f35e22892193728026b408d083a665.tar.gz
Initial implementation of RGBA images.
Diffstat (limited to 'include/Platform.h')
-rw-r--r--include/Platform.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/Platform.h b/include/Platform.h
index 1e9aeda44..8180b0a6d 100644
--- a/include/Platform.h
+++ b/include/Platform.h
@@ -339,6 +339,7 @@ public:
virtual void RoundedRectangle(PRectangle rc, ColourAllocated fore, ColourAllocated back)=0;
virtual void AlphaRectangle(PRectangle rc, int cornerSize, ColourAllocated fill, int alphaFill,
ColourAllocated outline, int alphaOutline, int flags)=0;
+ virtual void DrawRGBAImage(PRectangle rc, int width, int height, const unsigned char *pixelsImage) = 0;
virtual void Ellipse(PRectangle rc, ColourAllocated fore, ColourAllocated back)=0;
virtual void Copy(PRectangle rc, Point from, Surface &surfaceSource)=0;
@@ -446,6 +447,7 @@ public:
virtual int Find(const char *prefix)=0;
virtual void GetValue(int n, char *value, int len)=0;
virtual void RegisterImage(int type, const char *xpm_data)=0;
+ virtual void RegisterRGBAImage(int type, int width, int height, const unsigned char *pixelsImage) = 0;
virtual void ClearRegisteredImages()=0;
virtual void SetDoubleClickAction(CallBackAction, void *)=0;
virtual void SetList(const char* list, char separator, char typesep)=0;