17 #ifndef DGL_STANDALONE_WINDOW_HPP_INCLUDED 
   18 #define DGL_STANDALONE_WINDOW_HPP_INCLUDED 
   20 #include "TopLevelWidget.hpp" 
   43       : 
Window(app, transientParentWindow),
 
   45         sgc((
Window&)*this, transientParentWindow) {}
 
   69     void setSize(uint width, uint height) { 
Window::setSize(width, height); }
 
   71     bool addIdleCallback(
IdleCallback* callback, uint timerFrequencyInMs = 0)
 
   77     void setGeometryConstraints(uint minimumWidth, uint minimumHeight,
 
   78                                 bool keepAspectRatio = 
false, 
bool automaticallyScale = 
false)
 
   82     ScopedGraphicsContext sgc;
 
Definition: Application.hpp:43
 
Definition: StandaloneWindow.hpp:29
 
StandaloneWindow(Application &app)
Definition: StandaloneWindow.hpp:34
 
void done()
Definition: StandaloneWindow.hpp:51
 
bool isVisible() const noexcept
Definition: StandaloneWindow.hpp:59
 
StandaloneWindow(Application &app, Window &transientParentWindow)
Definition: StandaloneWindow.hpp:42
 
void repaint() noexcept
Definition: StandaloneWindow.hpp:66
 
Definition: Window.hpp:63
 
void setVisible(bool visible)
 
void setHeight(uint height)
 
bool removeIdleCallback(IdleCallback *callback)
 
uint getHeight() const noexcept
 
bool isVisible() const noexcept
 
double getScaleFactor() const noexcept
 
void setSize(uint width, uint height)
 
Application & getApp() const noexcept
 
void setGeometryConstraints(uint minimumWidth, uint minimumHeight, bool keepAspectRatio=false, bool automaticallyScale=false, bool resizeNowIfAutoScaling=true)
 
const GraphicsContext & getGraphicsContext() const noexcept
 
uint getWidth() const noexcept
 
Size< uint > getSize() const noexcept
 
void setWidth(uint width)
 
bool addIdleCallback(IdleCallback *callback, uint timerFrequencyInMs=0)