Commit Graph

5 Commits

Author SHA1 Message Date
e1818cccfb feat(ui): add label and image support to slider
- Add `set_text()`, `set_track_image()`, `set_thumb_image()` methods.
- Include label rendering and auto-scaling based on slider dimensions.
- Replace static `THUMB_WIDTH` with dynamic thumb sizing.
- Add slider thumb and track texture assets.
2026-07-15 11:35:05 +08:00
8706723d53 refactor(ui): simplify Button API with property setters 2026-07-15 11:06:49 +08:00
618d3f1294 feat(ui): add HUD visibility toggle and image fill features 2026-07-14 15:27:55 +08:00
01c9f61d1c ui: add main menu scene and interactive button widget
- Implement MainMenuScene with a "Start Game" button that pushes the WorldScene.
- Extend Button class with background/foreground, hover detection, and size queries.
- Add virtual width/height and event handlers to Widget base class.
- Update WorldUIManager to propagate mouse move events.
- Adjust Window mouse mode based on game running state.
2026-07-13 10:38:30 +08:00
c62f2baf7c feat: add ui renderer 2026-03-21 11:19:23 +08:00