17 #ifndef DGL_TOP_LEVEL_WIDGET_HPP_INCLUDED
18 #define DGL_TOP_LEVEL_WIDGET_HPP_INCLUDED
22 #ifdef DISTRHO_DEFINES_H_INCLUDED
23 START_NAMESPACE_DISTRHO
70 bool addIdleCallback(
IdleCallback* callback, uint timerFrequencyInMs = 0);
72 double getScaleFactor()
const noexcept;
75 void setGeometryConstraints(uint minimumWidth,
77 bool keepAspectRatio =
false,
78 bool automaticallyScale =
false);
80 DISTRHO_DEPRECATED_BY(
"getApp()")
83 DISTRHO_DEPRECATED_BY(
"getWindow()")
88 PrivateData*
const pData;
90 #ifdef DISTRHO_DEFINES_H_INCLUDED
91 friend class DISTRHO_NAMESPACE::UI;
101 #endif // DGL_TOP_LEVEL_WIDGET_HPP_INCLUDED
Definition: Window.hpp:50
Definition: Geometry.hpp:30
Definition: Application.hpp:34
Definition: DistrhoUI.hpp:67