falkTX
340273fac2
Place -Wcast-function-type ignore under >= 10 version check
Signed-off-by: falkTX <falktx@falktx.com>
2 years ago
Jean Pierre Cimalando
11ff1deb26
Eliminate function cast warnings with OpenGL
2 years ago
Jean Pierre Cimalando
f129ffbc8e
Add a WGL extension needed for NanoVG
2 years ago
Jean Pierre Cimalando
ac7e275981
Compatibility changes also to the unused nanoVG FT backend
2 years ago
Jean Pierre Cimalando
89edb00dce
Keep pixel-based font sizes, for backward compatibility
3 years ago
Jean Pierre Cimalando
e38b4b7d6e
Update NanoVG
3 years ago
Damien Zammit
68ca91217d
Make mousewheel delta independent of window size, fixes #95
2 years ago
falkTX
220d36446e
Set GLX_STENCIL_SIZE to 8 in pugl_x11.c
Fixes #217
3 years ago
JP Cimalando
4c3b7d9630
Fix user-resizable embedded window in Reaper Mac
This will inhibit applying the auto-resize mask until
the initial size has been set in the PuglView. Initially,
DPF would set this size to (1, 1).
3 years ago
JP Cimalando
8ed673ee16
Add the `VERBOSE` option to makefiles
4 years ago
falkTX
06340e3c16
More haiku tests & changes (full mouse tracking, lock looper)
4 years ago
falkTX
20a464142a
Incomplete but sorta working initial Haiku support, WIP
See https://nextcloud.falktx.com/s/SGsiLLHJ7Qn4PDj/preview
and https://nextcloud.falktx.com/s/w7qsZigFNTHFrmw/preview
Great times ahead!
4 years ago
falkTX
700762a5b5
Fix haiku.cpp file to use unix line endings
4 years ago
falkTX
b24777bce0
Fix previous commit; Enable cairo in CI Linux builds
4 years ago
falkTX
14b4536aad
Reorder some code and add stubs for HaikuOS support
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
JP Cimalando
daad976911
nanovg: check openGL function validity on next inits
4 years ago
JP Cimalando
b4d02d7920
nanovg: guard loadSharedResources against init failure
4 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
4 years ago
JP Cimalando
1ae79e9a53
sofd: skip strcpy in case of same source and destination
4 years ago
JP Cimalando
7066dd1b54
cairo: define geometry functions, fixes debug link
4 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.
4 years ago
JP Cimalando
a7706f24a3
Add simple file selection for Windows ( #152 )
* Add simple file selection for Windows
* Fake async for Windows file dialogs
4 years ago
falkTX
0a65c4f83e
Fix build with headers in custom path
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
JP Cimalando
bcf84559a5
Set UTF8 window title using NetWM hints
4 years ago
falkTX
35cfb34053
Minor corrections
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
2ed5e0a665
Handle scaling of plugins via host (TESTING)
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
78d8ac03db
Only use get_current_dir_name on Linux
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
4608cb7fc6
Only use get_current_dir_name on Linux
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
1623dd7b85
Introduce DISTRHO_UI_USER_RESIZABLE macro, remove runtime checks
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
4661d1461e
Add Window::isEmbed() method, for convenience
Signed-off-by: falkTX <falktx@gmail.com>
4 years ago
falkTX
1503c4eccb
Fix Size::isValid() check
Signed-off-by: falkTX <falktx@gmail.com>
4 years ago
falkTX
56076b1a02
Cleanup, reorder cairo stuff to be first
Signed-off-by: falkTX <falktx@gmail.com>
4 years ago
JP Cimalando
409c581f29
Widget drawing with cairo in local coordinates
4 years ago
JP Cimalando
d9f3c75d20
Fix a build failure with parallel make ( #129 )
4 years ago
falkTX
b4f40f60bd
Add Window::isEmbed() method, for convenience
Signed-off-by: falkTX <falktx@gmail.com>
4 years ago
falkTX
1f1302c319
Fix Size::isValid() check
Signed-off-by: falkTX <falktx@gmail.com>
4 years ago
falkTX
115a0ff4a9
Set DONT_SET_USING_DGL_NAMESPACE macro when building dgl libs
Signed-off-by: falkTX <falktx@gmail.com>
4 years ago
falkTX
204fbeb807
Adjustments for Cairo, and general cleanup
Signed-off-by: falkTX <falktx@gmail.com>
4 years ago
falkTX
a300669099
Do not use pugl context detection during runtime
Signed-off-by: falkTX <falktx@gmail.com>
4 years ago
JP Cimalando
7125eaace4
double buffering for Cairo on Windows
4 years ago
JP Cimalando
45af377459
double buffering for Cairo on X11
4 years ago
JP Cimalando
c6f5d34be6
dgl: add the Context structure
4 years ago
JP Cimalando
2795c66b16
rewrite preprocessor conditionals in simplified form
4 years ago
JP Cimalando
ff3308ea44
pugl osx: event handling code in common functions
4 years ago
JP Cimalando
08c21e563b
support C++98 in Color::fromHSL
4 years ago
JP Cimalando
e697fa716e
rename `getGraphics` to `getContext`
4 years ago
JP Cimalando
d80c799b8c
software rendering with Cairo
4 years ago
falkTX
cf980eb2a0
Partially reverts a1748a1a9f
See #90
Signed-off-by: falkTX <falktx@gmail.com>
4 years ago
Christopher Arndt
a4fe3ac328
Fix parameter name in ImageSwitch callback method signature ( #92 )
4 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
4 years ago