mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Rename DefaultSelectionColor
for consistency
The other methods also start with `Text`.
This commit is contained in:
parent
ea058d9d2e
commit
928d278d0c
|
@ -608,7 +608,7 @@ public:
|
||||||
|
|
||||||
m_Color = DefaultTextColor();
|
m_Color = DefaultTextColor();
|
||||||
m_OutlineColor = DefaultTextOutlineColor();
|
m_OutlineColor = DefaultTextOutlineColor();
|
||||||
m_SelectionColor = DefaultSelectionColor();
|
m_SelectionColor = DefaultTextSelectionColor();
|
||||||
|
|
||||||
m_pCurFont = nullptr;
|
m_pCurFont = nullptr;
|
||||||
m_pDefaultFont = nullptr;
|
m_pDefaultFont = nullptr;
|
||||||
|
|
|
@ -232,7 +232,7 @@ public:
|
||||||
|
|
||||||
ColorRGBA DefaultTextColor() const { return ColorRGBA(1, 1, 1, 1); }
|
ColorRGBA DefaultTextColor() const { return ColorRGBA(1, 1, 1, 1); }
|
||||||
ColorRGBA DefaultTextOutlineColor() const { return ColorRGBA(0, 0, 0, 0.3f); }
|
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;
|
virtual void TextEx(CTextCursor *pCursor, const char *pText, int Length = -1) = 0;
|
||||||
|
|
Loading…
Reference in a new issue