diff options
-rw-r--r-- | src/ViewStyle.cxx | 24 |
1 files changed, 12 insertions, 12 deletions
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<size_t>(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<size_t>(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<size_t>(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<size_t>(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<size_t>(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; |