diff options
author | nyamatongwe <unknown> | 2011-06-25 07:58:03 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2011-06-25 07:58:03 +1000 |
commit | 640bc7546d4d8ad5228e09ed2d280ea12b0690e9 (patch) | |
tree | 8b0e456078c1db7c0751a9edee6bfbe258a24792 /include/Platform.h | |
parent | aa198d68b4f938a20aadfb53267fab87f64a7004 (diff) | |
download | scintilla-mirror-640bc7546d4d8ad5228e09ed2d280ea12b0690e9.tar.gz |
Initial implementation of RGBA images.
Diffstat (limited to 'include/Platform.h')
-rw-r--r-- | include/Platform.h | 2 |
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; |