Commit Graph

833 Commits

Author SHA1 Message Date
Brad Parker 558a732330 Qt: add right-click option to edit playlist entries, fix bug with extra .lpl extension in playlists 2018-07-29 23:51:23 -04:00
Brad Parker 2faa250174 Qt: throttle status bar messages 2018-07-28 23:15:00 -04:00
Brad Parker fea09f7382 Qt: add right-click menu to delete playlist items 2018-07-28 22:34:00 -04:00
Brad Parker 978edc7acf Qt: always set the current tab on startup 2018-07-28 18:46:51 -04:00
Twinaphex fb3b5df350
Merge pull request #7022 from bparker06/qt_playlist
Qt: ability to add/delete playlists and drag&drop files into a playlist
2018-07-28 18:29:07 +02:00
Brad Parker 8835e2d9a2 Qt: add delete key option to list/grid view to remove playlist items 2018-07-28 11:48:24 -04:00
Brad Parker c883a81c42 Qt: only allow dropping files onto center list/grid view 2018-07-28 10:39:21 -04:00
Tatsuya79 963e19b42b Update ui_qt_themes.h (#7021)
* Update ui_qt_themes.h

* Update ui_qt_window.cpp
2018-07-28 07:54:25 -04:00
Brad Parker 489601fadb Qt: allow right-click in empty portion of playlist widget 2018-07-27 23:52:27 -04:00
Brad Parker 45d38dcccf Qt: add dialog to choose core/database for new playlist entries 2018-07-27 23:45:48 -04:00
Brad Parker fcdeebe672 Qt: initial drag&drop to add playlist entries. no scanning or filtering yet 2018-07-26 23:35:17 -04:00
Brad Parker be952a9d14 Qt: add options for new/delete playlist 2018-07-26 11:23:51 -04:00
Brad Parker e9c4192e9b Qt: fix grid label text getting cut off on Windows, do not change size of grid items when selected 2018-07-26 11:14:01 -04:00
Brad Parker 0e86c664ce Qt: add tooltips to show entire grid label text 2018-07-25 19:52:08 -04:00
Brad Parker 4b712fa750 Qt: elide grid label text 2018-07-25 19:41:54 -04:00
Brad Parker 665628e6c0 Qt: add separate settings for max list/grid entries 2018-07-25 15:24:26 -04:00
Brad Parker 065318eb39 Qt: set default limit for "all playlists" to 5000, use retro_assert instead of assert 2018-07-25 08:44:25 -04:00
twinaphex d6b273f60e Add retro_assert.h 2018-07-25 12:24:07 +02:00
Brad Parker 5ff77d1833 Qt: better border drawing across styles, add option for max entries in "all playlists" 2018-07-25 01:43:57 -04:00
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
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
Twinaphex bc705b79e1 (OSX) Fix 2016-09-29 09:58:57 +02:00
Twinaphex f0facb5463 Silence implicit declarations warnings 2016-09-23 03:42:50 +02:00
twinaphex 2d11ea71cc Move runloop_fullpath to paths.c 2016-09-23 03:39:44 +02:00
twinaphex d96386cd18 (iOS) Buildfix 2016-09-16 20:34:34 +02:00
twinaphex 9726de615b Fix stray icon 2016-09-16 13:03:26 +02:00
twinaphex 8c5eb1b406 (iOS) BUildfix 2016-09-15 21:16:56 +02:00
twinaphex 7ac1ed7e10 Cleanups 2016-09-11 14:54:34 +02:00
twinaphex 164d3b034c Get rid of OSX_PPC 2016-09-09 15:56:56 +02:00
twinaphex db6171676a Use retro_assert everywhere 2016-09-08 11:59:44 +02:00
twinaphex 82d82110ae Merge system.h with core.h 2016-09-06 06:11:54 +02:00
twinaphex bf4fd2a864 Update headers for ui/drivers 2016-09-05 18:33:22 +02:00
twinaphex b4c1927e27 (MSVC 2003) Buildfixes 2006-05-18 13:31:43 +02:00
Brad Parker e39031cbd0 revert rest of unicode changes 2016-12-03 00:15:29 -05:00
Brad Parker f725b48555 starting to revert unicode changes 2016-12-03 00:15:29 -05:00
Brad Parker 3b8a81dd31 make existing hard-coded unicode calls switchable back to ansi 2016-12-02 14:34:29 -05:00
Brad Parker 3846ce1837 build fixes for MSVC, start moving back to TCHAR usage so we can switch unicode on and off 2016-12-02 12:54:39 -05:00
Brad Parker 367dea6723 unicode-ify a couple other windows files, start changing function names to W version explicitly 2016-11-29 20:32:24 -05:00
Brad Parker dc99713a9b create unicode window on Windows 2016-11-29 14:34:37 -05:00
Diego Viola 59c99a59e7 Fix typo 2016-11-29 11:23:43 -02:00
twinaphex 61a4ff2a07 Cleanup get_ident function 2016-08-10 09:21:13 +02:00
twinaphex 032f7f83ae Hide User Interface options if no companion interface is not
available
2016-08-10 07:18:55 +02:00
twinaphex a8de87576e (windows) Fixes drag and drop - we have to call this
function directly since the UI companion driver interface at
this point has not yet been initialized
2016-07-16 23:49:44 +02:00
Yoshi Sugawara d0bced56c2 Merge branch 'master' into ios10_cores_in_app_bundle 2016-07-10 09:03:17 -10:00
Yoshi Sugawara 9173397f08 iOS 10 support: cores need to be in the modules directory of app bundle, added script to code sign cores in modules directory 2016-07-10 09:02:40 -10:00
Alcaro 2dc4f87995 Fix build fail derp 2016-07-10 00:43:52 +02:00
Alcaro 158e4614dd Fill in this thing. 2016-07-09 20:39:38 +02:00
Alcaro a081cf805f Fix typos 2016-07-07 20:05:08 +02:00
twinaphex 2a9bf91e0d Use MENU_ENUM_LABEL_VALUE_NOT_AVAILABLE 2016-06-29 02:40:05 +02:00
twinaphex 2dddc3fc88 Add FILE_PATH_LPL_EXTENSION 2016-06-26 10:12:28 +02:00
Twinaphex 4b96bfe46e (iOS) Buildfix 2016-06-22 17:19:01 +02:00