aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authornyamatongwe <nyamatongwe@gmail.com>2012-07-21 16:57:24 +1000
committernyamatongwe <nyamatongwe@gmail.com>2012-07-21 16:57:24 +1000
commit7dcbdef9d6ae95e7c9232418d12195582faaa54b (patch)
treedbdbea4b99a427a3dec598bc49247e57b58654fa /include
parent38dc2df4119595f2a553cec3f9b51adaa160c973 (diff)
downloadscintilla-mirror-7dcbdef9d6ae95e7c9232418d12195582faaa54b.tar.gz
Scale factor implemented for RGBAImages to allow for high definition markers on retina displays.
Diffstat (limited to 'include')
-rw-r--r--include/Scintilla.h1
-rw-r--r--include/Scintilla.iface3
2 files changed, 4 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index 52d6eed15..4d467a175 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -837,6 +837,7 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam,
#define SCI_GETIDENTIFIER 2623
#define SCI_RGBAIMAGESETWIDTH 2624
#define SCI_RGBAIMAGESETHEIGHT 2625
+#define SCI_RGBAIMAGESETSCALE 2651
#define SCI_MARKERDEFINERGBAIMAGE 2626
#define SCI_REGISTERRGBAIMAGE 2627
#define SCI_SCROLLTOSTART 2628
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index ef35fe6a4..e31863cfd 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -2221,6 +2221,9 @@ set void RGBAImageSetWidth=2624(int width,)
# Set the height for future RGBA image data.
set void RGBAImageSetHeight=2625(int height,)
+# Set the scale factor in percent for future RGBA image data.
+set void RGBAImageSetScale=2651(int scalePercent,)
+
# Define a marker from RGBA data.
# It has the width and height from RGBAImageSetWidth/Height
fun void MarkerDefineRGBAImage=2626(int markerNumber, string pixels)