From f7d78534ecc3281d151e856f94c9ca515de86eb9 Mon Sep 17 00:00:00 2001 From: Neil Date: Sun, 31 Jul 2022 22:22:59 +1000 Subject: Change default change history markers and indicators. --- src/ViewStyle.cxx | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/ViewStyle.cxx') diff --git a/src/ViewStyle.cxx b/src/ViewStyle.cxx index 5160cfc54..a79e60102 100644 --- a/src/ViewStyle.cxx +++ b/src/ViewStyle.cxx @@ -109,20 +109,20 @@ ViewStyle::ViewStyle(size_t stylesSize_) : // Saved constexpr ColourRGBA saved(0x0, 0xA0, 0x0); // Modified - constexpr ColourRGBA modified(0xA0, 0xA0, 0x0); + constexpr ColourRGBA modified(0xFF, 0x80, 0x0); // Reverted to change - constexpr ColourRGBA revertedToChange(0xFF, 0x80, 0x0); + constexpr ColourRGBA revertedToChange(0xA0, 0xC0, 0x0); // Edition indicators constexpr size_t indexHistory = static_cast(IndicatorNumbers::HistoryRevertedToOriginInsertion); - indicators[indexHistory+0] = Indicator(IndicatorStyle::StraightBox, ColourRGBA(revertedToOrigin, 0x40)); + indicators[indexHistory+0] = Indicator(IndicatorStyle::CompositionThick, revertedToOrigin, false, 30, 60); indicators[indexHistory+1] = Indicator(IndicatorStyle::Point, revertedToOrigin); - indicators[indexHistory+2] = Indicator(IndicatorStyle::StraightBox, ColourRGBA(saved, 0x40)); + indicators[indexHistory+2] = Indicator(IndicatorStyle::CompositionThick, saved, false, 30, 60); indicators[indexHistory+3] = Indicator(IndicatorStyle::Point, saved); - indicators[indexHistory+4] = Indicator(IndicatorStyle::StraightBox, ColourRGBA(modified, 0x40)); - indicators[indexHistory+5] = Indicator(IndicatorStyle::Point, modified); - indicators[indexHistory+6] = Indicator(IndicatorStyle::StraightBox, ColourRGBA(revertedToChange, 0x40)); + indicators[indexHistory+4] = Indicator(IndicatorStyle::CompositionThick, modified, false, 30, 60); + indicators[indexHistory+5] = Indicator(IndicatorStyle::PointTop, modified); + indicators[indexHistory+6] = Indicator(IndicatorStyle::CompositionThick, revertedToChange, false, 30, 60); indicators[indexHistory+7] = Indicator(IndicatorStyle::Point, revertedToChange); // Edition markers @@ -130,22 +130,22 @@ ViewStyle::ViewStyle(size_t stylesSize_) : constexpr size_t indexHistoryRevertedToOrigin = static_cast(MarkerOutline::HistoryRevertedToOrigin); markers[indexHistoryRevertedToOrigin].back = revertedToOrigin; markers[indexHistoryRevertedToOrigin].fore = revertedToOrigin; - markers[indexHistoryRevertedToOrigin].markType = MarkerSymbol::LeftRect; + markers[indexHistoryRevertedToOrigin].markType = MarkerSymbol::Bar; // Saved constexpr size_t indexHistorySaved = static_cast(MarkerOutline::HistorySaved); markers[indexHistorySaved].back = saved; markers[indexHistorySaved].fore = saved; - markers[indexHistorySaved].markType = MarkerSymbol::LeftRect; + markers[indexHistorySaved].markType = MarkerSymbol::Bar; // Modified constexpr size_t indexHistoryModified = static_cast(MarkerOutline::HistoryModified); - markers[indexHistoryModified].back = ColourRGBA(modified, 0x40); + markers[indexHistoryModified].back = Platform::Chrome(); markers[indexHistoryModified].fore = modified; - markers[indexHistoryModified].markType = MarkerSymbol::LeftRect; + markers[indexHistoryModified].markType = MarkerSymbol::Bar; // Reverted to change constexpr size_t indexHistoryRevertedToModified = static_cast(MarkerOutline::HistoryRevertedToModified); markers[indexHistoryRevertedToModified].back = revertedToChange; markers[indexHistoryRevertedToModified].fore = revertedToChange; - markers[indexHistoryRevertedToModified].markType = MarkerSymbol::LeftRect; + markers[indexHistoryRevertedToModified].markType = MarkerSymbol::Bar; technology = Technology::Default; indicatorsDynamic = false; -- cgit v1.2.3