Commit Graph

653 Commits

Author SHA1 Message Date
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