17 #ifndef DGL_STANDALONE_WINDOW_HPP_INCLUDED 
   18 #define DGL_STANDALONE_WINDOW_HPP_INCLUDED 
   20 #include "TopLevelWidget.hpp" 
   42       : 
Window(app, parentWindow),
 
   58     void setSize(uint width, uint height) { 
Window::setSize(width, height); }
 
   60     bool addIdleCallback(
IdleCallback* callback, uint timerFrequencyInMs = 0)
 
   65     void setGeometryConstraints(uint minimumWidth, uint minimumHeight,
 
   66                                 bool keepAspectRatio = 
false, 
bool automaticallyScale = 
false)
 
   76 #endif // DGL_STANDALONE_WINDOW_HPP_INCLUDED 
  
void setHeight(uint height)
bool isVisible() const noexcept
void setGeometryConstraints(uint minimumWidth, uint minimumHeight, bool keepAspectRatio=false, bool automaticallyScale=false)
Definition: Window.hpp:50
double getScaleFactor() const noexcept
Definition: Application.hpp:36
bool isVisible() const noexcept
Definition: StandaloneWindow.hpp:48
uint getWidth() const noexcept
const GraphicsContext & getGraphicsContext() const noexcept
bool addIdleCallback(IdleCallback *callback, uint timerFrequencyInMs=0)
StandaloneWindow(Application &app)
Definition: StandaloneWindow.hpp:34
void repaint() noexcept
Definition: StandaloneWindow.hpp:55
void setVisible(bool visible)
void setWidth(uint width)
void setSize(uint width, uint height)
bool removeIdleCallback(IdleCallback *callback)
Definition: StandaloneWindow.hpp:27
StandaloneWindow(Application &app, Window &parentWindow)
Definition: StandaloneWindow.hpp:41
Size< uint > getSize() const noexcept
uint getHeight() const noexcept