aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ScintillaBase.cxx
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 /src/ScintillaBase.cxx
parent85dc0204832948824579888601f33c7894b5dd50 (diff)
downloadscintilla-mirror-a35215c303f35e22892193728026b408d083a665.tar.gz
Initial implementation of RGBA images.
Diffstat (limited to 'src/ScintillaBase.cxx')
-rw-r--r--src/ScintillaBase.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ScintillaBase.cxx b/src/ScintillaBase.cxx
index 3de4a4583..380ed2424 100644
--- a/src/ScintillaBase.cxx
+++ b/src/ScintillaBase.cxx
@@ -13,6 +13,7 @@
#include <string>
#include <vector>
+#include <map>
#include "Platform.h"
@@ -760,6 +761,10 @@ sptr_t ScintillaBase::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lPara
ac.lb->RegisterImage(wParam, reinterpret_cast<const char *>(lParam));
break;
+ case SCI_REGISTERRGBAIMAGE:
+ ac.lb->RegisterRGBAImage(wParam, sizeRGBAImage.x, sizeRGBAImage.y, reinterpret_cast<unsigned char *>(lParam));
+ break;
+
case SCI_CLEARREGISTEREDIMAGES:
ac.lb->ClearRegisteredImages();
break;