17 #ifndef DGL_WINDOW_HPP_INCLUDED 18 #define DGL_WINDOW_HPP_INCLUDED 20 #include "Geometry.hpp" 22 START_NAMESPACE_DISTRHO
37 #ifndef DGL_FILE_BROWSER_DISABLED 74 #endif // DGL_FILE_BROWSER_DISABLED 84 void exec(
bool lockWait =
false);
87 void repaint() noexcept;
89 #ifndef DGL_FILE_BROWSER_DISABLED 93 bool isVisible()
const noexcept;
94 void setVisible(
bool yesNo);
96 bool isResizable()
const noexcept;
97 void setResizable(
bool yesNo);
99 uint getWidth()
const noexcept;
100 uint getHeight()
const noexcept;
102 void setSize(uint width, uint height);
105 const char* getTitle()
const noexcept;
106 void setTitle(
const char* title);
108 void setTransientWinId(uintptr_t winId);
111 intptr_t getWindowId()
const noexcept;
117 virtual void onDisplayBefore();
118 virtual void onDisplayAfter();
119 virtual void onReshape(uint width, uint height);
120 virtual void onClose();
122 #ifndef DGL_FILE_BROWSER_DISABLED 123 virtual void fileBrowserSelected(
const char* filename);
128 PrivateData*
const pData;
132 friend class DISTRHO_NAMESPACE::UIExporter;
134 virtual void _addWidget(
Widget*
const widget);
135 virtual void _removeWidget(
Widget*
const widget);
138 bool handlePluginKeyboard(
const bool press,
const uint key);
139 bool handlePluginSpecial(
const bool press,
const Key key);
141 DISTRHO_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(
Window)
148 #endif // DGL_WINDOW_HPP_INCLUDED FileBrowserOptions()
Definition: Window.hpp:67
Definition: Window.hpp:34
Definition: StandaloneWindow.hpp:28
Definition: Window.hpp:41
Definition: Application.hpp:41