649 Commits

Author SHA1 Message Date
Brad Parker
04d5e6368e Merge branch 'master' into qt_grid 2018-07-02 11:52:04 -04:00
Brad Parker
15924e5d9b fix "runtime error: member call on null pointer of type 'struct AppHandler'" 2018-06-27 13:25:13 -04:00
Stuart Carnie
eacd52f009 fix(Metal): improve shader stability
* use MTKView, which handles layer and scaling changes automatically
  between displays
2018-06-23 13:33:27 -07:00
Twinaphex
511044270b Fix iOS build 2018-06-21 08:37:08 +02:00
twinaphex
837cf84fc8 Put this around an ifdef 2018-06-21 08:26:27 +02:00
Stuart Carnie
411bcf8bdd feat(apple): Metal support for macOS
* includes rgui
* shader support

This is a work-in-progress and there are some bugs and visual artifacts
still to be fixed.
2018-06-20 21:33:45 -07:00
Brad Parker
8d886751b9 Merge branch 'master' into qt_grid 2018-05-28 18:16:13 -04:00
Brad Parker
8c6bc4a678 Qt: update UI after loading every 25 grid items, keep grid from mixing up content from multiple playlists if the user switches to a new one before one is finished loading 2018-05-28 18:14:36 -04:00
Stuart Carnie
789933b333 wip: add Vulkan support to Apple platforms 2018-05-13 21:35:23 +02:00
Dwedit
387d4d87eb Fix core selection appearing unnecessarily
Re-order the dialog items in core selection dialog to make the listbox have focus
Removed the "do wm close" stuff.
2018-05-09 21:04:23 -05:00
Dwedit
f3f0d4f787 Unify File Open and File Drag Drop code
* Code in `win32_drag_query_file` was split off into `win32_load_content_from_gui`
* File Open dialog now uses the same code as drag drop instead of the non-working code that was in there before.
* File Dialog and Core Select Dialog show and hide mouse cursor if they were invoked in fullscreen mode
2018-05-09 21:04:23 -05:00
Brad Parker
03e0510fc4 Qt: use guarded pointer for adding grid items to layout, in case playlist is changed (and hence the items get deleted) before they are all added 2018-05-07 14:29:54 -04:00
twinaphex
1e42e8f58c (Qt) Add translatable string for 'Clear' 2018-05-07 15:37:54 +02:00
Brad Parker
649216c700 Qt: add view menu option to change between icon/list views 2018-05-07 02:36:00 -04:00
Brad Parker
faf52937c5 Qt: buildfix 2018-05-07 00:07:12 -04:00
Brad Parker
2a784ae1bc Qt: remove mutex, defer loading of grid items into layout, use guarded pointers for exec() operations, misc cleanup 2018-05-06 20:50:54 -04:00
Tatsuya79
425da219c6
QT remove button ghostly inside highlighting 2018-05-06 17:05:21 +02:00
Brad Parker
de71a4dee7 Qt: general performance improvements, fix crash on switching playlists quickly in grid view, prevent initial loading of grid items from blocking 2018-05-06 01:36:47 -04:00
Brad Parker
d55b1a0ad4 Qt: only check for pending events of the main thread 2018-05-05 23:17:30 -04:00
Brad Parker
c2ad8d47d3 Qt: only check for pending events of the main thread 2018-05-05 22:57:29 -04:00
Brad Parker
8e7e530747 Qt: fix crash on switching playlists quickly 2018-05-05 17:02:03 -04:00
Brad Parker
a082ea7d76 Qt: remove zoom layout margins 2018-05-04 12:05:53 -04:00
Tatsuya79
658ffb8951
QT QSlider styling 2018-05-04 12:11:53 +02:00
Brad Parker
fc3251b6a9 Qt: use non-linear scale for zoom slider 2018-05-03 23:58:15 -04:00
Brad Parker
e372bb5320 Qt: cut maximum zoom slider value in half 2018-05-03 22:10:45 -04:00
Brad Parker
0f2262f065 Qt: fix thumbnail image loading 2018-05-03 22:05:12 -04:00
Brad Parker
6cab8cf139 Qt: fix some grid images not drawing properly 2018-05-03 22:05:12 -04:00
Brad Parker
c10e65e99e Qt: support image playlist in grid layout 2018-05-03 22:05:12 -04:00
Brad Parker
c42ad9fbb9 Qt: respect current zoom level when changing playlists 2018-05-03 22:05:12 -04:00
Brad Parker
758d484874 Qt: use primary screen size divided by 8 for grid item size 2018-05-03 22:05:12 -04:00
Brad Parker
5fa0d75bd7 adjust zoom factors 2018-05-03 22:05:12 -04:00
Brad Parker
8752996018 Qt: add grid zoom slider 2018-05-03 22:05:12 -04:00
Brad Parker
f79ba4885a Qt: threaded grid image loading 2018-05-03 22:05:12 -04:00
Brad Parker
5f7abb068b Qt: initial grid layout work 2018-05-03 22:05:12 -04:00
Brad Parker
19f6798947 Qt: make sure we are inited before calling into the driver 2018-05-03 21:47:21 -04:00
twinaphex
9f80092bbb Updates 2018-05-03 21:29:58 +02:00
Twinaphex
356cd47ce8 Silence some unused variable warnings 2018-05-03 19:35:27 +02:00
Tatsuya79
49177bdd93
QT restore preferences if they exist 2018-05-03 13:42:25 +02:00
Brad Parker
4785893847 Qt: select the first visible item, which may not be row 0 2018-05-02 01:16:17 -04:00
Brad Parker
0ed2a5307d Qt: always free string list 2018-05-02 01:16:17 -04:00
Brad Parker
eb549fdc17 Qt: can't get core info if there isn't any 2018-05-01 18:17:28 -04:00
Brad Parker
e3712182bd Qt: only init new UI the first time it is about to be shown 2018-05-01 17:47:12 -04:00
twinaphex
b650d484f4 (Qt) Change label to Clear 2018-05-01 04:35:02 +02:00
Brad Parker
4df26353dd Qt: add option (off by default) to suggest the currently loaded core first 2018-04-30 20:33:28 -04:00
Brad Parker
f2f37a3309 Qt: refocus UI when unloading core/content 2018-04-30 19:52:21 -04:00
twinaphex
bf084da088 (ui_companion_driver) cleanups 2018-05-01 01:29:17 +02:00
Brad Parker
71257adb8e Qt: add setting in User Interface to enable use of the desktop menu in general (disabling it may improve startup time if desktop menu is not being used) 2018-04-30 19:11:38 -04:00
Tatsuya79
dbdef08a90
small text style change 2018-04-30 23:02:18 +02:00
Brad Parker
a1aefc901c Qt WIMP GUI 2018-04-30 14:33:05 -04:00
twinaphex
146c94a86a Revert "(iOS) Buildfix"
This reverts commit 15142fd0a98b0761c883366f817dd92326352ab9.
2018-04-11 06:12:01 +02:00