Skip to content

Feature/more#1

Merged
ddalcu merged 3 commits into
mainfrom
feature/more
Jun 9, 2026
Merged

Feature/more#1
ddalcu merged 3 commits into
mainfrom
feature/more

Conversation

@ddalcu

@ddalcu ddalcu commented Jun 9, 2026

Copy link
Copy Markdown
Owner

No description provided.

ddalcu added 3 commits June 8, 2026 23:39
… polish

- Icons: bundle a Lucide subset (icons.ttf) as the `icon_font` import; new
  `Icon`/`IconButton`/`IconName` reusing the glyph path (src/icons.zig,
  font.drawIcon, Context.icon_cache). No new DrawCommand.
- Emoji: bundle Noto Emoji (NotoEmoji.ttf) as a fallback face for glyphs
  Inter lacks.
- Text-field context menu: right-click Cut/Copy/Paste/Select All via
  ClipboardOps + open/close/hover/fieldAt helpers.
- Selection/motion: double/triple-click (dispatchDoubleClick/TripleClick),
  selectWordAt, selectedText.
- Scrollbar fade animation (setFrameTime/scrollbarsAnimating) and hoverFill.
- Version is now read from build.zig.zon via build_options so zigui.version
  can't drift from the manifest.
- llm-chat: discard TrayMenu.addItem results (now returns a value).
… fixes

- Theme registry with five families (macOS, Windows 10, Windows 2000,
  KDE Plasma, Material), each light/dark, picked via forScheme().
- macOS theme reworked for the macOS 26 Liquid Glass look: capsule
  buttons/segments with sheen + specular rim (shared glassCapsule),
  accent-capsule segmented selection, glassy switch track and panels.
- Painter.segmentedSelection now returns the selected label color (fixes
  black-on-accent contrast in Windows 10/KDE light); Win2000 toggles render
  as classic 13px checkboxes; Material switch gets the thin overhung track,
  grey disabled buttons, and spec track colors.
- Rasterizer: clip-aware per-command bounds (culls scrolled-away work),
  full-coverage span fast path for fills (opaque rows become memset,
  vertical gradients one color per row), hollow-interior skip for strokes,
  opaque store in blend — 6.27ms -> 0.95ms/frame on the showcase at 1x,
  byte-identical output. showcase gains --bench N; ZIGUI_FRAME_LOG also
  logs the events that wake the loop.
- wrapText breaks unbreakable over-long tokens (paths/URLs) at codepoint
  boundaries; overlay content is clipped to its panel — alerts no longer
  overflow.
- View hub split into src/components/ modules (navigation, tabs, menu,
  grid, list, collections, text_buffer); view.zig re-exports.
- README: theme-gallery screenshots replace the retired settings/llm-chat
  shots.
@ddalcu ddalcu merged commit de91cde into main Jun 9, 2026
10 checks passed
@ddalcu ddalcu deleted the feature/more branch June 9, 2026 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant