Commit Graph

1225 Commits

Author SHA1 Message Date
twinaphex f70acd4a64 Cleanups 2015-12-10 15:49:37 +01:00
twinaphex bf73abc753 Cleanups 2015-12-10 15:48:04 +01:00
twinaphex 46b5c5e79f (XMB) Cleanup 2015-12-10 15:47:08 +01:00
twinaphex bed86cc57e (XMB) Cleanup 2015-12-10 15:46:15 +01:00
twinaphex e44f6d5d81 Update RMenu XUI 2015-12-10 15:45:05 +01:00
twinaphex 87ff4d7d82 Pass userdata handle to frame callback 2015-12-10 15:44:26 +01:00
twinaphex 6bff83478f (MUI) Cleanups 2015-12-10 15:33:10 +01:00
twinaphex 114bce9f0f (MUI) Cleanups 2015-12-10 15:31:17 +01:00
twinaphex 527f7c7266 (XMB) Cleanups 2015-12-10 15:28:05 +01:00
twinaphex a173b5a2bb Some more cleanups 2015-12-10 15:23:43 +01:00
twinaphex 14427dd725 (XMB) Cleanups 2015-12-10 15:21:20 +01:00
twinaphex fbdfad6250 Remove unused void * parameter for init_main_font 2015-12-10 15:19:41 +01:00
twinaphex d2c5139ab1 Revert "Add userdata pointer to frame callback"
This reverts commit ca9520a522.
2015-12-10 15:17:37 +01:00
twinaphex ca9520a522 Add userdata pointer to frame callback 2015-12-10 15:12:47 +01:00
twinaphex abc2315c78 Remove unused pointer 2015-12-10 14:52:34 +01:00
twinaphex b0a0a8d9a7 Cleanup one unused pointer 2015-12-10 14:52:02 +01:00
twinaphex 686bcf723d Move scroll_y to userdata 2015-12-10 14:50:43 +01:00
twinaphex f4695c7547 Pass userdata pointer to render callback 2015-12-10 14:45:34 +01:00
twinaphex 2930997c25 Pass userdata to messagebox callback 2015-12-10 14:40:56 +01:00
twinaphex f374e12143 Cleanup 2015-12-10 14:36:31 +01:00
twinaphex 02fb8dd052 Avoid warning 2015-12-10 14:03:34 +01:00
twinaphex 8acaa19d01 CLeanups 2015-12-10 13:48:41 +01:00
twinaphex f0e11659c7 Header include changes 2015-12-09 09:53:43 +01:00
twinaphex 5ec501f934 move prevent_populate to menu_driver_ctl 2015-12-07 16:57:06 +01:00
twinaphex b7982d9662 Cleanup 2015-12-07 16:14:36 +01:00
twinaphex 2d55dc3bda Complete namespace changes 2015-12-07 15:32:14 +01:00
twinaphex 8829b27cd2 Create RARCH_MENU_CTL_SET_TEXTURE 2015-12-06 18:30:45 +01:00
twinaphex 1cfb39a9d1 merge menu.c and menu_driver.c 2015-12-06 17:55:27 +01:00
twinaphex 9471020bf7 Reduce some more msg char variables 2015-12-06 15:55:05 +01:00
twinaphex c4d1f2c49d Get rid of some implicit memsets for font_params local variables 2015-12-06 14:46:50 +01:00
twinaphex 39e9d5c5ba Start cutting down on the size of some char local variables - we
don't need PATH_MAX_LENGTH for everything
2015-12-06 13:28:20 +01:00
twinaphex 736f343d9f Create RARCH_MENU_CTL_IS_ALIVE 2015-12-05 13:49:34 +01:00
twinaphex c8d8176c0c Get rid of unused variables 2015-12-05 12:50:56 +01:00
twinaphex 978f05ef3b remove unused variables 2015-12-05 12:19:15 +01:00
twinaphex 78fef6422b Create font_driver_get_message_width 2015-12-05 12:17:58 +01:00
twinaphex 7246d219b6 Cut down on dependencies on driver->font_osd_driver 2015-12-05 11:48:06 +01:00
twinaphex 1c1ac91221 Don't need first param for menu_display_font_flush_block 2015-12-05 11:42:46 +01:00
twinaphex c5879028b3 Not sure why an empty handle was being passed to menu_display_font_bind_block 2015-12-05 11:40:49 +01:00
twinaphex a747af2687 Nothing was done with first param of menu_display_font_bind_block 2015-12-05 11:38:18 +01:00
twinaphex 44b708642c Expand font_driver_bind_block 2015-12-05 11:34:56 +01:00
twinaphex 4c8a2a3f88 Create font_driver_bind_block 2015-12-05 10:59:03 +01:00
twinaphex 63c12b0083 Don't include ui_companion_driver.h inside driver.h 2015-12-05 10:04:06 +01:00
twinaphex 9824eb7ea9 Rename rarch_main_ctl to runloop_ctl 2015-11-30 21:42:59 +01:00
twinaphex 4e333302ae Rename RARCH_MAIN_CTL* to RUNLOOP_CTL* 2015-11-30 21:35:50 +01:00
twinaphex 1368897cd6 (Wii) Warning fixes 2015-11-30 19:34:34 +01:00
twinaphex 4e0a4150b5 Merge runloop and runloop_data.c 2015-11-30 15:35:57 +01:00
twinaphex 5d52f4856a Get rid of INLINE qualifier for some functions 2015-11-30 05:13:12 +01:00
twinaphex e2fde41124 Move current_msg to gfx/video_driver.c 2015-11-29 20:59:52 +01:00
twinaphex 68169f9ac3 Rename input_get_bind_string_* functions 2015-11-28 16:06:14 +01:00
twinaphex 2b4464f30a Implement RARCH_MAIN_CTL_IS_IDLE 2015-11-28 15:03:59 +01:00
twinaphex a6ccc188a8 Rename input_common.c to input_config.c 2015-11-28 02:22:58 +01:00
Twinaphex 11757fdcb7 Merge pull request #2460 from lakkatv/xmb
(XMB) Fix boxart ratio
2015-11-24 19:39:12 +01:00
Jean-André Santoni e6924a725b (XMB) Fix boxart ratio 2015-11-25 01:34:26 +07:00
Higor Eurípedes 92683976a5 Add user_data pointer to rarch_task_push_image_load() 2015-11-24 13:50:44 -03:00
Jean-André Santoni 0789e9f394 (XMB) Load boxarts from subfolders named after the system name in no-intro. Start following the convention of no-intro-screenshot-reloaded to get title screenshots, or in game screenshots, and we will add boxarts by ourselves later. 2015-11-24 05:21:29 +07:00
Higor Eurípedes 5d92e9061c Reimplement image loading using tasks 2015-11-23 17:42:01 -03:00
twinaphex c7dc83533a Add param to video_driver_get_ptr for grabbing the nonthreaded
data state
2015-11-23 16:06:09 +01:00
twinaphex 074f14b132 Add verbosity.c/verbosity.h 2015-11-23 12:03:38 +01:00
Jean-André Santoni 19e3b35d7d Disable rounding of the icon size, makes the icons blurry in some case, but should also fix positionning bugs on some resolutions 2015-11-22 02:08:03 +07:00
twinaphex 7141210d15 Remove video_driver_has_windowed 2015-11-20 15:20:54 +01:00
twinaphex 533b799692 Create video_driver_ctl and get rid of video_driver_get_frame_count 2015-11-20 15:08:27 +01:00
Twinaphex 7cee03af72 Merge pull request #2433 from lakkatv/xmb
(XMB) Fix boxart when opening the contextual menu, and when comming b…
2015-11-19 17:43:29 +01:00
Jean-André Santoni e8b484d93e (XMB) Fix boxart when opening the contextual menu, and when comming back from the game 2015-11-19 23:39:48 +07:00
Higor Eurípedes fe36eb6bdd (zarch) Fix CXX_BUILD GCC warnings 2015-11-19 09:56:15 -03:00
Jean-André Santoni 7f1d91caa5 (XMB) Display achievement list icon 2015-11-19 15:14:19 +07:00
twinaphex 65e60be271 (RMenu) BUildfixes 2015-11-17 23:34:31 +01:00
twinaphex 8db2084001 (XUI) Another buildfix 2015-11-17 11:30:08 +01:00
twinaphex 82c776c00c (XUI) More build fixes 2015-11-17 11:28:08 +01:00
twinaphex 88b86af892 (XUI) More build fixes 2015-11-17 11:26:29 +01:00
twinaphex 57a9174c5d (XUI) More build fixes 2015-11-17 11:23:42 +01:00
twinaphex dbdb6cb071 (XUI) More build fixes 2015-11-17 11:22:00 +01:00
twinaphex 4d74f6edef (materialui.c) Remove unused variable 2015-11-15 22:55:13 +01:00
twinaphex e24b96419c (MaterialUI) Set back to default - font does not get properly
restored upon restart
2015-11-15 04:18:51 +01:00
twinaphex 2ca1b01fcc (MaterialUI) DPI changes should now be applied on-the-fly 2015-11-15 04:11:31 +01:00
twinaphex a2e5ea96c5 (MaterialUI) Cleanups 2015-11-15 01:42:04 +01:00
twinaphex 38f30c8f10 Add Save Current Config to Menu 2015-11-11 02:57:20 +01:00
twinaphex 1666265427 Don't use GRfloat/GRuint anymore 2015-11-10 01:58:05 +01:00
twinaphex 4f0405980e C89_BUILD buildfix 2015-11-09 05:24:09 +01:00
Andre Leiradella 2253e4c236 added cheevos_get_description to get a cheevo's description given its index 2015-11-08 16:42:23 -02: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
twinaphex d9fe9b23d7 Cleanups 2015-11-07 20:22:26 +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 6792e74ad5 (XMB) Prevent an animation bug during scanning 2015-11-07 10:36:37 +07:00
Jean-André Santoni 15683523d3 (GLUI) Code refactoring 2015-11-05 17:52:37 +07:00
Jean-André Santoni 9943002424 (GLUI) Refactor mui_draw_scrollbar 2015-11-05 17:42:36 +07:00
Jean-André Santoni d91462fd53 (GLUI) Refactor shadow height, make shadow height independant of header height 2015-11-05 17:27:00 +07:00
Jean-André Santoni 1ab7a65597 (GLUI) Style nits 2015-11-05 17:22:14 +07:00
Jean-André Santoni 279fb29d77 (GLUI) Refactor background alpha 2015-11-05 17:19:42 +07:00
Jean-André Santoni e4cabe833e (GLUI) Code refactoring 2015-11-05 17:14:51 +07:00
Jean-André Santoni 77e482cf8e (GLUI) Use unsigned instead of int when possible 2015-11-05 17:09:00 +07:00
Jean-André Santoni 7259bf5303 (GLUI) Style nits 2015-11-05 17:05:26 +07:00
Jean-André Santoni 0af5d405e4 (GLUI) Rename all materialui_ to mui_, materialui was too long 2015-11-05 16:55:32 +07:00
Jean-André Santoni 13d6710272 (GLUI) Rename all GLUI_ to MUI_ 2015-11-05 16:53:14 +07:00
Jean-André Santoni 992d58bd8c (GLUI) Fix code style 2015-11-05 16:51:14 +07:00
Jean-André Santoni 67b47e29f0 (GLUI) Make vertical centering of text independant of the line height. Fixes the vertical centering of the title in the header when header_height differs from line_height. Also fixes the vertical placement of help messages. 2015-11-05 16:33:49 +07:00
Jean-André Santoni 51f18ef151 (XMB) Fix all wrong icon positions when changing the window size 2015-11-04 05:17:21 +07:00
twinaphex f59df8b9df Revert "(XMB) Fix a display bug on 16:9 displays caused by an optimization"
This reverts commit a467af48cf.
2015-11-03 11:32:32 +01:00
Jean-André Santoni b1aba23216 (GLUI) Reset selection on tab switch 2015-11-03 17:06:53 +07:00
Jean-André Santoni dff0031145 (XMB) Use the same timedate format as PS3 XMB 2015-11-03 12:36:20 +07:00
twinaphex 66c980210f (MaterialUI) Fix mixed declaration warnings 2015-11-02 23:35:41 +01:00
twinaphex 1d911ac29b (XMB) Get rid of forward declarations 2015-11-02 22:56:05 +01:00
twinaphex 1225fce93b Create menu_display_get_tex_coords 2015-11-02 22:54:05 +01:00
twinaphex 2a100d730c (Menu) Have default tex coords array 2015-11-02 22:46:23 +01:00
twinaphex 8e5a2fdc77 Have one default vertex coord array in menu_display.c 2015-11-02 22:37:29 +01:00
twinaphex ab230f5169 Fix warnings 2015-11-02 22:12:43 +01:00
twinaphex 5e2ba2bdfc Cleanup 2015-11-02 22:11:01 +01:00
twinaphex a4eb49430c Create menu_display_texture_load and menu_display_texture_unload 2015-11-02 22:06:51 +01:00
twinaphex 76f82082b1 Cleanup 2015-11-02 20:48:57 +01: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 ecffd040e2 (GLUI) Cleanups 2015-11-02 20:06:05 +01:00
twinaphex b0d1434940 Remove gl_t pointer grabbing in xmb_frame 2015-11-02 20:03:16 +01:00
twinaphex 080213f5b3 More cleanups - almost completely remove gl_t * usage 2015-11-02 20:02:06 +01:00
twinaphex b34fb9e081 Add scaling steps to menu_display_matrix4x4_rotate_z too 2015-11-02 19:47:25 +01:00
twinaphex d970f16106 (XMB) Cleanups 2015-11-02 19:41:10 +01:00
twinaphex 1b4f19ab87 Cleanup xmb_draw_cursor 2015-11-02 19:38:53 +01:00
twinaphex 699b5f7f3f Create menu_display_matrix4x4_rotate_z 2015-11-02 19:34:01 +01:00
twinaphex 5b15ed2b60 Don't pass gl_t pointer to menu_display functions 2015-11-02 19:11:09 +01:00
twinaphex 7c69249e63 Don't use arguments for blend_begin/blend_end 2015-11-02 19:07:36 +01:00
twinaphex c8cb03e412 Get rid of some gl_t * pointers 2015-11-02 19:04:20 +01:00
twinaphex 10051a657c Simplify menu_display_draw_frame 2015-11-02 18:55:05 +01:00
twinaphex b1c66c5dec (GLUI) Cleanup 2015-11-02 18:47:19 +01:00
twinaphex 6516fc783b Start making menu drivers depend less on gl handle 2015-11-02 18:41:51 +01:00
twinaphex 159e9c1910 Revert "Don't use the same vertex array in every menu driver"
This reverts commit eefc33ef07.
2015-11-01 22:35:19 +01:00
twinaphex eefc33ef07 Don't use the same vertex array in every menu driver 2015-11-01 22:24:10 +01:00
twinaphex b0c94e22fb (GLUI) Remove unused variable 2015-11-01 21:47:36 +01:00
twinaphex ea5f8ec4d2 (GLUI) Cleanup comments 2015-11-01 21:02:45 +01:00
twinaphex 4ccf0839a5 (GLUI) Only change opacity of white_transp_bg when wallpaper is loaded 2015-11-01 21:01:26 +01:00
twinaphex 840306103c Take out unnecessary menu entries for GLUI now that the tabs work
for both mouse and pointer
2015-11-01 20:52:56 +01:00
twinaphex b5855fa49c Backport changes to RGUI too 2015-11-01 20:45:29 +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
Twinaphex 9bc28461f3 Merge pull request #2325 from lakkatv/material
(Menu) Make the mouse left click and the pointer tap use the same cod…
2015-11-01 20:26:11 +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
twinaphex a43fe491f3 Need to restore initial values for glClearColor at end 2015-11-01 20:07:23 +01:00
Twinaphex a07cfd4915 Merge pull request #2324 from lakkatv/material
(GLUI) Tap on tabs
2015-11-01 19:52:09 +01:00
twinaphex 399d1e8fb7 Implement menu_display_clear_color 2015-11-01 19:49:19 +01:00
Jean-André Santoni 4f784a189f (Menu) Implement taps on tabs 2015-11-02 01:44:45 +07:00
twinaphex 0d6ea9c0ff Don't need gl->shader->use calls anymore 2015-11-01 19:35:32 +01:00
twinaphex e9ba2caac7 Rename blending functions 2015-11-01 19:28:12 +01:00
twinaphex 9f3a8dd432 (GLUI) Blend cursor 2015-11-01 19:26:24 +01:00
twinaphex 2b087f3be0 No longer do blending inside menu_display_draw_frame 2015-11-01 19:24:35 +01:00
Jean-André Santoni bd99e952d6 (Menu) Move pointer_tap on the menu driver side 2015-11-02 01:17:06 +07:00
Twinaphex a752a24f98 Merge pull request #2323 from lakkatv/material
(GLUI) Fix a display bug on switches
2015-11-01 16:26:38 +01:00
twinaphex 2ab4158eca (XMB) Should not need this I think 2015-11-01 16:25:31 +01:00
twinaphex 19a6ccb646 Create menu_display_draw_icon_blend_begin and menu_display_draw_icon_blend_end - cut down on code duplication 2015-11-01 16:23:50 +01:00
Jean-André Santoni 81d4d9f046 (GLUI) Fix a display bug on switches 2015-11-01 22:20:49 +07:00
twinaphex 358e859a17 (GLUI) Make lightblue_bg only translucent when there is a background or
libretro in the background running
2015-10-31 23:09:14 +01:00
twinaphex 1ddd33336a 1) rarch_playlist_load_content - add argument
2) GLUI - handle libretro_pause being false better - hide
background and make white background look better
2015-10-31 17:06:08 +01:00