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).
4 years ago
JP Cimalando
8ed673ee16
Add the `VERBOSE` option to makefiles
5 years ago
falkTX
06340e3c16
More haiku tests & changes (full mouse tracking, lock looper)
5 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!
5 years ago
falkTX
700762a5b5
Fix haiku.cpp file to use unix line endings
5 years ago
falkTX
b24777bce0
Fix previous commit; Enable cairo in CI Linux builds
5 years ago
falkTX
14b4536aad
Reorder some code and add stubs for HaikuOS support
Signed-off-by: falkTX <falktx@falktx.com>
5 years ago
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
6 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
6 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