aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ViewStyle.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2021-09-15 09:39:04 +1000
committerNeil <nyamatongwe@gmail.com>2021-09-15 09:39:04 +1000
commitbd26e824df79006bf8f5385e8d604d8fcbc01eae (patch)
tree264cec6e5eb965a7c7fafaa8e313106275914135 /src/ViewStyle.h
parentd4a5d7d6955982496ba523a439fc98276a28e2d8 (diff)
downloadscintilla-mirror-bd26e824df79006bf8f5385e8d604d8fcbc01eae.tar.gz
Avoid some type warnings
Diffstat (limited to 'src/ViewStyle.h')
-rw-r--r--src/ViewStyle.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/ViewStyle.h b/src/ViewStyle.h
index f81a52c88..52ec793bc 100644
--- a/src/ViewStyle.h
+++ b/src/ViewStyle.h
@@ -89,9 +89,6 @@ struct EdgeProperties {
EdgeProperties(int column_ = 0, ColourRGBA colour_ = ColourRGBA::FromRGB(0)) noexcept :
column(column_), colour(colour_) {
}
- EdgeProperties(Scintilla::uptr_t wParam, Scintilla::sptr_t lParam) noexcept :
- column(static_cast<int>(wParam)), colour(ColourRGBA::FromIpRGB(lParam)) {
- }
};
// This is an old style enum so that its members can be used directly as indices without casting
@@ -216,7 +213,7 @@ public:
bool WhitespaceBackgroundDrawn() const;
ColourRGBA WrapColour() const;
- void AddMultiEdge(Scintilla::uptr_t wParam, Scintilla::sptr_t lParam);
+ void AddMultiEdge(int column, ColourRGBA colour);
std::optional<ColourRGBA> ElementColour(Scintilla::Element element) const;
bool ElementAllowsTranslucent(Scintilla::Element element) const;