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
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
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
JP Cimalando
bcf84559a5
Set UTF8 window title using NetWM hints
5 years ago
falkTX
35cfb34053
Minor corrections
Signed-off-by: falkTX <falktx@falktx.com>
6 years ago
falkTX
2ed5e0a665
Handle scaling of plugins via host (TESTING)
Signed-off-by: falkTX <falktx@falktx.com>
6 years ago
falkTX
78d8ac03db
Only use get_current_dir_name on Linux
Signed-off-by: falkTX <falktx@falktx.com>
6 years ago
falkTX
4608cb7fc6
Only use get_current_dir_name on Linux
Signed-off-by: falkTX <falktx@falktx.com>
6 years ago
falkTX
1623dd7b85
Introduce DISTRHO_UI_USER_RESIZABLE macro, remove runtime checks
Signed-off-by: falkTX <falktx@falktx.com>
6 years ago
falkTX
4661d1461e
Add Window::isEmbed() method, for convenience
Signed-off-by: falkTX <falktx@gmail.com>
6 years ago
falkTX
b4f40f60bd
Add Window::isEmbed() method, for convenience
Signed-off-by: falkTX <falktx@gmail.com>
6 years ago
falkTX
204fbeb807
Adjustments for Cairo, and general cleanup
Signed-off-by: falkTX <falktx@gmail.com>
6 years ago
falkTX
a300669099
Do not use pugl context detection during runtime
Signed-off-by: falkTX <falktx@gmail.com>
6 years ago
JP Cimalando
c6f5d34be6
dgl: add the Context structure
6 years ago
JP Cimalando
2795c66b16
rewrite preprocessor conditionals in simplified form
6 years ago
JP Cimalando
e697fa716e
rename `getGraphics` to `getContext`
6 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>
6 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
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
aa6ada4ece
Add get/set scaling to Window
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
c61e0ecd2e
Delete yet another file, assume pugl with GL
6 years ago
falkTX
6604655e6b
Import minor DGL fixes from Carla
6 years ago
falkTX
40d8865d29
Set _NET_WM_WINDOW_TYPE for our X11 windows
6 years ago
falkTX
16d33d5d4e
Fix a few minor warnings
6 years ago
falkTX
d49366db69
Fix rendering of subwidgets
6 years ago
falkTX
6de5fc3285
Fix pugl namespace under macOS
Closes #34
7 years ago
falkTX
279c265361
Implement transient windows for Windows and macOS
7 years ago
falkTX
d6d1d3b55c
Add DGL_NO_SHARED_RESOURCES; Fix build
7 years ago
falkTX
f0cca0af92
Misc changes
7 years ago
falkTX
0393d1e429
Add DGL_FILE_BROWSER_DISABLED to optionaly disable file browser
7 years ago
falkTX
07cf566b64
Testing: handle effEditKeyUp/Down from host
Completely untested right now
7 years ago
falkTX
fa54750583
Testing: handle effEditKeyUp/Down from host
Completely untested right now
7 years ago
falkTX
07174f4fc4
Use linux (X11) as fallback in Window.cpp code
8 years ago
falkTX
de41152255
Use linux as OS fallback if not mac or windows
8 years ago
falkTX
1e83d2a9ce
OSX related fixes; Add 'MACOS_OLD=true' if using apple-gcc4.2
9 years ago
falkTX
5d70c8a977
Update copyright dates; Add license header comment to utility code
9 years ago
falkTX
7365b4886c
Fix some small leaks
9 years ago
falkTX
e65346c24a
Pass non-handled keyboard events to parent window (X11 only)
Closes #2
9 years ago
falkTX
b5c4ef84bd
Fix build
10 years ago
falkTX
c4008e3368
Hide some implementation details on private structs
10 years ago
falkTX
12061de4ca
App->Application; Use class namespace by default; Misc fixes
10 years ago
falkTX
655aabc0e1
Fix mouse handling for ImageButton; Send motion event when modal closes
10 years ago
falkTX
c6789d1889
Very raw, preliminar subwidgets implementation
10 years ago