Commit graph

26 commits

Author SHA1 Message Date
Nebuleon Fumika
3f501f9c90 Add support for custom main menu active/inactive, message text and background colors. Fill in default values for the purple skin in uicolors.txt. 2013-05-23 20:07:48 -04:00
Nebuleon Fumika
41c50b372e CATSFC/system/gui/uicolors.txt: Theme support for active and inactive item text colors. 2013-05-20 00:46:43 -04:00
Nebuleon Fumika
2113821e23 Fix scrollers in file selectors after the previous commit. 2013-03-29 05:52:12 -04:00
Nebuleon Fumika
efe43d2f62 Stop the odd disappearing text when moving between files in recently played games. 2013-03-29 05:45:39 -04:00
Nebuleon Fumika
9a08a7ea4a Make rendering a GUI background (256x192) more efficient. 2013-03-29 05:24:31 -04:00
Nebuleon Fumika
362058dc00 Allocate fewer screens for the console shown when a basic initialisation error occurs. 2013-03-23 01:20:08 -04:00
Nebuleon Fumika
37ef0a9b8d Fix the text scrollers, and make the scroller code smaller to boot. 2013-03-11 00:22:01 -04:00
Nebuleon Fumika
936cb38b5e Center text without needing endless spaces; also support \n in centered text.
* Text positioning in message boxes is now controlled by #defines.
* The various MSG_PLAY_SLIDE<n> messages are now one, MSG_SCREENSHOT_SLIDESHOW_KEYS, with \n between lines.
* Use \n in some more message pairs.
* Lengthy scrollers broke. This will be investigated in a later commit.
2013-03-10 21:21:37 -04:00
Nebuleon Fumika
d8d2dcc959 Remove unneeded variables in draw.c. 2013-02-27 19:07:48 -05:00
Nebuleon Fumika
49cc257e8d Remove unneeded functions in draw.c. 2013-02-27 19:01:09 -05:00
Nebuleon Fumika
52b11e6c1c Adjust hotkeys to allow using the directional pad for them. Suggested usage is L+Up, R+Up, etc. 2013-02-14 16:24:42 -05:00
Nebuleon Fumika
2cf733eef4 Add three hotkeys: temporary fast-forward, sound toggle and return to menu. These hotkeys can be overridden per game so that the global version of the hotkey can be ignored.
* Language file fixups related to \n (newlines).
* Pictochat fixups: shorten START and SELECT to ST and SEL. Should still be recognisable.
2013-01-22 04:16:15 -05:00
Nebuleon Fumika
7ca34093be Remove GBAFILE from the icon list as it's never used. 2013-01-20 19:17:48 -05:00
Nebuleon Fumika
b6a2065e21 Remove SUBSELB from the icon list as it's never used. Make inactive items a deep purple instead of a light teal. 2013-01-20 18:35:16 -05:00
Nebuleon Fumika
88135c52f8 Remove unneeded volatility, enabling more optimisations. Sound volatility is #define'd away, GUI volatility is simply removed. 2013-01-19 20:28:17 -05:00
Nebuleon Fumika
2bb2ee8c0a Prepare code to ask for a hotkey. Prepare a temporary fast-forward switch. 2013-01-19 02:24:37 -05:00
Nebuleon Fumika
4b4349ac8a GUI picture overhaul.
* Glass buttons. These new buttons are in the SVG format in source/images if you wish to make derived skins.
* Icons from the Tango Icon Library and the RRZE Icon Set. These new icons are in the SVG format in source/images if you wish to make derived skins.
* Main menu: More readable text on unselected options.
* Main menu: Make "New game", "Return to game" and "Reset game" localised in English, French and Simplified Chinese. These three options also all use the same button image now; snewo, snnewo, sreseto, snreseto, sreteno and snreteno are gone and replaced by smaini and snmaini.
* copyright: Update.
* Align main menu icons and text better.
2013-01-18 21:36:59 -05:00
Nebuleon Fumika
95b7104d47 Forgot to define inputdata for the button touch commit. 2013-01-14 04:14:47 -05:00
Nebuleon Fumika
259cbd1837 Remove some comments in draw_yesno_dialog to make it easier to read. 2013-01-14 04:03:33 -05:00
Nebuleon Fumika
4ba17a46f6 Make yes/no dialog(ue)s respond to touches on the Yes and No buttons. 2013-01-14 03:58:52 -05:00
Nebuleon Fumika
e2359ee049 Localise Yes(A) and No(B) into English, French and Simplified Chinese as [A] Confirm and [B] Cancel.
CATSFC/system/gui/sbutto.bmp: Widen the button to accomodate this change.
2013-01-13 20:22:41 -05:00
Nebuleon Fumika
6c5bd75716 Language file overhaul, part 2. Remove unused messages in all languages.
It's actually reloading icons that takes so much time.
2013-01-06 03:45:11 -05:00
Nebuleon Fumika
9c1742f6cb Universally use update method 2 for the lower screen and 0 for the upper screen. Method 1 causes problems after about 15 minutes; despite the double-buffering, screen updates start to tear in the middle consistently. 2012-12-26 11:29:47 -05:00
Nebuleon Fumika
a194b85003 Preliminary Snes9x-based cheat code support. Not tested, because the file selection interface freezes when it gets to the folder containing Mightymo's cheat files, whereas it did not do this before with the converted Mightymo cheats. (335 files -> 679, though.) 2012-12-22 22:16:55 -05:00
Nebuleon Fumika
712c249e8c Simplify the GUI code.
* gui.c: Simplify row and column checks when handling touch events.
* draw.c, err_msg: Use ConsoleInit instead of a custom drawstring function when an initialisation error that is NOT related to DS2 I/O occurs. This allows \r\n to work.
* gui.c, initialisation: Remove the Engrish in the "initial <subsystem name> error" messages. Make them appear in English and French. Unfortunately, the console doesn't support Chinese characters, and I don't know Chinese.
2012-12-20 23:52:09 -05:00
Kitty Draper
d40ae99422 first commit 2011-03-05 21:39:25 -05:00