17 #ifndef DGL_TOP_LEVEL_WIDGET_HPP_INCLUDED
18 #define DGL_TOP_LEVEL_WIDGET_HPP_INCLUDED
22 #ifdef DISTRHO_DEFINES_H_INCLUDED
104 const
void* getClipboard(
size_t& dataSize);
105 bool setClipboard(const
char* mimeType, const
void* data,
size_t dataSize);
106 bool setCursor(MouseCursor cursor);
107 bool addIdleCallback(
IdleCallback* callback, uint timerFrequencyInMs = 0);
109 double getScaleFactor() const noexcept;
110 void setGeometryConstraints(uint minimumWidth,
112 bool keepAspectRatio = false,
113 bool automaticallyScale = false,
114 bool resizeNowIfAutoScaling = true);
116 DISTRHO_DEPRECATED_BY("
getApp()")
119 DISTRHO_DEPRECATED_BY(
"getWindow()")
131 PrivateData*
const pData;
133 #ifdef DISTRHO_DEFINES_H_INCLUDED
134 friend class DISTRHO_NAMESPACE::UI;
137 virtual void requestSizeChange(uint width, uint height);
Definition: Application.hpp:43
Definition: Geometry.hpp:614
Definition: Geometry.hpp:133
Definition: DistrhoUI.hpp:78
Definition: Window.hpp:63
#define END_NAMESPACE_DISTRHO
Definition: DistrhoInfo.hpp:949
#define START_NAMESPACE_DISTRHO
Definition: DistrhoInfo.hpp:943