Rename DefaultSelectionColor for consistency

The other methods also start with `Text`.
This commit is contained in:
Robert Müller 2023-04-14 15:03:29 +02:00
parent ea058d9d2e
commit 928d278d0c
2 changed files with 2 additions and 2 deletions

View file

@ -608,7 +608,7 @@ public:
m_Color = DefaultTextColor();
m_OutlineColor = DefaultTextOutlineColor();
m_SelectionColor = DefaultSelectionColor();
m_SelectionColor = DefaultTextSelectionColor();
m_pCurFont = nullptr;
m_pDefaultFont = nullptr;

View file

@ -232,7 +232,7 @@ public:
ColorRGBA DefaultTextColor() const { return ColorRGBA(1, 1, 1, 1); }
ColorRGBA DefaultTextOutlineColor() const { return ColorRGBA(0, 0, 0, 0.3f); }
ColorRGBA DefaultSelectionColor() const { return ColorRGBA(0, 0, 1.0f, 1.0f); }
ColorRGBA DefaultTextSelectionColor() const { return ColorRGBA(0, 0, 1.0f, 1.0f); }
//
virtual void TextEx(CTextCursor *pCursor, const char *pText, int Length = -1) = 0;