aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Scintilla.iface
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2011-08-07 13:41:35 +1000
committernyamatongwe <devnull@localhost>2011-08-07 13:41:35 +1000
commitb510d1fe619eff95c7e0d0a88421b8e3cad8f729 (patch)
tree595b5f8217a081087316de368c15d7c0a4f586b4 /include/Scintilla.iface
parenta320c92efc362ad68b903e73e848b4e8781fa4ec (diff)
downloadscintilla-mirror-b510d1fe619eff95c7e0d0a88421b8e3cad8f729.tar.gz
Implement APIs for fractional font sizes and a range of weights.
Diffstat (limited to 'include/Scintilla.iface')
-rw-r--r--include/Scintilla.iface19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index 36ead0ece..c604f621a 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -482,6 +482,25 @@ get bool StyleGetHotSpot=2493(int style,)
# Set a style to be mixed case, or to force upper or lower case.
set void StyleSetCase=2060(int style, int caseForce)
+val SC_FONT_SIZE_MULTIPLIER=100
+
+# Set the size of characters of a style. Size is in points multiplied by 100.
+set void StyleSetSizeFractional=2061(int style, int caseForce)
+
+# Get the weight of characters of a style in points multiplied by 100
+get int StyleGetSizeFractional=2062(int style,)
+
+enu FontWeight=SC_WEIGHT_
+val SC_WEIGHT_NORMAL=400
+val SC_WEIGHT_SEMIBOLD=600
+val SC_WEIGHT_BOLD=700
+
+# Get the weight of characters of a style.
+set void StyleSetWeight=2063(int style, int weight)
+
+# Get the weight of characters of a style.
+get int StyleGetWeight=2064(int style,)
+
# Set the character set of the font in a style.
set void StyleSetCharacterSet=2066(int style, int characterSet)