From ba405aaa5f4281bc84a9141658a626200a967339 Mon Sep 17 00:00:00 2001 From: Lynix Date: Sat, 28 Dec 2019 11:44:13 +0100 Subject: [PATCH] Fix some missing override --- SDK/include/NDK/Widgets/TextAreaWidget.hpp | 2 +- include/Nazara/Utility/SimpleTextDrawer.hpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/SDK/include/NDK/Widgets/TextAreaWidget.hpp b/SDK/include/NDK/Widgets/TextAreaWidget.hpp index f28de9e57..bd81ec8e6 100644 --- a/SDK/include/NDK/Widgets/TextAreaWidget.hpp +++ b/SDK/include/NDK/Widgets/TextAreaWidget.hpp @@ -58,7 +58,7 @@ namespace Ndk void HandleSelectionIndentation(bool add) override; void HandleWordCursorMove(bool left) override; - void UpdateDisplayText(); + void UpdateDisplayText() override; Nz::SimpleTextDrawer m_drawer; Nz::String m_text; diff --git a/include/Nazara/Utility/SimpleTextDrawer.hpp b/include/Nazara/Utility/SimpleTextDrawer.hpp index 5e33ed79f..8e6fa8f4b 100644 --- a/include/Nazara/Utility/SimpleTextDrawer.hpp +++ b/include/Nazara/Utility/SimpleTextDrawer.hpp @@ -38,7 +38,7 @@ namespace Nz std::size_t GetGlyphCount() const override; const Line& GetLine(std::size_t index) const override; std::size_t GetLineCount() const override; - float GetMaxLineWidth() const; + float GetMaxLineWidth() const override; const Color& GetOutlineColor() const; float GetOutlineThickness() const; TextStyleFlags GetStyle() const; @@ -47,7 +47,7 @@ namespace Nz void SetCharacterSize(unsigned int characterSize); void SetColor(const Color& color); void SetFont(Font* font); - void SetMaxLineWidth(float lineWidth); + void SetMaxLineWidth(float lineWidth) override; void SetOutlineColor(const Color& color); void SetOutlineThickness(float thickness); void SetStyle(TextStyleFlags style);