aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Scintilla.iface
diff options
context:
space:
mode:
authornyamatongwe <unknown>2011-08-07 13:41:35 +1000
committernyamatongwe <unknown>2011-08-07 13:41:35 +1000
commitf3787820600bc07008841b82037e90032619bdaa (patch)
treec26ab1afb7f81901cf6371f2d542b68ec1234c5b /include/Scintilla.iface
parent1595153b9cc09514e7f16719694e999c1fd341e0 (diff)
downloadscintilla-mirror-f3787820600bc07008841b82037e90032619bdaa.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)