131 Commits

Author SHA1 Message Date
twinaphex
9a9fa6532a Move file_path.c to libretro SDK 2014-10-22 00:23:06 +02:00
twinaphex
7472922ee0 Move compat/ over to libretro SDK 2014-10-21 07:58:58 +02:00
twinaphex
42bb37816e Take file_path.h include out of file.h 2014-10-20 21:51:04 +02:00
Jean-André Santoni
2f988c300b (Menu) Make disp_set_label work with any file_list 2014-10-20 19:54:55 +02:00
twinaphex
73b070b782 Rewrite menu_list_get_size functions 2014-10-18 02:32:59 +02:00
twinaphex
c465d25859 (Menu) Refactor menu_list_get_last_stack 2014-10-18 01:59:16 +02:00
twinaphex
e3894e7b9c Start using menu_list_new/menu_list_free 2014-10-18 01:17:00 +02:00
twinaphex
101680fd58 Create menu_list_get_at_offset 2014-10-17 23:28:33 +02:00
twinaphex
1ece7c8228 (Menu) Create menu_list_get_last_stack and menu_list_get_last 2014-10-17 22:53:30 +02:00
twinaphex
1daf8c354e (menu_list.c) Add menu_list_get_size and menu_list_get_stack_size 2014-10-17 21:41:45 +02:00
twinaphex
4f0d124793 Don't include stdio.h where not needed 2014-10-16 07:27:42 +02:00
Twinaphex
b38c5c6cab Get rid of some 'no previous prototype for function' warnings in lakka.c and rgui.c 2014-10-14 18:54:59 +02:00
Lioncash
4bd2c6b786 rgui: Fix potential memory leak 2014-10-14 00:31:55 -04:00
Twinaphex
b940ca9b79 (RGUI) Get rid of unused variable 2014-10-13 23:52:59 +02:00
Lioncash
14189c08a2 frontend: Fix possible memory leaks in lakka, rgui, and rmenu 2014-10-13 16:58:53 -04:00
twinaphex
23c3ae3d79 Get rid of some unnecessary header includes in rgui.c 2014-10-12 20:25:12 +02:00
twinaphex
027a1c4450 (RGUI) Create rgui_handle_t and assign it to driver.menu->userdata 2014-10-11 03:03:09 +02:00
twinaphex
3ba45d3eae Create init_lists in menu display driver 2014-10-09 01:31:11 +02:00
twinaphex
e5ab079298 Maintain two rarch_setting_t * lists in driver.menu - one
for main menu and the other for settings menu - regenerate these
when needed
2014-10-09 00:50:35 +02:00
twinaphex
da3734e8c7 Add mask parameter to setting_data_get_list 2014-10-08 02:13:07 +02:00
twinaphex
8dbe11613d Add need_refresh parameter to setting_data_get_list 2014-10-07 02:49:04 +02:00
twinaphex
780c3220a0 Build fix for targets with shaders - get rid of now
obsolete menu_common_backend.h header
2014-10-02 11:36:52 +02:00
Vladimir Panteleev
d0e970f175 Fix/reimplement input flushing
This fixes:

- menu toggle erratically not working on Android
- stray input going to libretro core when resuming content
- bound keys triggering as soon as they're bound on Android
- menu key repeat also repeating keys which should not be repeated
- issues caused by relying on timeouts for flushing

Architectural changes:

- menu_ctx_driver_t::input_postprocess now takes state and old_state
  (this allows getting rid of menu_handle_t::trigger_state)

Related changes:

- remove some no-op input_postprocess handlers (same effect as NULL)
- menu_iterate now uses the parameters passed to it, instead of
  polling menu_input
- menu_input is now merged into meta_input_keys_pressed
2014-09-29 12:58:52 +00:00
twinaphex
00e605d9ba Take out MODE_MENu - and introduce g_extern.is_menu 2014-09-25 06:33:28 +02:00
twinaphex
5188b3cc56 (Menu) Don't need menu_type_is anymore in menu display drivers 2014-09-16 04:21:31 +02:00
twinaphex
a09e04f679 Split up driver_menu.h into three separate header files -
for menu display API, menu backend API, and menu driver general API
2014-09-16 00:52:07 +02:00
twinaphex
eff9bf17a8 Reimplement menu toggle in menu - now remembers last menu
(Disp) Menu display drivers shouldn't influence control flow
of menu, so take this out and move menu toggle control flow
to menu_backend driver
instead
2014-09-14 18:07:00 +02:00
Lioncash
3912b3fee4 retroarch_logger: Append the calling function name to the log message.
Makes tracing back a little easier.
2014-09-13 20:02:53 -04:00
Lioncash
be12253243 Fix some more possible null pointer dereferences 2014-09-12 00:30:53 -04:00
twinaphex
75d2e13dcb Make drivers non-const 2014-09-11 07:06:20 +02:00
twinaphex
30b31e3c45 (Menu/Disp) Fix core name representation 2014-09-11 01:57:25 +02:00
twinaphex
0eea8307a5 (Menu) Refactor common code in disp/rgui | rmenu | rmenu_xui 2014-09-10 18:26:02 +02:00
twinaphex
cfd576239d (RGUI) Cleanups 2014-09-09 04:04:12 +02:00
twinaphex
80161051c6 (Disp drivers) Set w to 19 by default so more can fit onscreen 2014-09-09 00:25:12 +02:00
twinaphex
65a2b0c900 Move/rename menu_update_system_info to rarch_update_system_info 2014-09-07 07:12:10 +02:00
Timo Strunk
3b7dc34c1a Made GUI react on compressed files and give them a different label in RGUI 2014-09-06 21:03:22 +02:00
twinaphex
c0346f616b (RGUI) Dehardcode RGUI_TERM_START_X/START_Y 2014-09-06 03:21:57 +02:00
twinaphex
4e0a622e9e (RGUI disp) Dehardcode 15 magic number 2014-09-06 03:17:51 +02:00
twinaphex
7e6aa11c5b (Menu) Fix Shader Preset Save As option 2014-09-06 01:34:05 +02:00
twinaphex
dd3c6588ea (Menu) Fix shader label representation 2014-09-04 23:54:38 +02:00
twinaphex
222cc772e7 (Menu) Fix FILE_MENU_SWITCH label width 2014-09-04 21:49:00 +02:00
twinaphex
609ccb80d2 (Menu) Refactor video_shader_preset 2014-09-04 21:43:07 +02:00
twinaphex
b98c74bf25 (Menu) Refactor MENU_SETTINGS_SHADER_OPTIONS 2014-09-04 19:34:28 +02:00
twinaphex
7af2d2f31c (Menu) Set label width of 5 for MENU_FILE_SWITCH 2014-09-04 18:55:24 +02:00
twinaphex
a0d32b50ae (Menu) Default width of label to 21 by default instead of going
through complicated type heuristics
2014-09-04 18:40:12 +02:00
twinaphex
13b85a3458 (Menu) Add MENU_FILE_CORE 2014-09-04 03:40:48 +02:00
twinaphex
2bec746d28 Cleanup code in disp/rgui.c to do with menu entry types 2014-09-04 03:36:19 +02:00
twinaphex
5ef289fe28 (Menu) Refactor more hardcoded enums 2014-09-04 00:25:19 +02:00
twinaphex
a72a866db3 (Menu) Remove MENU_SETTINGS_CORE enum 2014-09-04 00:18:26 +02:00
twinaphex
a88198a12e (Menu) Get rid of hardcoded MENU_SETTINGS_PERFORMANCE_COUNTERS enum 2014-09-03 22:04:46 +02:00