Commit Graph

712 Commits

Author SHA1 Message Date
twinaphex
91f2d76fbe (RMenu) Now shows no entries available when trying to enter a dir that has
no files with valid extensions - can also exit out of this dir
2013-09-29 01:34:34 +02:00
twinaphex
5a81028f96 Split up filebrowser code 2013-09-28 23:47:37 +02:00
twinaphex
14983ab56e (RGUI) rgui_flush_menu_stack - unroll 2013-09-28 18:34:37 +02:00
twinaphex
c545c3e4f2 (RGUI) Split off RGUI display presentation code into separate file - should
be going through interface next
2013-09-28 04:45:44 +02:00
twinaphex
74cfcfa713 (rmenu.h) Get rid of useless externs 2013-09-28 04:28:28 +02:00
twinaphex
c5beaec16c (RMenu) Make RMenu even more minimalist - fit more text onscreen 2013-09-28 04:14:07 +02:00
twinaphex
f04501bcb2 (Rmenu) yellow selected file in filebrowser instead of red 2013-09-28 03:21:26 +02:00
twinaphex
488e0d10ea (RMenu) Properly goes back now a prev dir for select_directory/select_file 2013-09-28 02:40:24 +02:00
twinaphex
725be8ff94 (360/XDK) Build fixes 2013-09-28 01:46:55 +02:00
twinaphex
ff3ce71b98 (RMenu) select_directory - remove logic at RGUI_ACTION_CANCEL 2013-09-27 22:52:05 +02:00
twinaphex
24a05c5e5c (RMenu) Shows path again - get rid of comment in select_directory 2013-09-27 21:59:45 +02:00
twinaphex
9e8d5d05cf Rename directory_parse to rgui_directory_parse to avoid namespace conlict 2013-09-27 21:05:51 +02:00
twinaphex
e58cec4f05 (RMenu) Take out SETTING_FONT_SIZE 2013-09-27 20:32:29 +02:00
twinaphex
2ddbbcd85e Ifdef shader_manager_init function call invocation 2013-09-27 18:54:47 +02:00
twinaphex
5040f852ef Avoid warnings passing rarch_time_t value to rarch_sleep - cast to
unsigned int
2013-09-27 18:43:34 +02:00
twinaphex
b858d268e6 (RMenu) Cleanups - comments no longer necessary 2013-09-27 18:00:54 +02:00
twinaphex
1a0a23ac8e (Rmenu) Refactor all text rendering to render_text function - called once 2013-09-27 17:35:47 +02:00
Hans-Kristian Arntzen
884ae34f0a Merge pull request #305 from libretro/configswap
Configswap
2013-09-27 08:34:36 -07:00
twinaphex
af8caf45f7 (RGUI) RGUI_ACTION_SETTINGS was deprecated - get rid of it 2013-09-27 17:00:00 +02:00
twinaphex
7056edf143 (RMenu) Bake in rgui_list for PS3/Xbox 1/360 too 2013-09-27 16:52:03 +02:00
twinaphex
525f33687a (RGUI/RMenu) Useless include removed 2013-09-27 15:31:04 +02:00
twinaphex
52703220ea (RMenu/RGUI) Refactor RGUI/RMenu controls - now uses straight RetroPad polling
from input driver without awkward button mappings
2013-09-27 14:31:16 +02:00
twinaphex
123c1e2c88 (RMenu) Forgot break for case 2013-09-27 14:05:40 +02:00
twinaphex
a825ea8e53 (RMenu) Refactor select_rom into select_file 2013-09-27 13:47:21 +02:00
twinaphex
2ead9b328b (RMenu) Move filebrowser_update up one layer to rgui_iterate 2013-09-27 02:39:39 +02:00
Themaister
8238ba7d50 Allow saving new config files directly from RGUI.
The file name is inferred to avoid typing.
2013-09-27 00:19:03 +02:00
Themaister
5d63d4d9e6 Fix potential segfault on config swap.
Main Menu list can shrink and selection_ptr wasn't set to a sane value.
2013-09-27 00:19:03 +02:00
Themaister
17e2da87e1 Don't hardcode rgui.cgp/glslp as default.
In a multi-config environment, shader manager could conflict.
Instead, infer the default RGUI shader cgps/glslps from config path.

Fallback to old rgui.cgp/rgui.glslp if we use a default config.
2013-09-27 00:19:02 +02:00
Themaister
217ad4b04d Update shader manager on game load. 2013-09-27 00:19:02 +02:00
Themaister
a3d61e1ec5 Add Config Directory option to RGUI. 2013-09-27 00:19:02 +02:00
Themaister
ce6de72181 Some cleanups in settings saving/load defaults. 2013-09-27 00:18:17 +02:00
Themaister
aecbf71a90 Begin adding config swapping support to RGUI. 2013-09-27 00:17:42 +02:00
Themaister
933844274c Build fix. 2013-09-27 00:09:01 +02:00
twinaphex
f74c698822 (RMenu) Start rewriting input code to be uniform to RGUI 2013-09-26 22:34:51 +02:00
Themaister
b11895ec4c Build fix. 2013-09-26 21:45:35 +02:00
twinaphex
0039ade630 (RMenu/RGUI) Fast L/R scrolling 2013-09-26 15:50:10 +02:00
twinaphex
01a1b16932 (RMenu) Use rgui->selection_ptr 2013-09-26 14:45:48 +02:00
Themaister
841d8fa8e1 Add video_rotation.
Replaces g_extern.console.screen.orientation.
Rotation semantics have slightly changed to be more composable.
The rotation is now video_rotation + rotation set by cores themselves
(if allowed).

The config is now also saved properly.
2013-09-22 11:45:04 +02:00
Themaister
086caef070 Add input_libretro_device_pN setting.
Allows input device type to be saved in a config, which tremendously helps usability
for PlayStation 1 cores.
2013-09-22 11:09:14 +02:00
twinaphex
d7eac16329 (menu_common) Add missing header include 2013-09-21 13:34:10 +02:00
Themaister
c2e863ac85 Fixup menu_ctx_init_first.
Use it directly instead of find_driver().
2013-09-19 17:44:28 +02:00
twinaphex
3b70e3be4a (RMenu XUI) Use interface for RMenu XUI too 2013-09-19 15:01:17 +02:00
twinaphex
45f46abb6d Create a menu_context interface 2013-09-19 14:49:07 +02:00
twinaphex
1fc1014448 More g_settings manipulation moved over to set_settings 2013-09-19 12:24:12 +02:00
twinaphex
81280896ed Move more g_settings manipulation to settings.c (settings_set) 2013-09-19 11:38:12 +02:00
twinaphex
66716dc94c (RMenu XUI) Replace some snprintfs with strlcpy 2013-09-19 11:11:51 +02:00
twinaphex
290c6f99cb (RMenu XUI) Use fill_pathname_join instead of messy snprintf and messy
seperators
2013-09-19 10:04:49 +02:00
Themaister
8707c4c648 Add screenshot directory option to RGUI. 2013-09-16 23:30:42 +02:00
Themaister
815cf1f35c Add GPU screenshots option. 2013-09-16 23:12:34 +02:00
Themaister
bbbe058cad Avoid OSD fonts appearing on screenshots.
Clears message queue and renders a cached frame
before taking screenshot when taking GPU screenshots.
2013-09-16 22:29:07 +02:00