JP Cimalando
daad976911
nanovg: check openGL function validity on next inits
5 years ago
JP Cimalando
b4d02d7920
nanovg: guard loadSharedResources against init failure
5 years ago
JP Cimalando
5dff90ad27
add file dialog for macOS ( #161 )
* add file dialog for macOS
* mac: use the 10.6 setDirectory API
* mac: rewrite file dialog without a for-each loop
* some minor style changes
* mac: use file dialog compatibility API, not using blocks
* add some copyright notices
5 years ago
JP Cimalando
1ae79e9a53
sofd: skip strcpy in case of same source and destination
5 years ago
JP Cimalando
7066dd1b54
cairo: define geometry functions, fixes debug link
5 years ago
falkTX
cc720fe821
win32: clear file dialog string before triggering callback
Things would go weird if a plugin opens a new file dialog in the
file callback, prevent this by clearing the string before the callback.
5 years ago
JP Cimalando
a7706f24a3
Add simple file selection for Windows ( #152 )
* Add simple file selection for Windows
* Fake async for Windows file dialogs
5 years ago
falkTX
0a65c4f83e
Fix build with headers in custom path
Signed-off-by: falkTX <falktx@falktx.com>
5 years ago
JP Cimalando
bcf84559a5
Set UTF8 window title using NetWM hints
5 years ago
falkTX
35cfb34053
Minor corrections
Signed-off-by: falkTX <falktx@falktx.com>
5 years ago
falkTX
2ed5e0a665
Handle scaling of plugins via host (TESTING)
Signed-off-by: falkTX <falktx@falktx.com>
5 years ago
falkTX
78d8ac03db
Only use get_current_dir_name on Linux
Signed-off-by: falkTX <falktx@falktx.com>
5 years ago
falkTX
4608cb7fc6
Only use get_current_dir_name on Linux
Signed-off-by: falkTX <falktx@falktx.com>
5 years ago
falkTX
1623dd7b85
Introduce DISTRHO_UI_USER_RESIZABLE macro, remove runtime checks
Signed-off-by: falkTX <falktx@falktx.com>
5 years ago
falkTX
4661d1461e
Add Window::isEmbed() method, for convenience
Signed-off-by: falkTX <falktx@gmail.com>
5 years ago
falkTX
1503c4eccb
Fix Size::isValid() check
Signed-off-by: falkTX <falktx@gmail.com>
5 years ago
falkTX
56076b1a02
Cleanup, reorder cairo stuff to be first
Signed-off-by: falkTX <falktx@gmail.com>
5 years ago
JP Cimalando
409c581f29
Widget drawing with cairo in local coordinates
5 years ago
JP Cimalando
d9f3c75d20
Fix a build failure with parallel make ( #129 )
5 years ago
falkTX
b4f40f60bd
Add Window::isEmbed() method, for convenience
Signed-off-by: falkTX <falktx@gmail.com>
5 years ago
falkTX
1f1302c319
Fix Size::isValid() check
Signed-off-by: falkTX <falktx@gmail.com>
5 years ago
falkTX
115a0ff4a9
Set DONT_SET_USING_DGL_NAMESPACE macro when building dgl libs
Signed-off-by: falkTX <falktx@gmail.com>
5 years ago
falkTX
204fbeb807
Adjustments for Cairo, and general cleanup
Signed-off-by: falkTX <falktx@gmail.com>
5 years ago
falkTX
a300669099
Do not use pugl context detection during runtime
Signed-off-by: falkTX <falktx@gmail.com>
5 years ago
JP Cimalando
7125eaace4
double buffering for Cairo on Windows
5 years ago
JP Cimalando
45af377459
double buffering for Cairo on X11
5 years ago
JP Cimalando
c6f5d34be6
dgl: add the Context structure
5 years ago
JP Cimalando
2795c66b16
rewrite preprocessor conditionals in simplified form
5 years ago
JP Cimalando
ff3308ea44
pugl osx: event handling code in common functions
5 years ago
JP Cimalando
08c21e563b
support C++98 in Color::fromHSL
5 years ago
JP Cimalando
e697fa716e
rename `getGraphics` to `getContext`
5 years ago
JP Cimalando
d80c799b8c
software rendering with Cairo
5 years ago
falkTX
cf980eb2a0
Partially reverts a1748a1a9f
See #90
Signed-off-by: falkTX <falktx@gmail.com>
5 years ago
Christopher Arndt
a4fe3ac328
Fix parameter name in ImageSwitch callback method signature ( #92 )
5 years ago
Patrick Desaulniers
fe371d491d
Allow disabling logs in Window class ( #80 )
* Allow disabling logs in Window class
* Replace DISABLE_WINDOW_LOGS with DGL_DEBUG_EVENTS
5 years ago
Patrick Desaulniers
0078e735f7
Allow negative rotation angle
6 years ago
falkTX
1770a175bd
Expose get/setIgnoringKeyRepeat in Window class
Fixes #15
6 years ago
falkTX
a1748a1a9f
Assume Windows to be resizable by default; Add UI::isUserResizable
6 years ago
falkTX
981e61a807
Small adjustments to Window
6 years ago
falkTX
285b6b8b79
Only render and resize once per cycle
6 years ago
falkTX
49bccdf862
Don't set background pixel for X11, fixes resize flicker
6 years ago
falkTX
aa6ada4ece
Add get/set scaling to Window
6 years ago
falkTX
2d02c43c6d
Fix build and fix a few typos
6 years ago
falkTX
7cf42d65eb
Allow plugin UIs to be user-resizable, test with info example
6 years ago
falkTX
72279b8e7c
Update pugl base files and X11 code
6 years ago
falkTX
d2c6e7df2a
Whitespace
6 years ago
falkTX
c61e0ecd2e
Delete yet another file, assume pugl with GL
6 years ago
falkTX
7f200c0126
Remove 2 more unused files, assume pugl always static
6 years ago
falkTX
0c9e336057
Remove unused file
6 years ago
falkTX
6604655e6b
Import minor DGL fixes from Carla
6 years ago