Commit Graph

173 Commits

Author SHA1 Message Date
extio-de
23a95cd137 feat(theme): add Blueprint theme and corresponding pattern renderer 2025-12-28 11:53:59 +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
6919d81c12 feat(renderer): add CustomWindowPanel and WindowPanelControl for enhanced UI rendering 2025-12-27 18:43:32 +01:00
extio-de
7bc529a473 feat(renderer): implement z-index management for layered rendering and update component order 2025-12-27 16:16:05 +01:00
extio-de
f36492197f fix(renderer): correct UI_TOP and TOP layer values for accurate rendering 2025-12-27 13:42:31 +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
4f6aea70b1 feat(demo): add DemoModule example showcasing core engine features and usage 2025-12-26 19:31:35 +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
22d99e75b9 feat(renderer): Multi-line text rendering in G2DDrawFont class 2025-12-26 18:58:10 +01:00
extio-de
eb1fc240ba feat(input): Enhance mouse event handling with raw and scaled coordinates 2025-12-26 18:38:16 +01:00
extio-de
87287ad5f7 refactor(container): Simplify position adjustment by removing normalization calculations 2025-12-26 18:18:15 +01:00
extio-de
dbcb6609d5 style(container): Clean up whitespace and formatting in Container and Window classes 2025-12-26 18:06:21 +01:00
extio-de
e5151f71be fix(window): Set close button draggable property to true in Window class 2025-12-26 17:54:55 +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
8b912a5845 feat(container): Dragging and adjustIfOutsideViewport 2025-12-26 17:13:06 +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
3c840220a1 feat(documentation): Update README to enhance background information and clarify module lifecycle management 2025-12-26 15:58:15 +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
1d0ec4fd5c refactor(renderer): Remove controlId from ControlRenderingBo and related classes 2025-12-26 15:18:03 +01:00
extio-de
9c12d54341 feat(renderer): Refactor resource handling to use StaticResource for icons and backgrounds in rendering components 2025-12-26 15:15:00 +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
ac8e680195 refactor(G2DDrawWindow2): Comment out Component annotation for future implementation 2025-12-26 13:05:54 +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
598a4beda8 feat(renderer): Implement Container and Window classes for modular rendering 2025-12-25 17:06:15 +01:00
extio-de
4648c1241b feat(renderer): Enhance star generation by introducing REFERENCE_STARS for viewport scaling 2025-12-25 16:49:55 +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
4efbe3e8e3 refactor(renderer): Rename closeStatic method to staticCleanupAfterFrame for clarity 2025-12-25 16:40:02 +01:00
extio-de
53efaa0455 fix(renderer): Prevent releasing the same RenderingBo object in put methods 2025-12-25 16:16:27 +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
extio-de
5f73867897 refactor(module): Change LOGGER to instance variable and update ModuleServiceImpl to use ApplicationContext 2025-12-25 15:37:00 +01:00
extio-de
fffa2b773f feat(renderer): Add copy method to RenderingBoPool interface and implement in RenderingBoPoolImpl 2025-12-25 15:36:16 +01:00
extio-de
3ce76decff feat(renderer): Add apply method to RenderingBo interface and implement in rendering classes 2025-12-25 15:27:53 +01:00
extio-de
7436f04406 fix(renderer): Remove duplicate import of StaticResourceService in RendererAutoConfiguration 2025-12-25 15:25:44 +01:00
extio-de
3e17849093 feat(renderer): Implement getOrAcquire and remove methods in RendererWorkingSet interface and update RendererWorkingSetImpl 2025-12-25 13:23:25 +01:00
extio-de
5d80ba3f9e feat(renderer): Add getOrAcquire method and enhance get method in RendererWorkingSet implementation 2025-12-25 12:49:53 +01:00
extio-de
478dbc3f3c refactor(module): Change logging level from info to debug for module load/unload and activation events 2025-12-25 12:04:17 +01:00
extio-de
c3a81ce1f7 feat(renderer): Update rendering workflow example to use 'put' method and demonstrate object retrieval 2025-12-25 12:02:09 +01:00