Browse Source

Add a missing override

pull/309/head
falkTX 4 years ago
parent
commit
5b885527e8
1 changed files with 10 additions and 2 deletions
  1. +10
    -2
      dgl/TopLevelWidget.hpp

+ 10
- 2
dgl/TopLevelWidget.hpp View File

@@ -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,


Loading…
Cancel
Save