falkTX
27c173f68f
Allow to call Application::quit() from plugins
3 years ago
falkTX
8a702c3672
Show macOS transient and standalone windows nicely centered
3 years ago
falkTX
f819392569
Move setIgnoreIdleCallbacks to a proper place, before UI creation
3 years ago
falkTX
5618819a3c
Ignore idle callbacks when creating temp windows, e.g. VST2 rect
3 years ago
falkTX
6f89fd3d21
Better handling of transient windows, using ScopedGraphicsContext
3 years ago
lucianoiam
0aa4fd4854
Prevent some compilation warnings on MinGW ( #324 )
* Prevent some compilation warnings on MinGW
* Narrower scope for fix in 39bf2c5
* Repeat 1994d33
for pugl.cpp
3 years ago
falkTX
ccece16081
Add OFN_EX_NOPLACESBAR for win32 file dialog as needed
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
3b4b9460fe
Some little flags usage for win32 file dialogs
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
576ffb6afc
Add and use puglX11SetWindowTypeAndPID as old code used to do
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
f618b33772
sofd tweaks and implement button options
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
7e110bfe17
Try to map file browser flags
3 years ago
falkTX
283e9c3dab
Fix some compiler warnings
3 years ago
falkTX
b2e683e411
Use default monitor for parent-less external UI on win32
3 years ago
falkTX
68de708d3b
Add EmbedExternalUI to default make build
3 years ago
falkTX
efa123fd94
Fix typo
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
2befed18ce
Remove old gl-examples link, fix kx.studio chat link
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
lucianoiam
6d1cd5d857
Bugfix: build error with DISTRHO_PLUGIN_HAS_EXTERNAL_UI ( #323 )
* Bugfix: build error with DISTRHO_PLUGIN_HAS_EXTERNAL_UI
Update DIstrhoUI.cpp to include X11 headers before DPF stuff to prevent
X11 Window and DGL:Window from clashing.
* External UI: avoid including a DGL header
3 years ago
Jean Pierre Cimalando
953841754f
cmake: Generate the VST as a bundle on macOS
3 years ago
falkTX
a61cb185b6
Correct external ui scale factor code
3 years ago
falkTX
6bbe8e8a75
Fix tests on macOS
3 years ago
falkTX
37e6922b31
Set desktop scale factor for external uis if not provided by host
3 years ago
falkTX
dbbfef6dc3
EmbedExternalUI: Initial code for win32
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
lucianoiam
25d7902818
Bugfix: EmbedExternalExampleUI resizing on Mac ( #319 )
* Bugfix: EmbedExternalExampleUI resizing on Mac
* Make 6618e99
follow existing ObjC code style
Also allow uiIdle() to run for X11
3 years ago
falkTX
68edcd6926
Add more badges
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
4ffe8feba4
Replace build status badge
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
c1f2d7f47a
Add width/height as parameters of embed-ext-ui for easier testing
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
d3bd0ec61b
Add UI::sizeChanged as needed for external UIs
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
7c5a6db2c3
Add a few comments
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
12b54c7056
Sort out situation with some standalone windows
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
osch
4d6774fb0f
on macOS: don't include pugl.mm for external UIs
3 years ago
Luciano Iam
f9fcf3fd3d
Partial UI_TYPE=external support on Windows
Standalone target is broken, plugin works.
3 years ago
falkTX
df6d7f5037
Alternative to last commit
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
0f0ab3588d
Add DGL_USE_OPENGL3 build test to CI
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
23ac1c2e91
Use apple gl3 headers as needed; Allow build with glew
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
610477ec0f
Bind a few more windows GL functions if GL3 enabled
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
b9f36d2300
Allow puglRealize to fail
3 years ago
falkTX
3370cdb78d
Do not crash if all X11 fails
3 years ago
falkTX
33a661fe0e
Less annoying nanovg error logs when it fails to initialize
3 years ago
falkTX
11c532346a
Use nanovg in GL3 mode when DGL_USE_OPENGL3 is defined
3 years ago
falkTX
144a2a98c6
Fix tests rebuild
3 years ago
falkTX
0c33dcc8d4
Fix isStandalone for external window; More macOS tests
3 years ago
falkTX
e8ce902285
Cleanup
3 years ago
falkTX
066319187a
Give focus to standalone uis on init; Fix macOS embed external ui
3 years ago
falkTX
b755b07abf
Fix embed-external-ui x11 version crash on close, missing map
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
beb179ac09
More embed-external-ui example macOS code, but still no window :(
3 years ago
falkTX
a0f9667cc6
Start tests with mpv
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
34154b473e
Forgot to set isStandalone
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
e59b5a5c15
Reorganize ExternalWindow methods and add documentation
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
afcc3a98ac
More tests for embed ui example, add some macOS code
3 years ago
falkTX
9110e50099
Fix tests after typo fix
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago