Commit Graph

15 Commits

Author SHA1 Message Date
Brackyt
93a94ea838 feat: bug fixes and optimizations
- fix double-free
- safe int/float parse
- grid division guard
- list string allocations
- label vector reserve
- skip second layout pass for hstack/vstack
2026-01-29 13:14:57 +01:00
Brackyt
999e60b75e feat: add valign and halign to stack elements 2026-01-29 13:14:57 +01:00
Brackyt
5e9e53cc13 fix(cppcheck): clang format 2026-01-29 13:14:57 +01:00
Brackyt
bd28d9d648 feat: Enhance ThemeEngine and apply new theming to SettingsActivity
- Improve ThemeManager with Children property support and safe integer parsing.
- Refactor SettingsActivity to use new theme elements.
- Update BasicElements and LayoutElements for better rendering.
2026-01-29 13:14:35 +01:00
Brackyt
f559f408bb fix(cppcheck): more clang format fix 2026-01-29 13:11:31 +01:00
Brackyt
092fcafd19 fix(cppcheck): resolve style and performance issues
- Remove unused HomeActivity::restoreCoverBuffer
- Use initialization lists in constructors
- Mark single-argument constructors as explicit
2026-01-29 13:11:04 +01:00
Brackyt
e3c2b04cab feat: border radius on bitmap 2026-01-29 13:09:21 +01:00
Brackyt
9b7a6a4eed default theme closer to reality 2026-01-29 13:06:44 +01:00
Brackyt
968c65a695 feat: multiline support 2026-01-29 13:06:44 +01:00
Brackyt
dccd200b86 fix: reset clang correctly 2026-01-29 13:06:44 +01:00
Brackyt
1fab1f9ec5 fix: set default theme to original crosspoint ui + add small font + battery icon 2026-01-29 13:04:36 +01:00
Brackyt
ad2bea2122 fix: make home navigation work for all themes 2026-01-29 13:04:36 +01:00
Brackyt
7a5c1e8e0e - rounded rects
- background fill
- border radius
- container paddings
- fix navigation in home
2026-01-29 13:02:15 +01:00
Brackyt
d54f3c5143 fix:
- text no showing if clipping out of screen
- inner child dimensions setting 0 for height
- navigation to home menus was skipping transfer
2026-01-29 12:57:54 +01:00
Brackyt
374f1a1106 refactor: Enhance Bitmap handling and introduce ThemeEngine
- Refactored Bitmap class to improve memory management and streamline methods.
- Introduced ThemeEngine with foundational classes for UI elements, layout management, and theme parsing.
- Added support for dynamic themes and improved rendering capabilities in the HomeActivity and settings screens.

This update lays the groundwork for a more flexible theming system, allowing for easier customization and management of UI elements across the application.
2026-01-29 12:57:54 +01:00