aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Style.h
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 /src/Style.h
parent1595153b9cc09514e7f16719694e999c1fd341e0 (diff)
downloadscintilla-mirror-f3787820600bc07008841b82037e90032619bdaa.tar.gz
Implement APIs for fractional font sizes and a range of weights.
Diffstat (limited to 'src/Style.h')
-rw-r--r--src/Style.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Style.h b/src/Style.h
index 29122b0a4..0e706d322 100644
--- a/src/Style.h
+++ b/src/Style.h
@@ -14,16 +14,16 @@ namespace Scintilla {
struct FontSpecification {
const char *fontName;
- bool bold;
+ int weight;
bool italic;
int size;
int characterSet;
int extraFontFlag;
FontSpecification() :
fontName(0),
- bold(false),
+ weight(SC_WEIGHT_NORMAL),
italic(false),
- size(10),
+ size(10 * SC_FONT_SIZE_MULTIPLIER),
characterSet(0),
extraFontFlag(0) {
}
@@ -77,7 +77,7 @@ public:
void Clear(ColourDesired fore_, ColourDesired back_,
int size_,
const char *fontName_, int characterSet_,
- bool bold_, bool italic_, bool eolFilled_,
+ int weight_, bool italic_, bool eolFilled_,
bool underline_, ecaseForced caseForce_,
bool visible_, bool changeable_, bool hotspot_);
void ClearTo(const Style &source);