Commit Graph
17 Commits
Author SHA1 Message Date
西风逍遥游 5c733dfe18 feat(ui): add selectable icon toolbar tools 2026-09-11 14:15:21 +08:00
西风逍遥游andCursor 905bd8c813 feat(editor): add procgen script, UI theme, and voxel catalog workspaces
C++ owns those documents and workspace descriptors; examples compose panels. UI ColorPalette and theme scope support the theme editor inspector.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-05 19:08:50 +08:00
西风逍遥游 61df9a1e07 feat(ui): integrate world-space GUI anchors 2026-08-31 20:51:13 +08:00
西风逍遥游 7163fb1ea2 feat(ui): add desktop drag and drop 2026-08-31 00:50:47 +08:00
西风逍遥游 1a58e4d809 feat(ui): unify presentation and component framework 2026-08-26 02:35:29 +08:00
西风逍遥游 25f59bcb5f Merge remote-tracking branch 'origin/dev' into codex/unity-editor
# Conflicts:
#	docs/usr/modules/ui.md
2026-08-25 12:45:31 +08:00
西风逍遥游 346ee1fd3e feat(ui): add theme-driven responsive editor layout 2026-08-25 11:40:20 +08:00
西风逍遥游 4bc6cc1ba6 feat(ui): modernize editor shell workspace layout 2026-08-25 06:12:16 +08:00
西风逍遥游 8daf841af2 feat(ui): composite engine textures in declarative widgets 2026-08-25 06:09:09 +08:00
西风逍遥游 56d8dc6873 feat(ui): add reusable desktop editor layout components 2026-08-25 06:07:47 +08:00
西风逍遥游 f0cbcbea5c feat(ui): add modern editor widget primitives 2026-08-25 06:02:24 +08:00
西风逍遥游 812662d723 feat(ui): add bundled semantic editor icons 2026-08-25 05:53:56 +08:00
西风逍遥游 328e37e8ec feat(editor): complete P0 and P1 authoring services 2026-08-24 22:47:23 +08:00
西风逍遥游 a2dd8d7fb1 feat(ui): two-pass layout, images, events, virtualization, viewport
Gap-closing work for the declarative UI module vs UE/Unity/Godot:

- Layout: real measure pass (measureTree) + pure flexArrange with
  margin/padding/min-max/percent/anchor/absolute placement; window size,
  anchors and percentage sizing; script layout props.
- Widgets: Image/ImageButton (engine textures + nine-patch + tint/uv),
  Combo, text wrapping + CJK font candidates/ranges, InputText 1024B,
  virtualized ScrollList/virtualList.
- Events: script onClick/onChange callbacks with structured payloads
  (keeps the poll queues for compatibility).
- Tooling: UI JSON save/load (saveTreeJson/loadTreeJson), host pos tween
  animation, gamepad nav, per-frame UI stats.
- Viewport: embedded offscreen render target widget with input routing;
  RenderSystem3D::renderToCanvas preview pass + Graphics::renderScene3DToCanvas;
  editor.newHeightmapMesh/updateHeightmapMesh for heightmap terrain;
  examples/terrain-editor demonstrating orbit camera + raise/lower brush.
- Tests: 32 UI tests including real-window Vulkan smoke for the viewport.
2026-08-19 09:07:55 +08:00
西风逍遥游andCursor Agent 488cf0c9ef feat(ui): add Flex/Row/Column elastic layout for UI containers (#34)
Introduce Flex containers with gap, flexGrow, align, and justify so
toolbars and panels can lay out without manual SameLine, including
Spacer and script builder APIs.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-08-11 20:41:20 +08:00
西风逍遥游andCursor Agent e99641f088 feat(ui): unified theme tokens with named dark/light switching (#23)
Expand Theme into a full design-token set (palette, rounding, borders,
spacing, font scale) shared by dark/light presets. Add setTheme/getTheme
script APIs and apply tokens with DPI scale so geometry stays consistent
across theme switches.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-08-11 14:48:04 +08:00
西风逍遥游 28f778d2c4 docs: review every user module chapter 2026-08-09 21:41:58 +08:00