aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ViewStyle.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2002-10-02 03:26:47 +0000
committernyamatongwe <unknown>2002-10-02 03:26:47 +0000
commit3ce653c5dca296d9280a1a6f60a5d53423ac5fe2 (patch)
tree07a566b2912ab1d77d3e859687a05f806651c87a /src/ViewStyle.cxx
parentc0da3d705622cbea4033e1226e2e37502c2977d2 (diff)
downloadscintilla-mirror-3ce653c5dca296d9280a1a6f60a5d53423ac5fe2.tar.gz
PixMap marker support.
Diffstat (limited to 'src/ViewStyle.cxx')
-rw-r--r--src/ViewStyle.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ViewStyle.cxx b/src/ViewStyle.cxx
index 12e1406aa..e28e11ed8 100644
--- a/src/ViewStyle.cxx
+++ b/src/ViewStyle.cxx
@@ -178,8 +178,7 @@ void ViewStyle::RefreshColourPalette(Palette &pal, bool want) {
pal.WantFind(indicators[i].fore, want);
}
for (i=0;i<(sizeof(markers)/sizeof(markers[0]));i++) {
- pal.WantFind(markers[i].fore, want);
- pal.WantFind(markers[i].back, want);
+ markers[i].RefreshColourPalette(pal, want);
}
pal.WantFind(selforeground, want);
pal.WantFind(selbackground, want);
@@ -225,7 +224,7 @@ void ViewStyle::Refresh(Surface &surface) {
}
void ViewStyle::ResetDefaultStyle() {
- styles[STYLE_DEFAULT].Clear(ColourDesired(0,0,0),
+ styles[STYLE_DEFAULT].Clear(ColourDesired(0,0,0),
ColourDesired(0xff,0xff,0xff),
Platform::DefaultFontSize(), fontNames.Save(Platform::DefaultFont()),
SC_CHARSET_DEFAULT,