diff options
author | nyamatongwe <unknown> | 2011-09-24 22:10:59 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2011-09-24 22:10:59 +1000 |
commit | 77d25bd25490fe412a213581e371c7c26eb23f7d (patch) | |
tree | e91d99a2328e82067e9781599cb2e058a8400fa3 /src/Style.h | |
parent | df08d45447c2b2386629d13004f4ab6006cab2d8 (diff) | |
parent | 33e27dc25f933a92566d91a667ba4ee732ba6cfa (diff) | |
download | scintilla-mirror-77d25bd25490fe412a213581e371c7c26eb23f7d.tar.gz |
Merged fractional text positioning branch.
Diffstat (limited to 'src/Style.h')
-rw-r--r-- | src/Style.h | 8 |
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); |