aboutsummaryrefslogtreecommitdiff
path: root/source/nds/gui.c
AgeCommit message (Collapse)Author
2013-06-15Dynamically allocate memory for the file selector to store the name pointers ↵Nebuleon Fumika
into. Also dramatically simplify the file selector's name management code. This has many effects: * It allows the file selector to handle directories of more than 511 files and a parent directory entry. (Fixes GitHub issue #37). * It allows the file selector to sort directories along with files, which is a more common use case (game folders that contain ROM hacks, plus single game files, are sorted by name as the user expects). * The file selector now reports progress while loading a large directory. * The screenshot slideshow function now shows an existing dedicated message, "No screenshots found", instead of crashing when the screenshot directory contains no screenshots. Add Quicksort code from GameYob. See <https://github.com/Nebuleon/GameYob/commit/afbeeba>. * Faster sorting in the common case where a directory's natural order is already sorted, using the isSorted function. * Use the median-of-three algorithm first described by Robert Sedgewick to select the pivot. Causes less recursion in many cases. * Associates file names with their is-directory flag, keeping both in sync.
2013-06-10Prevent a file handle leak when previewing saved states in the row of Load ↵Nebuleon Fumika
cells.
2013-05-25L+R takes a screenshot of the Touch Screen in the menu. Taken from TempGBA ↵Nebuleon Fumika
commit b4a68a9ad710cd37fec0c0f604218f5a34d10fc7.
2013-05-23Release 1.35.Nebuleon Fumika
2013-05-23Add support for custom main menu active/inactive, message text and ↵Nebuleon Fumika
background colors. Fill in default values for the purple skin in uicolors.txt.
2013-05-20Fix a bug whereby quick saved states would have a screenshot of "Saving ↵Nebuleon Fumika
state...".
2013-05-20Add an option to put the game on the Lower Screen.Nebuleon Fumika
* Before entering the menu, copy the game screen to the Upper Screen if it's on the Lower Screen. * Now, the frame that's shown in the menu doesn't appear to be the previous frame for a fraction of a second anymore.
2013-05-20CATSFC/system/gui/uicolors.txt: Theme support for active and inactive item ↵Nebuleon Fumika
text colors.
2013-05-20Put the most recently played file at the top. This does not introduce an ↵Nebuleon Fumika
incompatibility with older preference files.
2013-04-28Fix a GUI bug whereby an incorrect item is considered touched in file selectors.Nebuleon Fumika
2013-04-09Add the year to the date displayed in a saved state's screenshot.Nebuleon Fumika
Based on TempGBA commit 0adaf3c332453679cc0a2feee9e87d5a4dc3c771.
2013-03-30Release 1.34.Nebuleon Fumika
2013-03-30Wait for a button to be pressed and released after showing version information.Nebuleon Fumika
2013-03-30Fix the odd text disappearance bug in recently played games due to the ↵Nebuleon Fumika
position being preserved.
2013-03-30Increase the row count from 6 to 8 in the GUI, file selector and cheats. ↵Nebuleon Fumika
Remove the useless "dynamic cheat" functions.
2013-03-29Stop the odd disappearing text when moving between files in recently played ↵Nebuleon Fumika
games.
2013-03-29gui.c: Overhaul the autorepeat behaviour of get_gui_input.Nebuleon Fumika
2013-03-29Preserve the position in a menu when moving into one of its submenus.Nebuleon Fumika
2013-03-28Restore the functionality of selection options with handler functions. This ↵Nebuleon Fumika
unbreaks commit 57bcab6a250a138d42735504e871ff7011974532.
2013-03-28Remove some button press/release recognition latency in the menu.Nebuleon Fumika
2013-03-28Reduce the number of special cases in the touch handling code.Nebuleon Fumika
2013-03-28Fix overlapping text (screenshot creation OK/failed) in message boxes.Nebuleon Fumika
2013-03-28Make "Save a screenshot" work with touch.Nebuleon Fumika
2013-03-28Fix a crash in the touch handler of the delete saved state submenu.Nebuleon Fumika
2013-03-28Finish the back button uniformisation.Nebuleon Fumika
2013-03-28Stop the path scroller flashing when moving between files in a file selector.Nebuleon Fumika
2013-03-27Delete the right number of saved states when selecting one of the options.Nebuleon Fumika
2013-03-27"Saving state..." was still way below the top of its message box.Nebuleon Fumika
2013-03-27Use white text with a black outline when drawing the date of a saved state ↵Nebuleon Fumika
into its bitmap. It looks nicer than white on a rectangle of black.
2013-03-27Show the screenshot with timestamp after writing a state.Nebuleon Fumika
2013-03-27Use update method 0 everywhere in the code except that double-buffered ↵Nebuleon Fumika
update workaround for hangs.
2013-03-26Default to the first non-Back option in all menus for which the element ↵Nebuleon Fumika
count is known to always be non-zero. That excludes the recently played games menu.
2013-03-26Saved state menu overhaul.Nebuleon Fumika
* Show the screenshot of the selected saved state even in the creation and deletion rows. * In the saved state deletion interface, make the single state deletion go first. * The screenshot of the latest saved state or the last selected one appears when the menu loads. * The screenshot of the paused game appears when the menu is left.
2013-03-26Uniformise the location of the title icon across all interfaces, default and ↵Nebuleon Fumika
custom.
2013-03-26Uniformise the location of the back button across all interfaces, default ↵Nebuleon Fumika
and custom.
2013-03-23Remove \r's in the basic initialisation error messages.Nebuleon Fumika
2013-03-20Release 1.33.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-03-01Release 1.32.Nebuleon Fumika
2013-02-20Use the CATSFC directory in the root of the storage card if a SYSTEM/GUI ↵BassAceGold
directory is not found in the system folder provided by plugin arguments.
2013-02-19Start option text more to the left to fit more text in a line. Widen cheat ↵Nebuleon Fumika
descriptions and file names in selectors, to the left AND to the right, to make the interface consistent again (and for practical purposes).
2013-02-14Release 1.31.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-02-14Brazilian Portuguese adjustments.Nebuleon Fumika
* Align text in columns for options. * Fix a spelling mistake, "relaizar". * Consistency with other languages. * Reorder the hotkey options, which I pasted in incorrectly.
2013-02-14Add a Brazilian Portuguese localisation.Diego Liberal
2013-02-14Merge pull request #35 from alexinfurs/masterNebuleon Fumika
Add an Italian translation
2013-02-14Add hotkeys to quickly load from and save to saved state #1, as well as to ↵Nebuleon Fumika
toggle full-screen (going from mode 3, middle of screen, to mode 4, full-screen smoothed). This commit uses text that has not been validated in some languages.
2013-02-13Update source/nds/gui.cAlessandro Pelliccia
Add Italian language
2013-02-12Reimplement grouped multipart cheat codes on top of Snes9x's cheat data.Nebuleon Fumika
2013-02-11Language file adjustments and arrows for direction keys (*u, *d, *l, *r).Nebuleon Fumika
* All languages except Chinese: Remove redundancy in the New game menu. Remove "from the card". * All languages except German and Chinese: Remove "games" in "recently played games". It's implied by the rest of the menu. * Spanish: menu should be menú. * All languages: modify keys in the screenshot slideshow message so that direction keys are arrows. * Tools/Screenshots, English, French, Spanish: Stop implying that you can browse the screenshots; instead imply that it's a slideshow you control only sequentially. * Dutch: Try to shorten "Ga terug naar het spel" so it can fit in a button, by removing the "Ga". It still splits.