commit 5b885527e8fe442814cb50ad952c612cbfbdda1c
parent f5536a88f4150db0e7de6d18ab11ad8e062a5266
Author: falkTX <falktx@falktx.com>
Date: Sun, 15 Aug 2021 14:20:16 +0100
Add a missing override
Diffstat:
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/dgl/TopLevelWidget.hpp b/dgl/TopLevelWidget.hpp
@@ -90,12 +90,20 @@ public:
*/
void setSize(const Size<uint>& size);
+ /**
+ TODO document this.
+ */
+ void repaint() noexcept override;
+
+ /**
+ TODO document this.
+ */
+ void repaint(const Rectangle<uint>& rect) noexcept;
+
// TODO group stuff after here, convenience functions present in Window class
bool addIdleCallback(IdleCallback* callback, uint timerFrequencyInMs = 0);
bool removeIdleCallback(IdleCallback* callback);
double getScaleFactor() const noexcept;
- void repaint() noexcept;
- void repaint(const Rectangle<uint>& rect) noexcept;
void setGeometryConstraints(uint minimumWidth,
uint minimumHeight,
bool keepAspectRatio = false,