aboutsummaryrefslogtreecommitdiff
path: root/source/nds/draw.c
AgeCommit message (Collapse)Author
2013-03-11Fix the text scrollers, and make the scroller code smaller to boot.Nebuleon Fumika
2013-03-10Center text without needing endless spaces; also support \n in centered text.Nebuleon Fumika
* 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-02-27Remove unneeded variables in draw.c.Nebuleon Fumika
2013-02-27Remove unneeded functions in draw.c.Nebuleon Fumika
2013-02-14Adjust hotkeys to allow using the directional pad for them. Suggested usage ↵Nebuleon Fumika
is L+Up, R+Up, etc.
2013-01-22Add three hotkeys: temporary fast-forward, sound toggle and return to menu. ↵Nebuleon Fumika
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-20Remove GBAFILE from the icon list as it's never used.Nebuleon Fumika
2013-01-20Remove SUBSELB from the icon list as it's never used. Make inactive items a ↵Nebuleon Fumika
deep purple instead of a light teal.
2013-01-19Remove unneeded volatility, enabling more optimisations. Sound volatility is ↵Nebuleon Fumika
#define'd away, GUI volatility is simply removed.
2013-01-19Prepare code to ask for a hotkey. Prepare a temporary fast-forward switch.Nebuleon Fumika
2013-01-18GUI picture overhaul.Nebuleon Fumika
* 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-14Forgot to define inputdata for the button touch commit.Nebuleon Fumika
2013-01-14Remove some comments in draw_yesno_dialog to make it easier to read.Nebuleon Fumika
2013-01-14Make yes/no dialog(ue)s respond to touches on the Yes and No buttons.Nebuleon Fumika
2013-01-13Localise Yes(A) and No(B) into English, French and Simplified Chinese as [A] ↵Nebuleon Fumika
Confirm and [B] Cancel. CATSFC/system/gui/sbutto.bmp: Widen the button to accomodate this change.
2013-01-06Language file overhaul, part 2. Remove unused messages in all languages.Nebuleon Fumika
It's actually reloading icons that takes so much time.
2012-12-26Universally use update method 2 for the lower screen and 0 for the upper ↵Nebuleon Fumika
screen. Method 1 causes problems after about 15 minutes; despite the double-buffering, screen updates start to tear in the middle consistently.
2012-12-22Preliminary Snes9x-based cheat code support. Not tested, because the file ↵Nebuleon Fumika
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-20Simplify the GUI code.Nebuleon Fumika
* 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.
2011-03-05first commitKitty Draper