Commit Graph

82 Commits

Author SHA1 Message Date
extio-de
46659361e2 chore(version): update project version to 1.0.16
refactor(StaticResourceServiceImpl): change serialization method to not use the 'useDefault' flag

test(StaticResourceServiceImplTest): update serialization method in tests to not use the 'useDefault' flag
2026-05-15 23:27:38 +02:00
extio-de
f54e07b984 Refactor Localization Service
- Updated LocalizationService interface to load localization data from a Path instead of InputStream.
- Enhanced LocalizationServiceImpl to handle loading and saving of localization data from directories.
- Introduced LocalizationLanguage and LocalizationMetadata classes to encapsulate language entries and metadata.
- Refactored Localizations class to manage language files and metadata more effectively.
- Added unit tests for loading localizations from directory and verifying language translations.
- Created YAML files for English and German languages along with a metadata file for localization information.
2026-05-15 16:32:18 +02:00
extio-de
697bf3f6a6 Refactored renderer model; 2026-03-25 22:19:03 +01:00
extio-de
6c469ba79f test(renderer): disable concurrent commits test due to flakiness concerns 2026-03-24 22:06:52 +01:00
extio-de
7bc3807f63 feat(renderer): implement PopupMenu control and integrate CustomPopupMenu for enhanced UI interactions 2026-01-18 18:28:56 +01:00
extio-de
58fa9cfec4 fix(tests): update translation test to assert correct result for unknown key 2026-01-03 20:46:51 +01:00
extio-de
712e49d7aa Refactor control rendering data handling
- Replaced multiple custom data fields in G2DDrawControl with specific data classes for each control type (LabelData, ButtonData, ToggleButtonData, etc.).
- Updated setCustomData methods to setControlData, allowing for type-safe handling of control-specific data.
- Modified control implementations (e.g., G2DButtonControlImpl, G2DLabelControlImpl) to utilize the new data classes.
- Adjusted the ControlRenderingBo interface to reflect the new data structure and removed deprecated custom data methods.
- Updated demo module to use the new control data structure for button and label controls.
2026-01-03 19:29:59 +01:00
extio-de
5691ce2b03 fix(demo): introduce margin constants for consistent layout in DemoModule 2026-01-03 11:27:18 +01:00
extio-de
7dbe26a5cd feat(i18n): integrate StorageService for language persistence in LocalizationServiceImpl 2025-12-31 13:30:35 +01:00
extio-de
10682caa8c test(spatial2): Rename SpatialUtils2Tests 2025-12-31 12:14:12 +01:00
extio-de
974753c239 feat(renderer): add Demo application with standalone configuration and logging setup 2025-12-31 10:43:42 +01:00
extio-de
493af18505 feat(renderer): add Steampunk theme support and update font references in existing themes 2025-12-30 00:49:17 +01:00
extio-de
ca420d859b fix(renderer): adjust text rendering dimensions for alignment in G2DDrawFont 2025-12-29 22:32:39 +01:00
extio-de
be625f9dce fix(renderer): update color settings for toggled state in CustomButton and CustomSwitch
feat(demo): add Switch and update Button control types in DemoModule
2025-12-29 21:57:23 +01:00
extio-de
eb0b2d853c refactor(demo): remove unnecessary clearRenderingBos() calls in window setup methods 2025-12-29 21:39:37 +01:00
extio-de
cf14bd3c56 feat(demo): add language selection window and update localization keys 2025-12-29 20:08:49 +01:00
extio-de
3d696d658b refactor(demo): remove color setting from scroll area rendering in DemoModule 2025-12-29 19:48:46 +01:00
extio-de
2ec9a67dc0 feat(renderer): add withVisibleArea method for clipping area in RenderingBo interface 2025-12-29 19:48:27 +01:00
extio-de
8d3788b930 feat(demo): add decorative border effects to ScrollArea in DemoModule 2025-12-29 19:13:54 +01:00
extio-de
572dff2f39 feat(demo): add dynamic text rendering to ScrollArea in DemoModule 2025-12-29 19:02:40 +01:00
extio-de
c459767de8 feat(demo): implement ScrollArea functionality in DemoModule for improved UI interaction 2025-12-29 18:37:52 +01:00
extio-de
d806c6aa94 feat(renderer): improve RendererWorkingSet synchronization in commit operations 2025-12-29 18:28:46 +01:00
extio-de
322dad1e2c refactor(test): update setZIndex method signature 2025-12-29 18:27:43 +01:00
extio-de
8d57058370 feat(demo): remove theme selection clearing in secondary window setup 2025-12-28 15:03:43 +01:00
extio-de
00acf2296f feat(container): implement parent-child relationship for containers and update z-index management 2025-12-28 14:43:41 +01:00
extio-de
b0b9d9b4f5 feat(theme): enhance theme management with storage capabilities and add unit tests 2025-12-28 13:24:02 +01:00
extio-de
99eb8bc46f feat(audio): implement audio toggle functionality and update UI elements 2025-12-28 12:21:55 +01:00
extio-de
120dd91161 Refactor theme management in G2D controls and introduce new themes
- Updated G2DButtonControlImpl, G2DLabelControlImpl, G2DSliderControlImpl, G2DSwitchControlImpl, G2DTableControlImpl, G2DTextfieldControlImpl, G2DTextfieldControlImpl2, G2DToggleButtonControlImpl, G2DWindowCloseButtonControlImpl, and G2DWindowPanelControlImpl to use G2DThemeManager directly instead of casting from G2DRenderer.
- Added new theme factory beans: BevelDarkThemeFactoryBean, BevelLightThemeFactoryBean, MetroPatternRenderer, and updated existing theme factory beans to improve theme consistency and aesthetics.
- Modified audio settings in DemoModule for improved user experience.
- Adjusted background and foreground colors in various themes for better visibility and aesthetics.
2025-12-28 11:47:21 +01:00
extio-de
e87edd27a2 feat: Add multiple new themes and their corresponding pattern renderers
- Introduced new themes: Contemporary, Dream, Fantasy, Modern, Neon, Noir, and Urban.
- Implemented FactoryBeans for each theme to facilitate their creation.
- Developed pattern renderers for each theme to define their visual styles.
- Updated G2DAutoConfiguration to include new theme beans.
- Enhanced DemoModule to support dynamic theme selection with improved layout and positioning.
2025-12-27 23:40:14 +01:00
extio-de
bc627f3fe8 feat(theme): Introduce theming system with pattern renderers
- Added `ComponentState` enum to represent UI component states.
- Implemented `G2DThemeManager` to manage themes and pattern renderers.
- Created `HSBColor` class for HSB color representation and manipulation.
- Defined `PatternRenderer` interface for rendering UI patterns.
- Developed `SpacecraftPatternRenderer` and `VintagePatternRenderer` for default theming styles.
- Introduced `Theme` class to encapsulate theme properties and builder pattern.
- Added `SpacecraftThemeFactoryBean` and `VintageThemeFactoryBean` for theme instantiation.
- Updated `G2DWindowPanelControlImpl` to utilize theme manager.
- Removed obsolete `DrawWindowRenderingBo` interface.
- Enhanced `DemoModule` to support theme selection and application.
2025-12-27 23:25:02 +01:00
extio-de
6eb2ba271f feat(demo): add tooltip to main window label for improved user guidance 2025-12-27 18:44:37 +01:00
extio-de
26f083097c feat(renderer): add z-index support for fine-grained layer ordering in rendering 2025-12-27 13:39:50 +01:00
extio-de
b807da7b93 refactor(renderer): change RenderingBoLayer enum to short type for layer representation 2025-12-27 12:57:37 +01:00
extio-de
ee9c435071 Renamed RenderingBoLayer 2025-12-27 12:40:53 +01:00
extio-de
f4cdeac73f feat(localization): integrate localization service for dynamic text rendering in DemoModule 2025-12-26 19:14:27 +01:00
extio-de
b5448c3a55 refactor(localization): remove integer ID translation methods from LocalizationService and related tests 2025-12-26 19:14:19 +01:00
extio-de
c5caab1dd9 feat(window): Add close button functionality to Window class and update DemoModule 2025-12-26 17:52:51 +01:00
extio-de
f6f0901543 feat(demo): Enhance DemoModule with secondary window setup and UI controls 2025-12-26 17:31:46 +01:00
extio-de
c393fa55c8 feat(renderer): Refactor rendering object pool management and update related tests 2025-12-26 17:09:01 +01:00
extio-de
a119b4b5e9 Rename SpatialUtils2 2025-12-26 16:08:30 +01:00
extio-de
b48ac87ae5 feat(module): Integrate EventService into ModuleService for event management 2025-12-26 15:58:09 +01:00
extio-de
64adf9c9f9 feat(event): Add unregisterAll method to EventService and EventHandlerRegistry 2025-12-26 15:57:57 +01:00
extio-de
a9ddcb173d feat(demo): Add audio alerts for UI control events in DemoModule 2025-12-26 15:33:08 +01:00
extio-de
09b0e28c5f feat(demo): Add logo and welcome label to main window in DemoModule 2025-12-26 15:14:11 +01:00
extio-de
5f49beec3c feat(renderer): Introduce HorizontalAlignment and VerticalAlignment enums; refactor alignment handling and scaling in rendering components 2025-12-26 14:21:48 +01:00
extio-de
3a1d1277ac feat(demo): Integrate Window management in DemoModule for enhanced rendering control 2025-12-25 17:06:25 +01:00
extio-de
98cb282ab8 refactor(renderer): Rename closeStatic method to staticCleanupAfterFrame for clarity 2025-12-25 16:40:51 +01:00
extio-de
baaddc8719 refactor(renderer): Rename closeStatic method to staticCleanupAfterFrame for clarity 2025-12-25 16:40:34 +01:00
extio-de
b2c7747782 feat(renderer): Implement cloning of RenderingBo objects in commit process 2025-12-25 15:43:04 +01:00
extio-de
e8aee54a34 Rename ModuleServiceTest 2025-12-25 15:37:41 +01:00