add improvements to borealis #106
Open
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.
This pull request introduces significant updates to the CMake configuration, application localization, and button customization in the project. The changes streamline cross-compilation setup, enhance internationalization (i18n) features, and add flexibility for button content customization. Below is a summary of the most important changes:
Cross-compilation improvements:
MinGWCross.cmaketo address compatibility issues with CMake 3.28+ by reworking toolchain configuration and introducing a workaround forMSYSTEM_PREFIX. This includes setting compilers, linker flags, andpkg-configpaths explicitly.Localization enhancements:
Application::setLocaleto allow forcing the application's locale before initialization. This includes a newforcedLocalestatic variable and logic to prioritize it ingetLocale(). [1] [2] [3] [4]Button customization:
Button::setCustomContentto replace the default button content with a custom view, enabling more flexible UI designs. [1] [2]Miscellaneous:
YG_ENABLE_EVENTSinapplication.cpp.These changes collectively improve the project's configurability, internationalization support, and UI customization capabilities.