Repository navigation
Merge Development: Options Menu v2.0.0 - #2
Merged
Merged
Conversation
- Created font8x8_ext_latin.h for extended Latin characters (U+00A0 to U+00FF) with 8x8 bitmap representations. - Created font8x8_hiragana.h for Hiragana characters (U+3040 to U+309F) with 8x8 bitmap representations. - Introduced font8x8_latin.h to include basic, control, extended Latin, and Hiragana fonts for comprehensive character support.
… scripts and commands
- Updated command names to use uppercase and underscores for consistency across the options menu and commands. - Added new language support for English and Portuguese, including translations for all commands and options. - Implemented localization functionality to load language files and translate strings dynamically. - Modified the command execution logic to utilize translated command names and titles. - Ensured proper handling of newline characters in command files and improved string processing in localization.
…lash script for onscreen messages
…ructure with child parameter
…rectory path in LoadLanguage function
…ate existing language files
- Introduced a new header file `font8x8_katakana.h` containing 8x8 bitmap font data for Katakana characters (U+30A0 - U+30FF). - Updated `texture.cpp` to include support for rendering Katakana characters by adding a lookup for the Katakana glyphs. - Enhanced `WriteText` function to handle Katakana characters alongside existing Latin and Hiragana support. - Modified `gen_splash.cpp` to include Katakana font rendering in the text generation process.
- Updated copyright information in various scripts to reflect new URL. - Added preview images and dimensions for several RetroArch commands. - Fixed sleep command syntax in USB_RW.sh. - Introduced USB_RW_state.sh to report current USB write-access state. - Enhanced command structure to support toggle states and state updates. - Implemented NineSlice rendering for UI elements to improve layout handling. - Integrated new UI theme constants for better visual consistency. - Adjusted main rendering loop to accommodate modern UI layout and toggle switches. - Improved command handling to update toggle states dynamically.
- Removed unused preview image coordinates from various language and network command files. - Updated backup and restore scripts to sanitize SSID inputs and improve error handling. - Enhanced command execution in the main application to handle non-numeric input safely. - Implemented UTF-8 truncation for command labels to prevent display issues. - Adjusted UI rendering logic for modern UI compatibility, including badge display and command execution. - Added new command for deleting backups in the RetroArch options menu. - General code cleanup and consistency improvements across multiple files.
- Integrated SDL_ttf for advanced text rendering capabilities. - Modified Texture class to support TTF fonts, allowing for proportional text rendering. - Implemented functions to measure text width and line height for TTF fonts. - Updated existing text rendering functions to utilize TTF where applicable. - Added a mechanism to set the TTF font path, with a fallback for missing fonts. - Enhanced text truncation logic to accommodate variable-width fonts. - Updated main application to utilize new TTF rendering features for UI elements.
- Introduced draw_helpers.h with functions for stroke and fill rectangle drawing, including rounded rectangles and lines for a modern UI aesthetic. - Updated sdl_context.cpp to improve renderer creation with vsync and added a shutdown method for better resource management. - Modified sdl_context.h to include a shutdown method and a shutdown flag. - Refined uitheme.h to adjust color schemes and layout constants for the modern UI, including badge and footer configurations. - Enhanced main.cpp to integrate new drawing functions, streamline command handling, and improve UI rendering logic, including a new method for drawing rows and managing the display of badges. - Implemented a confirmation dialog for delete actions with improved user feedback and interaction handling.
The restore commands folder is empty in the repo, so it never ships in the hmod; create it before listing backups. When no backups are left, remove the empty backup folder and go back to the Network menu instead of opening an empty list.
Files from the 2018 Options Menu predate hakchi's install records, so no uninstall removes them and stale Back/Exit rows and old commands kept showing up. Delete them by name, and uninstall the standalone om-wifi-backup mod, now built into the Options Menu.
The downloader takes --free-label and appends the destination's free space (USB or NAND) to each progress line. omDownloadAll also removes fifos left behind by cancelled batches.
…ave emptied lists
Rewrite of the interface and a large part of the scripts, continuing CompCom's Options Menu. - New look: TTF fonts, preview icons, toggle switches, themable colors - 9 languages, including Russian and Japanese - New menus: Controller, Diagnostics, Saved Games, Wi-Fi backups - Compat build for setups that replace the console's libstdc++
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rewrite of the interface and a large part of the scripts, continuing CompCom's Options Menu.