Commit Graph

653 Commits

Author SHA1 Message Date
twinaphex d6e3040e5d Use menu_navigation_get_selection 2015-09-06 02:06:02 +02:00
twinaphex d4eefc020f Cleanups 2015-09-05 18:49:48 +02:00
twinaphex a509de60b5 Cleanups 2015-09-04 21:31:22 +02:00
twinaphex 9925da95ae Refactor menu_entries_get_core_title 2015-08-17 18:14:51 +02:00
Twinaphex 996c010ca6 Fixup 2015-08-17 16:00:29 +02:00
twinaphex dc73edadcf Cleanup old ugly hack 2015-08-17 05:05:29 +02:00
Twinaphex 5bafed71ea removed unused variables 2015-08-05 13:09:11 +02:00
twinaphex 74ee9b05f3 Create rarch_main_set_idle - make 'idle' variable self-contained 2015-08-05 12:40:47 +02:00
twinaphex 0c023dcb68 Reimplement frame count 2015-08-03 23:01:07 +02:00
twinaphex 3d36cb02ac No more separate runloop_t 2015-08-03 20:15:46 +02:00
Higor Eurípedes b217bbad24 (menu_animation) Create menu_animation_ticker_generic 2015-07-15 20:56:25 -03:00
twinaphex 14b6a6636b Create menu_video.c 2015-07-09 18:39:40 +02:00
twinaphex 7a4f6bcb2d (PS3) Silence some warnings 2015-07-09 08:28:08 +02:00
twinaphex 387d687ef9 (MSVC) Some MSVC buildfixes 2015-07-09 00:24:10 +02:00
twinaphex f2d20786a4 (RGUI) Indenting nits 2015-07-08 17:27:34 +02:00
twinaphex 039ba91c48 Add mechanism so that task_database informs the menu driver that
we need to refresh the horizontal list. Kivutar; make the icons
work again after we do a horizontal list refresh
2015-07-08 01:01:41 +02:00
twinaphex f2a608b131 Create menu_environ callback 2015-07-08 00:37:44 +02:00
Alcaro 4ca6c2398c More C89 cleanups, part 3 2015-06-26 18:35:52 +02:00
twinaphex c74631e2c7 (Menu) Cleanup warnings in CXX_BUILD mode 2015-06-26 13:47:36 +02:00
twinaphex 1b34dd4ce0 Some more CXX_BUILD fixes 2015-06-25 17:36:31 +02:00
twinaphex 0e2345227a Some CXX_BUILD fixes 2015-06-25 17:25:09 +02:00
twinaphex 293c915438 (RGUI/GLUI) Cleanups 2015-06-25 08:26:59 +02:00
twinaphex 45e008d3b0 (Menu/intl) Create MENU_VALUE_BACK 2015-06-25 07:15:19 +02:00
Toad King f2f636ca19 recache RGUI background when framebuffer changes size 2015-06-24 23:19:28 -05:00
Higor Eurípedes 45556766bf (RGUI) Fix performance regression 2015-06-23 23:07:08 -03:00
Higor Eurípedes 71f025c2b6 (RGUI) Fix delayed info/help/search screens 2015-06-23 22:25:00 -03:00
twinaphex d188f4e261 (RGUI) Optimization 2015-06-24 03:01:09 +02:00
twinaphex 87563b3e09 (RGUI) Add another header include 2015-06-17 19:47:38 +02:00
twinaphex 3101506d5e (RGUI) Add some header includes 2015-06-17 19:46:09 +02:00
twinaphex 819723be06 Move '_refresh' functions to menu_entries.c 2015-06-16 03:03:20 +02:00
twinaphex d66db000c6 Create wrappers for accessing menu->begin 2015-06-16 01:59:26 +02:00
Higor Eurípedes 817ac29a34 (RGUI) Avoid implicit memset in rgui_render() 2015-06-15 20:19:49 -03:00
twinaphex ab1c5f95f1 Create menu_driver_list_get_selection 2015-06-15 19:00:52 +02:00
twinaphex 3139f13612 (Menu) Cleanups 2015-06-15 02:37:32 +02:00
twinaphex 58d7c0fd3b Move some more variables to menu_animation_t 2015-06-15 01:50:57 +02:00
twinaphex 6a2b871f16 Create menu_display_get_ptr 2015-06-14 15:34:05 +02:00
twinaphex bff61a9485 (Menu) Create menu_animation_get_ptr 2015-06-13 23:23:29 +02:00
twinaphex 84a1885786 Create menu_input_get_ptr 2015-06-13 22:57:55 +02:00
twinaphex 9fd3d6f635 (RGUI) Go through frame_buf pointer 2015-06-13 16:51:16 +02:00
twinaphex 263b9e8bcc Go through menu_display_fb_get_ptr pointer 2015-06-13 16:42:11 +02:00
twinaphex 0781311059 (RGUI) Cleanup 2015-06-13 16:29:41 +02:00
twinaphex d4cbc7695a Go through menu_navigation_t pointer 2015-06-13 16:22:05 +02:00
twinaphex b31723236d (Menu) Cleanups 2015-06-13 00:09:09 +02:00
twinaphex 1011e0499e Some cleanups - use menu_navigation_get_ptr 2015-06-12 16:13:12 +02:00
twinaphex 64d6a6db81 (RGUI) Cleanups 2015-06-12 16:11:50 +02:00
twinaphex 2eba39e41d (XMB/Horizontal list)
1) Create list_get_entry
2) Will show one entry at the top that is the 'full database' for
that collection
2015-06-08 17:02:14 +02:00
twinaphex 5af0ce575c Add menu driver 'init_bind' 2015-06-08 16:01:57 +02:00
twinaphex 62b7b2602d Refactor disp_timedate_set_label 2015-06-08 14:57:46 +02:00
twinaphex 38ce8ffcef Create menu_driver_list_get_size 2015-06-07 15:43:03 +02:00
twinaphex edc7f21cfe Cleanups 2015-06-05 18:22:15 +02:00
twinaphex 74bb85fe7c (RGUI) Indent nits 2015-06-02 19:04:01 +02:00
twinaphex 296b359ba1 Rename menu_entry_get_label to menu_entry_get_path 2015-06-01 15:16:54 +02:00
twinaphex ee6f54baa7 Create menu_entry_get_spacing 2015-06-01 15:13:49 +02:00
twinaphex 26c75a8a1c Start changing signature of menu_entry_is_currently_selected 2015-06-01 15:08:58 +02:00
twinaphex bc843adc01 Start using menu_entry_get_label 2015-06-01 15:05:32 +02:00
twinaphex 05aee4f775 Start using menu_entry_get_value 2015-06-01 14:59:15 +02:00
twinaphex 6c9b545a66 Move get_title function to menu_entry.c 2015-06-01 11:55:03 +02:00
natinusala 90d646dc45 Added perform_action to menu_ctx_driver 2015-05-19 21:05:40 +02:00
twinaphex 375c49b6c8 Move is_menu out of runloop struct and create get/set functions in menu_driver.c
and make the underlying variable static to make it thread-safe
2015-05-19 20:11:57 +02:00
twinaphex a49e50896c Create wrapper functions menu_display_fb_set_dirty and menu_display_fb_unset_dirty 2015-05-18 23:14:56 +02:00
twinaphex 8dfbc1b54e Wrap menu->need_refresh 2015-05-15 22:06:42 +02:00
twinaphex 14aa1a5bda Use menu_entries_show_back 2015-05-15 00:16:39 +02:00
Twinaphex aad6f622a2 Remove unused variables 2015-05-15 00:08:39 +02:00
twinaphex 47a9f2c405 Start using menu_entries_get_title 2015-05-15 00:07:07 +02:00
twinaphex 3426dbca7f Start using menu_entries_get_end 2015-05-15 00:03:06 +02:00
Jay McCarthy bd66d9796f change menu_entries to my wish list of functionality 2015-05-14 16:18:32 -04:00
Twinaphex 014c1b343d Get rid of unused variables 2015-05-11 18:47:08 +02:00
twinaphex a014f2db88 Move framebuffer is dirty and other menu-related state flags
to menu_handle_t
2015-05-11 18:46:06 +02:00
twinaphex 1a152677a3 Get rid of entry_iterate callback in menu driver 2015-05-11 18:31:44 +02:00
twinaphex 079b9f10ff Create menu_entry_iterate 2015-05-11 17:53:33 +02:00
twinaphex cdfd5406fe (RGUI) Remove unused variable 2015-05-10 12:33:48 +02:00
twinaphex 53866fe029 (Menu) Code duplication cleanup - use get_core_title 2015-05-10 12:10:06 +02:00
twinaphex 7914946d19 Move code from menu_list.c to menu_entry.c 2015-05-10 11:23:00 +02:00
twinaphex 9b9e65abf3 Start using video_driver_get_frame_count 2015-05-09 16:04:12 +02:00
twinaphex a57cfde1cd Use menu_list_get_entry for menu_entries_cbs_iterate.c 2015-05-08 11:41:41 +02:00
twinaphex 5ca48cd13b Cleanups 2015-05-08 09:25:16 +02:00
twinaphex fa5ef2e750 Simplify menu_list_get_entry 2015-05-07 10:15:33 +02:00
twinaphex f9713ab764 Create menu_list_entry_is_currently_selected 2015-05-07 09:56:11 +02:00
twinaphex f171be5fb6 Use menu_list_get_entry directly 2015-05-07 09:39:04 +02:00
twinaphex a13442625b Cleanups 2015-05-07 04:37:46 +02:00
twinaphex bcab96bb77 (Menu) Simplify menu_display_setting_label 2015-05-07 04:28:57 +02:00
Twinaphex f3a7252ea8 (Menu) Update function 2015-05-05 22:21:38 +02:00
twinaphex e494165513 Change menu_display_setting_label 2015-05-05 21:35:25 +02:00
twinaphex 89b313da0c (GLUI/XMB) Use menu_display_setting_label too 2015-05-05 20:09:29 +02:00
twinaphex caaf6a8aa9 Create menu_display_setting_label 2015-05-05 19:50:39 +02:00
twinaphex dbd0da41a2 (RGUI) Use menu_display_update_pending 2015-05-04 09:16:43 +02:00
twinaphex b10ce11ad3 Move font variables to menu_handle_t 2015-04-24 23:06:04 +02:00
twinaphex b924d57838 (XMB) Style nit - 80-char limit 2015-04-21 16:45:27 +02:00
twinaphex a104517168 (Menu) Create menu_display.c/menu_display.h 2015-04-21 14:44:26 +02:00
Jean-André Santoni 6b3421b971 (RGUI) Center the title, and display a BACK button 2015-04-19 18:48:05 +07:00
Jean-André Santoni 128cf327a3 (Menu) Drag to scroll with touch 2015-04-16 15:32:49 +02:00
twinaphex d374fb863c Use retro_inline.h for remaining 'inline' instances 2015-03-29 16:43:02 +02:00
twinaphex 56943ccb40 Create video_driver_set_texture_frame 2015-03-22 19:15:34 +01:00
twinaphex 508ade73f9 Rename menu_driver_resolve to menu_driver_get_ptr 2015-03-21 23:56:42 +01:00
twinaphex 3676917265 Silence unused variable warnings 2015-03-21 06:55:34 +01:00
twinaphex 5a443d229a global_get_ptr update pt. 2 2015-03-21 05:42:49 +01:00
twinaphex 5d8ce54a9f Updates pt. 4 2015-03-20 22:22:06 +01:00
twinaphex aa8e5bc8cf (GX) Buildfix/warning fix 2015-03-18 20:31:01 +01:00
Twinaphex 0782cb5168 (Apple) Build fixes 2015-03-18 20:15:40 +01:00
twinaphex 3670ef2ac5 Go through driver_get_ptr to grab pointer to driver struct 2015-03-18 19:40:00 +01:00
twinaphex 7378299282 Create rarch_main_get_ptr 2015-03-18 06:47:22 +01:00
twinaphex 569ab60e43 Use g_settings.menu.mouse.enable directly 2015-03-17 04:01:58 +01:00
twinaphex 80a6673004 Fix some CXX_BUILD errors 2015-03-16 16:57:27 +01:00
Higor Eurípedes 5d1ca03bd2 (RGUI, GLUI) Convert font color to the proper format before using it 2015-03-15 13:07:22 -03:00
twinaphex 80d9785f46 Update msg_queue_pull instances to go through new interface too 2015-03-15 03:02:49 +01:00
Higor Eurípedes 0a8a5c9efc (RGUI) Fix color conversion 2015-03-14 20:08:23 -03:00
Higor Eurípedes 6f7fa1ab91 (RGUI, GLUI) Use custom title_color 2015-03-14 19:44:27 -03:00
Higor Eurípedes fec88a5cb4 (Menu) Add font color settings 2015-03-14 19:22:06 -03:00
twinaphex 9ad2484734 (RGUI) rgui_render - do early return if g_runloop.is_idle is true 2015-03-11 16:59:46 +01:00
twinaphex 23fde82836 Create menu_display_update_pending 2015-03-11 16:35:12 +01:00
Jean-André Santoni 9d8817d687 (Menu) Better mouse scrolling 2015-03-10 15:22:46 +01:00
Higor Eurípedes 2216f60046 (RGUI) Fix Video Settings page 2015-03-08 16:39:21 -03:00
Higor Eurípedes 50ff11fdec (RGUI) Call set_texture_frame only when the framebuffer is dirty 2015-03-08 16:14:35 -03:00
Higor Eurípedes 50b09109d9 (Menu) Let the menu driver clear the dirty bits 2015-03-08 15:18:50 -03:00
Higor Eurípedes 7d41e01e93 (RGUI) Only render when needed 2015-03-08 14:12:13 -03:00
Higor Eurípedes 1d7bddaef3 (rgui) Cache and tile checked background 2015-03-08 09:18:45 -03:00
twinaphex d11006e041 Move frame_count to g_runloop 2015-03-07 13:14:04 +01:00
twinaphex 795ef467ac Move msg_queue and nbio/http to runloop struct 2015-03-07 13:01:41 +01:00
twinaphex a74cb0574b Create g_runloop and start moving variables there 2015-03-07 12:36:50 +01:00
twinaphex df35e9fb75 Refactor menu_navigation.c 2015-02-14 00:47:42 +01:00
twinaphex 4d31687899 Create menu_driver_resolve to avoid having to pass state pointer
around between functions
2015-02-13 19:00:59 +01:00
twinaphex e58c1491a2 Selecting wallpaper now directly changes background image -
implemented only for XMB so far, GLUI coming up next
2015-02-13 00:12:15 +01:00
twinaphex 50c89847f0 Backport new element display settings to GLUI/RGUI 2015-02-12 19:35:24 +01:00
Alcaro 7938e05b9c Shut up some more Valgrind errors. (Why is r600_dri.so branching on the frame buffer?) 2015-02-12 18:31:01 +01:00
twinaphex 5bb11314d5 (Menu) Move width and height to frame_buf struct - mouse code needs
to be entirely rewritten
2015-02-11 21:52:21 +01:00
twinaphex b1c775849a (RGUI) Cleanups 2015-02-11 21:30:57 +01:00
twinaphex 8f77b7d52a (Menu) Cleanups pt. 2 2015-02-11 21:29:14 +01:00
twinaphex c3fdd42fb0 Refactor menu 2015-02-11 21:15:39 +01:00
twinaphex 0c170ab56e (Menu) Get rid of void * pt. 2 2015-02-11 20:40:48 +01:00
twinaphex 4d478434c7 (Menu) Start getting rid of void * pointer 2015-02-11 20:28:54 +01:00
twinaphex 6b8aece1f7 (Menu) Cleanups 2015-02-11 19:28:06 +01:00
twinaphex 8e42857488 (Menu) Move set_texture call to higher-level iterate function 2015-02-11 19:16:06 +01:00
twinaphex 00cd281a1f Move menu_ticker_line to menu_animation.c 2015-02-11 18:52:59 +01:00
twinaphex 915c97b76f Refactor menu_driver.h 2015-02-11 18:36:37 +01:00
twinaphex 3d83c1fa75 Free menu->frame_buf in menu_free 2015-02-11 07:02:12 +01:00
twinaphex b658d47c70 (RGUI) Cleanups 2015-02-11 05:23:02 +01:00
twinaphex 4d1cc8c2a9 (RGUI) Cleanups 2015-02-11 05:16:19 +01:00
twinaphex e8ad0d183b Cleanup color_rect 2015-02-11 05:09:31 +01:00
twinaphex da004daa8a Move frame_buf/frame_buf_pitch to menu_driver struct 2015-02-11 05:08:07 +01:00
Jean-André Santoni f331eba299 (Menu) iterate was not used either 2015-02-10 15:06:41 +01:00
Jean-André Santoni e330f03124 (Menu) init_lists was not used either 2015-02-10 15:02:38 +01:00
Jean-André Santoni 274cfe0f9f (Menu) input_postprocess was not used anymore by any menu driver 2015-02-10 14:52:25 +01:00
Jean-André Santoni f24bdb1cbf (Menu) No more core_info manipulation on the menu driver side. Instead, we ensure that core_info is inited before menu init, and call context reset after core info update. 2015-02-05 00:39:59 +01:00
twinaphex d7fd935049 (RGUI) Cleanups 2015-02-02 19:02:34 +01:00
twinaphex 26dead5902 (RGUI) Cleanups 2015-02-02 18:56:58 +01:00
twinaphex 17edfbd019 (RGUI) Similar speed hack 2015-02-01 23:55:13 +01:00
twinaphex 6bfbe1dc6d Get rid of unused variables 2015-02-01 14:58:33 +01:00
twinaphex 7521b9fcda rgui_entry_iterate - some more safety checks 2015-02-01 10:23:40 +01:00
twinaphex 3a9bbff1be (RGUI) Cleanups 2015-02-01 08:18:33 +01:00
twinaphex fc5fe960a5 Refactor cbs->action_get_representation 2015-01-31 17:46:14 +01:00
twinaphex 04d54be8df (Menu drivers) Start setting up setting pointers 2015-01-31 17:19:12 +01:00
Jean-André Santoni 22119d0e7f Notify the menu driver when the menu is going to be toggled, implement progressive menu fade in 2015-01-26 23:45:16 +01:00
twinaphex 04062497de There is only one menu driver now 2015-01-26 10:54:13 +01:00