diff options
author | nyamatongwe <unknown> | 2000-07-13 05:42:06 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2000-07-13 05:42:06 +0000 |
commit | e3cc6be8d4b82f65c747ffba1f1c193714de644a (patch) | |
tree | a6ad72e62cf597851024a6de6db45d5d05e5f172 /src/ViewStyle.cxx | |
parent | 26eb24b3c2d823cab8492353a2ff1f217d3d176c (diff) | |
download | scintilla-mirror-e3cc6be8d4b82f65c747ffba1f1c193714de644a.tar.gz |
Showing selection in grey when its not the primary selection on GTK+.
Diffstat (limited to 'src/ViewStyle.cxx')
-rw-r--r-- | src/ViewStyle.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ViewStyle.cxx b/src/ViewStyle.cxx index da35a23fc..fae8eb53b 100644 --- a/src/ViewStyle.cxx +++ b/src/ViewStyle.cxx @@ -69,6 +69,7 @@ ViewStyle::ViewStyle(const ViewStyle &source) { selforeground.desired = source.selforeground.desired; selbackset = source.selbackset; selbackground.desired = source.selbackground.desired; + selbackground2.desired = source.selbackground2.desired; selbar.desired = source.selbar.desired; selbarlight.desired = source.selbarlight.desired; caretcolour.desired = source.caretcolour.desired; @@ -113,6 +114,7 @@ void ViewStyle::Init() { selforeground.desired = Colour(0xff, 0, 0); selbackset = true; selbackground.desired = Colour(0xc0, 0xc0, 0xc0); + selbackground2.desired = Colour(0xb0, 0xb0, 0xb0); selbar.desired = Platform::Chrome(); selbarlight.desired = Platform::ChromeHighlight(); styles[STYLE_LINENUMBER].fore.desired = Colour(0, 0, 0); @@ -166,6 +168,7 @@ void ViewStyle::RefreshColourPalette(Palette &pal, bool want) { } pal.WantFind(selforeground, want); pal.WantFind(selbackground, want); + pal.WantFind(selbackground2, want); pal.WantFind(selbar, want); pal.WantFind(selbarlight, want); pal.WantFind(caretcolour, want); |