Commit Graph

390 Commits

Author SHA1 Message Date
twinaphex
8829b27cd2 Create RARCH_MENU_CTL_SET_TEXTURE 2015-12-06 18:30:45 +01:00
twinaphex
99ea0095a3 Create RARCH_MENU_CTL_FRAME 2015-12-06 18:28:37 +01:00
twinaphex
1cfb39a9d1 merge menu.c and menu_driver.c 2015-12-06 17:55:27 +01:00
twinaphex
8e8f69bb69 Refactor away menu_driver_toggle 2015-12-06 17:41:00 +01:00
twinaphex
88a1f48cc3 Create RARCH_MENU_CTL_DESTROY 2015-12-06 17:15:32 +01:00
twinaphex
736f343d9f Create RARCH_MENU_CTL_IS_ALIVE 2015-12-05 13:49:34 +01:00
twinaphex
d3bc47c6dc Create RARCH_MENU_CTL_IS_SET_TEXTURE 2015-12-05 13:06:22 +01:00
twinaphex
841d6010a5 Create RARCH_MENU_CTL_DEINIT 2015-12-05 13:04:21 +01:00
twinaphex
783881941a Create menu_driver_ctl 2015-12-05 13:00:45 +01:00
twinaphex
980c743938 Start adding hooks for showing descriptions for Cheevos 2015-11-08 18:52:17 +01:00
twinaphex
a9b7636ddb Abstract away GL code in menu behind display driver interface 2015-11-08 01:30:07 +01:00
Jean-André Santoni
23fee02883 (XMB) Hack to prevent icon overlapping when adding or removing shaders and cheap passes 2015-11-07 11:47:02 +07:00
Jean-André Santoni
0af5d405e4 (GLUI) Rename all materialui_ to mui_, materialui was too long 2015-11-05 16:55:32 +07:00
twinaphex
3be9b2752b (GLUI) Start renaming 'glui' 'materialui' under the hood 2015-11-02 20:46:22 +01:00
twinaphex
71ca469cda GL totally abstracted away now from menu drivers 2015-11-02 20:41:42 +01:00
twinaphex
1e53e3e19a Backport pointer_tap changes 2015-11-01 20:44:04 +01:00
Twinaphex
5287e46e57 Revert "(Menu) Make the mouse left click and the pointer tap use the same cod…" 2015-11-01 20:35:43 +01:00
Jean-André Santoni
5b51124b62 (Menu) Make the mouse left click and the pointer tap use the same codepath 2015-11-02 02:22:21 +07:00
Jean-André Santoni
bd99e952d6 (Menu) Move pointer_tap on the menu driver side 2015-11-02 01:17:06 +07:00
twinaphex
14bf640bf6 Create list_push callback - allows us to override lists 2015-10-22 04:12:32 +02:00
twinaphex
06d17852f0 Merge menu_list.c with menu_entries.c 2015-10-17 19:38:33 +02:00
twinaphex
528a020d86 Always assume we are going to render when calling menu_driver_iterate 2015-10-11 12:58:21 +02:00
twinaphex
6d4900dc1c Create function pointer for iterate function 2015-10-03 05:08:29 +02:00
twinaphex
798e7fa7fa Move function pointer around 2015-10-03 04:32:38 +02:00
twinaphex
167cd269ae Add init_list to menu driver callbacks 2015-10-03 03:15:47 +02:00
twinaphex
a1ff4879f8 (Zarch) Integrate Zarch - can be heavily improved now - shows
promise
2015-10-02 02:15:46 +02:00
twinaphex
6ce4b96d12 Header include cleanups 2015-09-27 01:10:15 +02:00
twinaphex
37e9108820 Move internal display state to menu_display.c 2015-09-26 01:23:10 +02:00
twinaphex
a7950486be (menu_iterate.c) Get rid of 'pop_selected' 2015-09-25 18:20:08 +02:00
twinaphex
9c031e17ca Simplify menu_iterate.c code 2015-09-25 01:59:20 +02:00
twinaphex
df23b122fe Move state definitions outside of header 2015-09-24 21:02:28 +02:00
twinaphex
a892f5901e Revert "Put menu_input state on heap"
This reverts commit 807be0a965.
2015-09-24 20:52:01 +02:00
twinaphex
807be0a965 Put menu_input state on heap 2015-09-24 20:38:56 +02:00
twinaphex
172e75c758 Revert "Refactor menu_input.c"
This reverts commit 3ddbf2d5cc.
2015-09-24 14:17:03 +02:00
twinaphex
80efc1339e Revert "Cleanups"
This reverts commit 32bbf71bbb.
2015-09-24 14:16:16 +02:00
twinaphex
32bbf71bbb Cleanups 2015-09-24 13:54:57 +02:00
twinaphex
3ddbf2d5cc Refactor menu_input.c 2015-09-24 13:22:46 +02:00
twinaphex
51d3738a00 Revert "Add type to populate_entries"
This reverts commit 5a7de50bd3.
2015-09-21 21:32:31 +02:00
twinaphex
5a7de50bd3 Add type to populate_entries 2015-09-21 20:48:26 +02:00
twinaphex
bbe210f7eb C89_BUILD fixes 2015-09-06 23:43:27 +02:00
Twinaphex
98812a1165 Cleanups 2015-09-06 13:07:12 +02:00
twinaphex
0ba87ae378 Some CXX_BUILD fixes 2015-09-06 04:18:26 +02:00
twinaphex
f091cb455e Refactor menu_entries 2015-09-06 02:56:57 +02:00
twinaphex
bfc969faac Cleanup 2015-08-22 03:40:07 +02:00
twinaphex
4ae1e9a53d Cleanups 2015-08-22 01:42:26 +02:00
twinaphex
f190230f85 Refactors 2015-08-18 03:51:44 +02:00
twinaphex
2f3746a431 Make some more functions static 2015-08-18 02:54:42 +02:00
twinaphex
443fd6b4f2 Move menu_driver_render and menu_driver_render_messagebox to
menu_iterate.c and make them static
2015-08-18 01:48:04 +02:00
twinaphex
86894134cb Move menu_driver_navigation_* functions to menu_navigation.c and
make them static
2015-08-18 01:45:10 +02:00
twinaphex
4f1bb7b9b6 Not sure what perform_action was doing here 2015-08-17 15:44:57 +02:00
twinaphex
dc73edadcf Cleanup old ugly hack 2015-08-17 05:05:29 +02:00
twinaphex
a86e4304b4 Add 'Scanning For Content' help 2015-07-18 14:57:20 +02:00
twinaphex
a919c26b81 Add 'Change Virtual Gamepad' help 2015-07-18 14:01:37 +02:00
twinaphex
ef1b066b64 Add 'What Is A Core?' to Help 2015-07-18 11:29:37 +02:00
twinaphex
6636fbaf15 (Help) Add 'Loading Content' 2015-07-17 22:11:24 +02:00
twinaphex
4e64eac514 Add welcome start screen and make it have a 3-second timeout 2015-07-17 15:03:17 +02:00
twinaphex
1f01d62386 (Menu) Refactor zip file handling to be list-based 2015-07-14 12:49:54 +02:00
twinaphex
cbc79e0d67 Start adding preliminary bundle extraction code 2015-07-08 16:45:04 +02:00
twinaphex
bfb996dbcd Start refactoring action_iterate_help 2015-07-08 05:45:43 +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
twinaphex
a132fa0fba Some C89 build fixes 2015-06-26 15:53:18 +02:00
twinaphex
08d8f86bd9 Move refresh variables to menu_entries_t 2015-06-16 03:12:03 +02:00
twinaphex
9f79d7b21b Move menu->begin to menu->entries.begin 2015-06-16 02:17:52 +02:00
twinaphex
3fe0b3c4d9 Create menu_entries.h 2015-06-16 02:15:32 +02:00
twinaphex
ab1c5f95f1 Create menu_driver_list_get_selection 2015-06-15 19:00:52 +02:00
twinaphex
0c4ac61b38 (Menu) Cleanups 2015-06-15 17:34:12 +02:00
twinaphex
3139f13612 (Menu) Cleanups 2015-06-15 02:37:32 +02:00
twinaphex
2553bbcd91 Move menu->delay to menu->input.delay 2015-06-15 02:22:36 +02:00
twinaphex
b2a7000519 Move more variables to menu_display_t 2015-06-15 02:08:25 +02:00
twinaphex
0ee9e06f8c (menu_driver.h) Remove action struct 2015-06-15 02:01:11 +02:00
twinaphex
58d7c0fd3b Move some more variables to menu_animation_t 2015-06-15 01:50:57 +02:00
twinaphex
70cf98eadc Move menu->dt, menu->cur_time and menu->old_time to menu_animation_t 2015-06-15 01:40:03 +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
3fb751ebd2 (menu_display.h) Remove some header dependencies 2015-06-13 23:07:27 +02:00
twinaphex
84a1885786 Create menu_input_get_ptr 2015-06-13 22:57:55 +02:00
twinaphex
fcaf461930 (Menu) Change some header includes 2015-06-13 19:15:48 +02:00
twinaphex
263b9e8bcc Go through menu_display_fb_get_ptr pointer 2015-06-13 16:42:11 +02:00
twinaphex
2bf636b913 Rename menu_driver_list_delete to menu_driver_list_free 2015-06-12 14:15:48 +02:00
twinaphex
c211d2895a (GX) Buildfix 2015-06-09 03:07:19 +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
35837fcc0f (Menu) Call menu driver's 'bind_init' function callback 2015-06-08 16:06:51 +02:00
twinaphex
5af0ce575c Add menu driver 'init_bind' 2015-06-08 16:01:57 +02:00
twinaphex
161464b0bc (menu_driver.h) Cleanup 2015-06-08 15:00:04 +02:00
twinaphex
a2b70a08a8 Remove menu_database.h 2015-06-08 14:53:50 +02:00
twinaphex
c9741e2e3b (Menu) Get rid of menu->categories.size 2015-06-07 16:05:34 +02:00
twinaphex
38ce8ffcef Create menu_driver_list_get_size 2015-06-07 15:43:03 +02:00
twinaphex
2e81d7f8dc Refactor xmb_list_cache function callback 2015-06-07 11:20:36 +02:00
twinaphex
1b67864a3b Change menu_driver_load_background to menu_driver_load_image 2015-06-04 10:39:48 +02:00
twinaphex
93295638da Remove menu_settings_list.c 2015-06-03 11:24:53 +02:00
twinaphex
bfcf1a7288 Revert "Make some functions static"
This reverts commit 6b04db075d.
2015-06-03 10:13:25 +02:00
twinaphex
6b04db075d Make some functions static 2015-06-03 10:13:03 +02:00
twinaphex
bc953d3a1b Move settings code entirely to menu 2015-06-02 20:26:27 +02:00
twinaphex
1222bb609b (Menu) Create menu->playlist 2015-05-26 04:27:21 +02:00
twinaphex
9abe3ec6e8 Remove menu->db_playlist, refactor code 2015-05-26 01:58:52 +02:00
twinaphex
e8691eb4d6 Move db.handle to runloop_data.h 2015-05-23 18:13:23 +02:00
twinaphex
c27211d60a Move menu_common_list_{insert|delete} to menu_driver.c 2015-05-19 23:28:32 +02:00
twinaphex
3c7e0b29fc Make menu_ctx_driver_get_ptr public - ALWAYS make sure that
no symbols will be redefined - Griffin depends on this
2015-05-19 21:55:44 +02:00
natinusala
508a6ea627 Added (void* data) to perform_action in menu_ctx_driver 2015-05-19 21:07:06 +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
d11e36cfb9 menu_list_get_actiondata_at_offset - modify signature 2015-05-17 13:23:27 +02:00
twinaphex
adc17fdf2b Refactor action_deferred_push 2015-05-13 16:18:54 +02:00
twinaphex
630dd35979 Move menu_navigation_t struct to menu_navigation.h 2015-05-12 14:35:07 +02:00
twinaphex
76407c9ef2 Start updating menu->input.joypad and menu->input.mouse per-frame 2015-05-11 22:43:16 +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
b10ce11ad3 Move font variables to menu_handle_t 2015-04-24 23:06:04 +02:00
Jean-André Santoni
d9409e071f (GLUI) Animate keyboard navigation 2015-04-20 21:22:55 +07:00
Jean-André Santoni
128cf327a3 (Menu) Drag to scroll with touch 2015-04-16 15:32:49 +02:00
twinaphex
bb6331874a Refactor database runloop code 2015-04-14 09:27:55 +02:00
Twinaphex
3e35593f59 (iOS) Implement UI companion driver for iOS CocoaTouch 2015-04-12 03:18:37 +02:00
twinaphex
aeb359f5b5 Go through more menu driver wrapper functions 2015-04-11 05:28:40 +02:00
aliaspider
9ab4026bfe (menu) improve touch controls:
- two finger presses now behave the same as pressing the back button.
- glui is now supported.
2015-03-30 05:22:06 +01:00
aliaspider
18d67aefc7 (menu) improve mouse navigation a bit. 2015-03-30 02:09:25 +01:00
aliaspider
560c98f3cb (menu) add pointer support (active only for rgui for now) 2015-03-28 22:35:18 +01:00
twinaphex
c260f28603 Create more menu wrapper functions 2015-03-22 07:07:07 +01:00
twinaphex
36351bf78d Create menu_driver_load_background 2015-03-22 06:48:03 +01:00
twinaphex
7d7f797c8f Go through menu_driver_populate_entries 2015-03-22 06:43:35 +01:00
twinaphex
d98de68107 Create menu_driver_render_messagebox 2015-03-22 06:37:26 +01:00
twinaphex
67c8c3a5e7 Create menu_driver_toggle 2015-03-22 06:02:02 +01:00
twinaphex
b8a9800743 Create menu_driver_render 2015-03-22 05:35:46 +01:00
twinaphex
e8060a2423 Create more menu driver wrapper functions 2015-03-22 05:32:43 +01:00
twinaphex
a760d25384 Create menu_driver_frame 2015-03-22 05:27:19 +01:00
twinaphex
0fd8fb77e9 Create menu context wrapper functions 2015-03-22 05:21:14 +01:00
twinaphex
508ade73f9 Rename menu_driver_resolve to menu_driver_get_ptr 2015-03-21 23:56:42 +01:00
twinaphex
f3fefa2ceb (QNX) Build fixes 2015-03-21 22:55:50 +01:00
twinaphex
569ab60e43 Use g_settings.menu.mouse.enable directly 2015-03-17 04:01:58 +01:00
twinaphex
e366a6eaa2 (Mouse) Start adding preliminary horizontal mouse wheel up/down 2015-03-12 05:38:37 +01:00
Jean-André Santoni
9d8817d687 (Menu) Better mouse scrolling 2015-03-10 15:22:46 +01:00
twinaphex
6e62983cd5 (Menu) Implement 'null' menu driver 2015-03-09 14:39:39 +01:00
twinaphex
2c607ed5d2 (Menu) Start adding wraparound parameter to action_toggle 2015-03-09 04:10:57 +01:00
Jean-André Santoni
ab84c14b66 (Menu) Delta timing 2015-03-06 16:00:46 +01:00
twinaphex
e7fe92748b Implement nonblocking_refresh 2015-02-27 08:52:44 +01:00
twinaphex
2e0902fda1 Revert "(Menu) Delta timing"
This reverts commit 24f7acb93c.
2015-02-24 03:06:25 +01:00
Twinaphex
54163d20fc Merge pull request #1442 from lakkatv/xmb
(Menu) Delta timing
2015-02-24 10:31:44 +11:00
Jean-André Santoni
24f7acb93c (Menu) Delta timing 2015-02-24 00:28:11 +01:00
twinaphex
e795e01f7a Add menu message queue 2015-02-24 00:01:45 +01:00
twinaphex
6ce7e5b571 Refactor menu driver's 'load wallpaper' function 2015-02-23 23:32:59 +01:00
twinaphex
41d3657b5d Start creating directory content scanning - nonblocking I/O not
yet implemented
2015-02-16 07:53:27 +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
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
6ded569b87 (Menu) Create struct for delay timer 2015-02-11 21:48:20 +01:00
twinaphex
fe1ac4b8b9 (Menu) Create struct for categories 2015-02-11 21:43:16 +01:00
twinaphex
eb7a68a182 (Menu) Put scroll indices into struct 2015-02-11 21:36:07 +01:00
twinaphex
c3fdd42fb0 Refactor menu 2015-02-11 21:15:39 +01:00
twinaphex
fb31227585 (Menu) Refactors 2015-02-11 21:00:34 +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
915c97b76f Refactor menu_driver.h 2015-02-11 18:36:37 +01:00
twinaphex
da004daa8a Move frame_buf/frame_buf_pitch to menu_driver struct 2015-02-11 05:08:07 +01:00
twinaphex
46003314a8 Refactor menu_animation.c 2015-02-11 00:40:18 +01:00
twinaphex
64372ed4b1 (XMB) Fixes 2015-02-10 17:46:35 +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
adbcab3912 Don't continually free and reload db playlist if it is already
cached
2015-02-03 02:01:00 +01:00
twinaphex
d9094506c7 Rough implementation of game loading from database 2015-02-03 00:59:16 +01:00
twinaphex
a1cf3c1eae (menu_animation.c) Cleanups 2015-02-01 23:05:16 +01:00
twinaphex
48032486f4 Move static variables to menu handle struct 2015-02-01 22:52:06 +01:00
twinaphex
fc5fe960a5 Refactor cbs->action_get_representation 2015-01-31 17:46:14 +01:00
twinaphex
b1df7d3944 Create get representation callback 2015-01-30 10:24:07 +01:00
twinaphex
e431f8e8f0 (Lakka) Remove Lakka - XMB will become the replacement driver 2015-01-27 01:56:04 +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
twinaphex
0816c0f0bc Implement action_iterate callback 2015-01-26 10:18:13 +01:00
twinaphex
9122576870 Add action select callback 2015-01-26 08:45:36 +01:00
twinaphex
b317c1a8fb (Menu) Implement function pointer for action_refresh 2015-01-26 08:10:05 +01:00
twinaphex
7e24fdfdc7 Cleanup unnecessary list_mainmenu 2015-01-25 05:39:08 +01:00
twinaphex
8dafb7c110 Create action up or down callback function for menu 2015-01-22 23:52:02 +01:00
twinaphex
da88bcdd91 Rename gfx_shader* to video_shader* 2015-01-19 21:24:08 +01:00
twinaphex
f21f7e17b5 Cleanups 2015-01-12 21:22:50 +01:00
twinaphex
6b2fced631 Split up menu code into separate file menu_driver.c 2015-01-12 20:00:43 +01:00
twinaphex
f1196733b1 Move definitions to menu_driver.h 2015-01-12 19:13:45 +01:00
twinaphex
0d9ba863dc Remove menu/disp/menu_display.h and menu/backend/menu_backend.h
and merge into menu/menu_driver.h
2015-01-12 19:11:51 +01:00
twinaphex
90076c5fad Start using MAX_PATH_LENGTH - relying on MAX_PATH for 360 can cause
problems because it's defined at '260' and thus too small for some
strings
2015-01-07 20:42:36 +01:00
twinaphex
453321c50b Start updating headers 2015-01-07 17:46:50 +01:00
twinaphex
7a456c6c3a Rename MAX_PLAYERS to MAX_USERS 2015-01-05 01:58:00 +01:00
twinaphex
be5a76cb91 Start using g_extern.cheat instead of having a separate cheat
manager in the menu struct
2014-12-15 23:57:14 +01:00
twinaphex
fe0ece3124 Add preliminary Core Cheat Options support - should work with
cores like SNES9x/bSNES right now
2014-12-06 15:47:25 +01:00
twinaphex
181d163b36 Rename 'player' to 'user' 2014-12-05 13:48:54 +01:00
twinaphex
3c9e97842e [PATCH 1/2] Fix RGUI shader parameters. 2014-11-29 21:03:31 +01:00
Jean-André Santoni
01838efaa8 (XMB) Move all file_list caching variables to the xmb display driver 2014-11-27 23:03:27 +07:00
Jean-André Santoni
662c7e51dc (XMB) Horizontal navigation 2014-11-14 21:56:21 +01:00
twinaphex
4f40c14d69 Move menu code up one root dir 2014-10-28 19:54:23 +01:00