Commit Graph

763 Commits

Author SHA1 Message Date
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
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 15142fd0a9.
2018-04-11 06:12:01 +02:00
twinaphex
15142fd0a9 (iOS) Buildfix 2018-04-10 19:22:39 +02:00
twinaphex
b6764c43db Buildfix 2018-04-09 19:09:00 +02:00
twinaphex
afe77527cd Some cleanups for C89_BUILD 2018-04-09 18:57:39 +02:00
Yoshi Sugawara
c44dd39dd6 Fixed crash when opening content using "open in..", support for keyboard mapper 2018-03-22 22:43:20 -10:00
aliaspider
5549b136c2 (msvc) CXX_BUILD + griffin fixes. 2018-02-05 00:25:03 +01:00
Twinaphex
ef4cc160a5 Update 2018-01-24 05:42:28 +01:00
aliaspider
5db96f35fa (WIN32) various build fixes. 2018-01-20 20:05:32 +01:00
twinaphex
61ff51be2f Start using string_is_equal predominantly 2018-01-16 22:53:38 +01:00
gblues
6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
twinaphex
faab2526c8 Create gl_bind_texture 2017-11-10 03:55:10 +01:00
twinaphex
8238545bef Cleanups 2017-10-04 06:53:47 +02:00
twinaphex
983e160e67 Convert file to C 2017-10-02 07:18:11 +02:00
twinaphex
e66ef15580 Remove another useless wrapper function 2017-10-01 17:17:53 +02:00
twinaphex
4639b2547d Rewrite another function 2017-09-29 19:09:11 +02:00
twinaphex
decea56c03 Rewrite menu_entry_get_path 2017-09-28 06:51:48 +02:00
twinaphex
b8e900cd32 Rewrite menu_entry_get_value 2017-09-28 06:32:49 +02:00
twinaphex
8f1523f659 (ui_win32.c) Style nits/cleanups 2017-09-07 16:42:34 +02:00
Brad Parker
0a1b3fedc0 VC6 support (targets NT 3.51) 2017-09-06 23:03:02 -04:00
Rob Loach
fa75f47995
Fix includes of input_config 2017-08-30 23:14:27 -04:00
twinaphex
00412c9836 More C89_BUILD fixes 2017-08-12 18:02:39 +02:00
twinaphex
9c32d03c1e (Vulkan/Win32) C89_BUILD fixes 2017-08-12 17:56:30 +02:00
twinaphex
805c2ad529 Buildfixes 2017-08-10 21:22:30 +02:00
Brad Parker
5d12368c83 fix extern C usage for msvc2005 2017-08-10 11:42:47 -04:00
twinaphex
dfd2c45454 Go through DragAcceptFiles function pointer for ui_win32_window too 2017-08-09 16:32:08 +02:00
twinaphex
b11620e1eb Add retro_timers.h/retro_math.h 2017-06-28 04:41:38 +02:00
twinaphex
449483206f Revert "New attempt to fix memory leaks of struct retro_system_info"
This reverts commit a1d3dd69dd.
2017-05-30 01:44:49 +02:00
twinaphex
a1d3dd69dd New attempt to fix memory leaks of struct retro_system_info
char variables
2017-05-29 22:24:10 +02:00
twinaphex
3fbed8df27 (Menu) Menu driver no longer uses a duplicate system info
struct
2017-05-28 17:21:57 +02:00
radius
a98c2c38c0 update copyrights 2017-05-23 19:55:47 -05:00
twinaphex
59b3344e72 Combine video_driver.c and video_shader_driver.c 2017-05-18 14:47:24 +02:00
twinaphex
ee8dc151a3 Combine menu_driver.c and menu_navigation.c 2017-05-17 03:00:32 +02:00
twinaphex
126a5bf121 Use string_is_equal_fast/string_is_not_equal_fast 2017-05-16 04:00:37 +02:00
twinaphex
bf3188eac4 Combine runloop_ctl and rarch_ctl 2017-05-15 05:06:23 +02:00
twinaphex
e2c7671e9f Create rarch_menu_running/rarch_menu_running_finished 2017-05-15 04:31:40 +02:00
twinaphex
80d9d1f143 Rewrite task_queue 2017-05-14 20:43:48 +02:00
twinaphex
6433cde3c0 Cleanups 2017-05-13 21:06:57 +02:00
twinaphex
42ebe7a7ad Merge runloop.c and retroarch.c 2017-05-11 09:11:46 +02:00
twinaphex
9dff2434ef Fix some structurally dead code warnings 2017-05-09 20:54:03 +02:00
twinaphex
f928e57064 Combine video_context_driver.c and video_driver.c 2017-05-09 01:25:59 +02:00
twinaphex
9fdcd926ad Buildfixes 2017-04-29 02:00:50 +02:00
twinaphex
7bbd20b31d Move int settings 2017-04-28 19:12:48 +02:00
twinaphex
09f108b4a7 (OSX) Buildfix 2017-04-28 15:09:43 +02:00
twinaphex
f50eabb13c (iOS) Buildfixes 2017-04-28 14:29:22 +02:00
twinaphex
cc095e56fc Start refactoring bool variables 2017-04-28 00:53:20 +02:00
twinaphex
ace37d2c7a Cleanups 2017-04-27 01:10:44 +02:00
twinaphex
13e4148996 (Menu) Cleanups 2017-04-23 20:22:41 +02:00
twinaphex
6667560263 (iOS) Buildfix 2017-04-23 14:37:06 +02:00
twinaphex
8e6b7a2751 Rewrite menu_entries function 2017-04-23 13:46:21 +02:00
twinaphex
6ebd4e139e Rewrite more string_is_equal call invocations as memcmp 2017-04-22 08:51:16 +02:00
Twinaphex
b7b3b2cb5f Try to prevent truckload of warnings on iOS 2017-02-26 10:33:03 +01:00
twinaphex
c2036e4aed (iOS) App Store versions cannot reference non-public selectors 2017-02-26 07:05:14 +01:00
Brad Parker
4e1b4d051d win32: copy selected file path from browser into core/content buffer 2017-02-21 15:29:16 -05:00
twinaphex
873a07030f (Win32) Buildfix 2017-02-21 17:33:51 +01:00
Twinaphex
2d239779a5 (OSX) Buildfix 2017-02-21 17:30:18 +01:00
twinaphex
d3e8e66b9f Create task_push_load_content_with_current_core_from_companion_ui 2017-02-21 17:29:30 +01:00
twinaphex
96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
twinaphex
e5b7b83b3f (ui) Style nits 2017-01-17 19:04:42 +01:00
twinaphex
d79fe15e9a Use wcstombs by default instead of relying on preprocessor detection
of Windows version
2017-01-17 10:49:33 +01:00
Brad Parker
e1f4db8081 Win2000 buildfixes 2017-01-16 20:41:08 -05:00
Brad Parker
061c13b84c fix XP runtime error with MinGW 2017-01-16 20:41:08 -05:00
Brad Parker
7c6bf6aaf7 fix msys2 compilation when opengl, vulkan and d3d9 are disabled 2017-01-16 20:41:08 -05:00
Brad Parker
c283c1eaf4 disable shader dialog until video_threaded issues are fixed 2017-01-16 19:26:28 -05:00
twinaphex
aae2b2a276 (ui_win32.c) Further cleanups 2017-01-17 00:59:29 +01:00
twinaphex
1709b6889f (ui_win32.c) Use stdstring.c 2017-01-16 23:32:28 +01:00
twinaphex
1f3409dba8 (ui_win32.c) Some minor cleanups 2017-01-16 23:27:55 +01:00
twinaphex
b3642df33f (ui_cocoa.m) Cleanups 2017-01-16 22:34:36 +01:00
twinaphex
8958e02b54 Don't invoke this at beginning of function 2017-01-16 22:17:44 +01:00
Brad Parker
4d2c767fcc do not zero entire string 2016-12-16 22:30:39 -05:00
Brad Parker
aede680cd7 no need to zero the entire string 2016-12-16 21:17:04 -05:00
Brad Parker
1d2600f5f3 fix memory corruption with windows file dialogs for load core/content 2016-12-16 21:11:08 -05:00
Diego Viola
4fed31fa26 Fix typos 2016-12-11 18:30:01 -02:00
Andrés Suárez
f9c3869b43 Merge branch 'master' into qt 2016-12-11 15:08:19 -05:00
radius
fd84613db5 get this working again 2016-11-19 21:19:56 -05:00
radius
26d0a6f2d0 simplify building 2016-11-19 20:18:44 -05:00
radius
ff3841ed7c get this building again 2016-11-14 21:03:46 -05:00
twinaphex
3d7fbd355e (Apple) Buildfixes 2016-10-22 17:41:26 +02:00
twinaphex
d08668b331 Rollback 4b807b482 - was unnecessary in hindsight anyway 2016-10-22 16:39:55 +02:00
twinaphex
4b807b482f Create runloop_poll 2016-10-20 02:17:17 +02:00
Twinaphex
183dc914c4 (Cocoa) Add stub scrollWheel callback 2016-10-05 02:00:11 +02:00
twinaphex
bf035b634b Updates 2016-10-01 09:49:15 +02:00
twinaphex
0f26cade79 Revert "Update GX/WIn32 builds"
This reverts commit 28a96fbb05.
2016-10-01 08:17:07 +02:00
Twinaphex
f5a38977d8 (OSX) Don't register click if we are on titlebar (we detect this for now
if y of location in windows' position is less than 0
2016-10-01 02:01:01 +02:00
twinaphex
e7513bec62 (Win32) Buildfix 2016-09-30 21:21:32 +02:00
twinaphex
da64bb0f0d (ui_cocoa) Cleanup main loop 2016-09-30 08:17:18 +02:00
twinaphex
28a96fbb05 Update GX/WIn32 builds 2016-09-30 06:39:47 +02:00
twinaphex
228886062b Create path_clear 2016-09-30 04:31:19 +02:00