diff options
author | nyamatongwe <unknown> | 2001-10-28 01:28:28 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2001-10-28 01:28:28 +0000 |
commit | 19b8b95e52c0c98566819492a6a5bb829314cec9 (patch) | |
tree | 493a0791cb7757d3e8397e242eef5c4f764a5aee /src/Style.cxx | |
parent | 83ec763aff39f7dd7dbd80954335e1841d061601 (diff) | |
download | scintilla-mirror-19b8b95e52c0c98566819492a6a5bb829314cec9.tar.gz |
Removed platform-specific headers from Platform.h and thus stopped
visibility of these headers to most code.
Diffstat (limited to 'src/Style.cxx')
-rw-r--r-- | src/Style.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Style.cxx b/src/Style.cxx index 4a3526791..5989dae80 100644 --- a/src/Style.cxx +++ b/src/Style.cxx @@ -14,13 +14,13 @@ Style::Style() { aliasOfDefaultFont = true; - Clear(Colour(0, 0, 0), Colour(0xff, 0xff, 0xff), + Clear(ColourDesired(0, 0, 0), ColourDesired(0xff, 0xff, 0xff), Platform::DefaultFontSize(), 0, SC_CHARSET_DEFAULT, false, false, false, false, caseMixed, true); } Style::Style(const Style &source) { - Clear(Colour(0, 0, 0), Colour(0xff, 0xff, 0xff), + Clear(ColourDesired(0, 0, 0), ColourDesired(0xff, 0xff, 0xff), 0, 0, 0, false, false, false, false, caseMixed, true); fore.desired = source.fore.desired; @@ -46,7 +46,7 @@ Style::~Style() { Style &Style::operator=(const Style &source) { if (this == &source) return * this; - Clear(Colour(0, 0, 0), Colour(0xff, 0xff, 0xff), + Clear(ColourDesired(0, 0, 0), ColourDesired(0xff, 0xff, 0xff), 0, 0, SC_CHARSET_DEFAULT, false, false, false, false, caseMixed, true); fore.desired = source.fore.desired; @@ -62,7 +62,7 @@ Style &Style::operator=(const Style &source) { return *this; } -void Style::Clear(Colour fore_, Colour back_, int size_, +void Style::Clear(ColourDesired fore_, ColourDesired back_, int size_, const char *fontName_, int characterSet_, bool bold_, bool italic_, bool eolFilled_, bool underline_, ecaseForced caseForce_, bool visible_) { |