631 Commits

Author SHA1 Message Date
Brad Parker
f0b0be898a Qt: draw border around selected grid item 2018-07-25 00:29:48 -04:00
Brad Parker
d17c17085c Qt: hook up search box to grid view 2018-07-24 17:07:17 -04:00
Brad Parker
baa709632d Qt: sort grid entries by name 2018-07-24 15:10:29 -04:00
Brad Parker
c8a814ae40 Qt: hook up grid view click/doubleclick events 2018-07-23 11:17:58 -04:00
Brad Parker
1293447aab Qt: hide progress properly when done showing "all playlists" if user only has a single playlist 2018-07-23 09:44:24 -04:00
Brad Parker
f78337e02e Qt: add progress bar for grid view loading 2018-07-22 22:05:57 -04:00
Brad Parker
75ce796c34 Merge branch 'master' into qt_grid 2018-07-22 20:03:55 -04:00
Stuart Carnie
0291c41afa fix(Metal): Fix blank screen after full screen toggle; window focus 2018-07-14 11:18:21 -07:00
Stuart Carnie
74e1f24e90 feat(Metal): Full screen support
* I believe there is a race condition where the viewport is not set
  correctly on launch
2018-07-06 23:38:34 -07:00
Stuart Carnie
d1712d7c5a fix(macOS): Fix older targets 2018-07-04 15:26:49 -07:00
Stuart Carnie
d8061ac0e9 fix(macOS): Use correct availability macro check 2018-07-04 14:19:05 -07:00
Stuart Carnie
c7b21d5bd6 feat(Metal): Add support to disable display sleep (no screen saver) 2018-07-04 13:13:03 -07:00
Stuart Carnie
8a298616aa chore(cocoa): reformat (3 spaces, etc) 2018-07-04 00:24:47 -07:00
Stuart Carnie
5240efc857 chore(Metal): fix compiler warnings when targeting newer macOS versions 2018-07-04 00:24:04 -07:00
Stuart Carnie
a0900ec433 feat(Metal): full xmb pipeline support
Menu TODOs:

* understand why ribbon does not look the same as GL
* add clear support to `MenuDisplay` for glui
2018-07-03 22:32:12 -07:00
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
Tatsuya79
49177bdd93
QT restore preferences if they exist 2018-05-03 13:42:25 +02:00