This website works better with JavaScript.
Home
Help
Sign In
DISTRHO
/
DPF
mirror of
https://github.com/DISTRHO/DPF
Watch
1
Star
0
Fork
0
Code
Releases
0
Activity
Browse Source
Add Window::isEmbed() method, for convenience
Signed-off-by: falkTX <falktx@gmail.com>
pull/132/head
falkTX
5 years ago
parent
1503c4eccb
commit
4661d1461e
Signed by:
falkTX
<falktx@gmail.com>
GPG Key ID:
2D3445A829213837
2 changed files
with
7 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
dgl/Window.hpp
+5
-0
dgl/src/Window.cpp
+ 2
- 0
dgl/Window.hpp
View File
@@ -92,6 +92,8 @@ public:
bool openFileBrowser(const FileBrowserOptions& options);
#endif
bool isEmbed() const noexcept;
bool isVisible() const noexcept;
void setVisible(bool yesNo);
+ 5
- 0
dgl/src/Window.cpp
View File
@@ -1270,6 +1270,11 @@ bool Window::openFileBrowser(const FileBrowserOptions& options)
}
#endif
bool Window::isEmbed() const noexcept
{
return pData->fUsingEmbed;
}
bool Window::isVisible() const noexcept
{
return pData->fVisible;
Write
Preview
Loading…
Cancel
Save