Commit Graph

199 Commits

Author SHA1 Message Date
twinaphex dee807cb54 (gfx widgets) Start removing a lot of getter functions 2020-10-01 10:50:45 +02:00
twinaphex 1e6828fd63 Cleanups 2020-09-30 19:18:40 +02:00
twinaphex 03ff504aa8 Remove gfx_display_scissor_end 2020-09-28 04:04:16 +02:00
twinaphex 9d6bfabd02 Move reset_list_buffer to gfx_widgets and turn it into a static function 2020-09-28 03:30:22 +02:00
twinaphex a56673e52d MSVC buildfix 2020-09-26 23:37:03 +02:00
twinaphex 14c9ccfda8 Remove gfx_display_{set/get}_driver_id 2020-09-26 19:58:15 +02:00
Jamiras 71cd400e56 add display widget for active leaderboards 2020-09-24 11:29:29 -06:00
twinaphex c040e4cd08 Cleanups 2020-09-23 22:14:30 +02:00
twinaphex 43b43351fa Start making gfx_display_blend_begin and gfx_display_blend_end
unnecessary
2020-09-23 09:32:42 +02:00
twinaphex 77abaac79c Get rid of duplicate function gfx_display_draw_blend 2020-09-22 04:13:53 +02:00
twinaphex 0e49f058f3 Use strcpy_literal in more places 2020-09-19 23:59:06 +02:00
twinaphex c2cd39379a (gfx_widgets.c) Put FIFO queue on stack 2020-09-18 02:18:21 +02:00
twinaphex 3a37e13a54 Call video_driver_set_viewport directly 2020-09-15 11:05:47 +02:00
twinaphex 5838817bbd Get rid of gfx_widgets_set_status_text 2020-09-14 14:11:44 +02:00
twinaphex 521050cf79 Remove gfx_widgets_get_pure_white 2020-08-31 23:46:24 +02:00
jdgleaver d43e92907e Improve appearance of 'libretro_message' widget 2020-08-21 11:33:27 +01:00
twinaphex 4fb388ca4d Cleanup 2020-08-19 04:34:22 +02:00
twinaphex dffa052958 Rearrange draw struct 2020-08-14 15:58:43 +02:00
twinaphex e45d04b826 Cleanups 2020-08-03 22:09:14 +02:00
twinaphex a3242daa5d Silence more warnings 2020-07-23 05:51:04 +02:00
Hugo Hromic c3bf17d3f5 (Menu/OSD) Refactor "fps_text" into "status_text" internally
"fps_text" is used for several status parameters, not just FPS.
2020-07-19 16:58:58 +01:00
twinaphex c9398a3855 (gfx widgets) Remove dead code 2020-07-17 04:06:02 +02:00
jdgleaver 506aa0a36c Add optional widget-based 'load content' launch feedback animation 2020-07-09 13:05:28 +01:00
twinaphex 0a1942f528 Turn fifo_read_avail and fifo_write_avail into macros 2020-07-07 08:13:32 +02:00
twinaphex 7862166ed2 Add back HAVE_SCREENSHOTS define from SSNES days 2020-07-01 17:47:13 +02:00
jdgleaver c48c26aff6 Add 'progress message' widget (for 'RETRO_MESSAGE_TYPE_PROGRESS' core messages) 2020-06-30 17:15:36 +01:00
twinaphex 1e67b4c04a (gx_widgets) Use malloc instead of calloc 2020-06-27 01:25:48 +02:00
twinaphex f420c2c843 Change menu_widget_msg_t to disp_widget_msg_t 2020-06-27 01:15:21 +02:00
twinaphex 021625fd4a Revert "Move static functions to top of files"
This reverts commit 02b542e2a5.
2020-06-26 18:40:26 +02:00
twinaphex 02b542e2a5 Move static functions to top of files 2020-06-26 18:15:38 +02:00
twinaphex 5fc63dc578 Cleanup 2020-06-24 21:07:35 +02:00
Jamiras 47dbaeabb8 gfx_widgets: move achievement popup widget into its own file 2020-06-17 10:48:01 -06:00
Autechre 5f8419b8d2
Merge pull request #10861 from Jamiras/gfx_threaded_msg
(widgets) prevent freeing message while it's being rendered
2020-06-16 22:18:48 +02:00
Jamiras 42e2d740d3 add lock around current_msgs 2020-06-16 07:27:15 -06:00
Jamiras 649f83c82e load badge texture outside of lock 2020-06-15 10:48:02 -06:00
twinaphex a68b942d1d Refactor AI Service code 2020-06-11 03:27:01 +02:00
jdgleaver 9bbc9dd30e (Widgets) Fix serious heap-use-after-free errors 2020-06-10 12:32:50 +01:00
twinaphex 5a690b7ac8 (display widgets) Cleanups 2020-06-09 00:13:34 +02:00
twinaphex b183abbb0f More string_is_equal optimizations; localize more strings 2020-06-08 22:46:56 +02:00
twinaphex 2660182d52 Get rid of gfx_widgets_ready call inside
gfx_widgets_frame
2020-06-08 05:45:15 +02:00
twinaphex 5c2a2ca485 Move widgets state over to retroarch global state 2020-06-08 05:09:42 +02:00
twinaphex 57c3b1b041 Move widgets_persisting to retroarch.c 2020-06-08 04:36:40 +02:00
twinaphex 73b5bf438b Move widgets_active to retroarch.c 2020-06-08 04:32:54 +02:00
twinaphex d9565b6619 Cut down on unnecessary widgets_active early returns 2020-06-08 04:17:33 +02:00
twinaphex d6229ed70d gfx_widgets_deinit - turn return value into bool 2020-06-08 04:12:15 +02:00
twinaphex 9707f1f622 Get rid of gfx_ctx_animation_tag 2020-06-08 04:09:12 +02:00
twinaphex eb20c10713 Start getting rid of gfx_ctx_animation_tag - it's just a uintptr_t
typedef
2020-06-08 03:56:35 +02:00
twinaphex 7f54f410f4 Remove pointer grabbing from get_msg_queue function 2020-06-08 03:11:59 +02:00
twinaphex 876419294d (gfx widgets) Pass more state around 2020-06-08 02:54:01 +02:00
twinaphex 54372f2524 Pass state around to widget interface 2020-06-08 02:31:36 +02:00
twinaphex 77f5433f22 Create global wrapper function for state 2020-06-08 01:59:25 +02:00
twinaphex 9aa736b522 Move forward declarations up 2020-06-08 01:56:45 +02:00
twinaphex a2ea198fdd (gfx widgets) Pass pointer around more 2020-06-08 01:55:04 +02:00
twinaphex 3f163eaa8d Bring all graphics widget global state together under one struct 2020-06-08 01:41:21 +02:00
twinaphex dc217b313c Buildfix 2020-06-07 23:45:48 +02:00
twinaphex ddf45fdad2 (gfx widgets) Cleanups 2020-06-07 23:43:59 +02:00
twinaphex 4524ff7cd7 (Gfx widgets) Cleanups 2020-06-07 23:39:11 +02:00
twinaphex 6b5e9a3224 (gfx widgets) Cleanups 2020-06-07 23:17:37 +02:00
twinaphex a5ca6c24de Add more TODO/FIXMEs for globals 2020-05-29 06:17:39 +02:00
jdgleaver 23916f88c7 Extended core message interface - add concept of message 'type' 2020-05-26 10:03:25 +01:00
twinaphex 6dc758a080 Move cheevos-new to cheevos/ 2020-05-21 23:23:01 +02:00
Twinaphex ede03659ca Update 2020-05-21 22:31:51 +02:00
twinaphex 2cc776d2d9 Cleanups 2020-05-20 02:42:39 +02:00
twinaphex 57bbf7c944 (gfx widgets) Rearrange variables 2020-05-12 08:56:57 +02:00
jdgleaver f559798750 Widget text improvements 2020-04-06 11:39:30 +01:00
twinaphex 5972ed9cc6 (gfx_widgets) Cleanups 2020-03-28 03:53:51 +01:00
natinusala 997136c029 gfx_widgets: move libretro message widget into its own file 2020-03-17 17:16:21 +01:00
natinusala 7246d0d053 gfx_widgets: move generic message to its own file 2020-03-13 17:13:56 +01:00
natinusala 375621394c gfx_widgets: move volume into its own file 2020-03-12 09:31:05 +01:00
natinusala 37a5e7ff08 gfx_widgets: cleanup 2020-03-12 09:29:04 +01:00
jdgleaver b92dcd1334 (gfx_widgets) reorder internal status updates 2020-03-11 14:28:15 +00:00
jdgleaver 086c68bca7 Enable widget persistence across drivers_init()/driver_uninit() events 2020-03-11 11:47:13 +00:00
twinaphex 0ee8119459 (widgets) Nits 2020-03-09 19:35:49 +01:00
natinusala b4ea5d3cd5 gfx_widgets: move screenshot widget into its own file 2020-03-09 14:40:31 +01:00
natinusala 8e3ef34c1f gfx_widgets: pipe all functions to the widgets 2020-03-09 14:40:31 +01:00
twinaphex 5388448cf3 (gfx_widgets.c) Cleanups 2020-03-09 00:25:28 +01:00
twinaphex 8c39c804ee (gfx_widgets.c) Cleanups 2020-03-09 00:18:38 +01:00
twinaphex d72596142e gfx_display_draw_quad - no longer dependent on video_frame_info 2020-03-08 23:56:22 +01:00
twinaphex b24d1f06aa gfx_display_scissor_begin/end - get rid of video_frame_info dependency 2020-03-08 22:58:17 +01:00
twinaphex 044619281c gfx_display_draw - remove video_frame_info dependency 2020-03-08 22:52:02 +01:00
twinaphex 6cb6f76add gfx_display_rotate_z - get rid of video_frame_info dependency 2020-03-08 22:33:11 +01:00
twinaphex e4aa0fd544 (gfx display) Get rid of video_frame_info dependency for
blend_begin/blend_end
2020-03-08 22:28:42 +01:00
twinaphex 935393b391 Cleanups 2020-03-07 23:12:02 +01:00
twinaphex 9b76446b48 Cache video_info->width/video_info->height into local variables
and use them throughout code
2020-03-07 21:18:12 +01:00
twinaphex ee9c6ef5ba (Font driver) Get rid of more video_frame_info dependencies 2020-03-07 01:41:00 +01:00
twinaphex dd6cbce0eb Silence these MSVC warnings - warning C4047: '=' : 'unsigned char' differs in levels of indirection from 'char *' 2020-03-05 16:32:15 +01:00
jdgleaver 29f8189d0e Add independent widget scale override settings for fullscreen/windowed modes 2020-03-04 17:10:49 +00:00
jdgleaver 9954ae57a9 Fix volume widget scaling 2020-03-03 17:08:37 +00:00
Jamiras daad8bcca0 queue multiple popups 2020-02-29 09:30:22 -07:00
Twinaphex d4e9abe363
Merge pull request #10154 from Jamiras/cheevos_badges
(cheevos) simplify badge handling; remember enablement if XMB not available
2020-02-24 00:59:25 +01:00
Jamiras 5ecc426741 simplify badge handling; remember enablement if XMB not available 2020-02-23 15:55:41 -07:00
twinaphex b89663e213 Inline file_list_get_userdata_at_offset 2020-02-23 11:13:48 +01:00
twinaphex 8ae08cf23d (Gfx widgets) Put AI service overlay code behind HAVE_TRANSLATE
ifdefs
2020-02-23 11:03:38 +01:00
twinaphex 7c7d0f596a HAVE_MENU_WIDGETS now decoupled from HAVE_MENU 2020-02-17 21:28:42 +01:00
twinaphex 561012c3ba (gfx_widgets) Set all values to initial state 2020-02-17 20:49:56 +01:00
twinaphex 10d09eaed3 gfx_widgets_init - move content of error path to retroarch.c 2020-02-17 16:42:17 +01:00
twinaphex 4d148ff078 Roll gfx_widgets_context_destroy into gfx_widgets_free 2020-02-17 16:35:19 +01:00
twinaphex 166c0c2311 Cleanups 2020-02-17 16:07:37 +01:00
twinaphex b00bf17153 Move menu_widgets to gfx/ and call it gfx_widgets 2020-02-17 01:54:07 +01:00