Skip to content

Icon: the window icon also a resource of the executable - #32

Open
Sylphera wants to merge 2 commits into
slint/nativefrom
slint/app-icon
Open

Sylphera wants to merge 2 commits into
slint/nativefrom
slint/app-icon

Conversation

@Sylphera

Copy link
Copy Markdown
Owner

Icon-only change, as asked (2026-10-23): the branch carries no interface changes at all (the logo commit #29 plus this one).

  • assets/halation-app-icon.ico: multi-size icon (16/24/32/48/256) rendered from docs/media/brand/source/halation-mark.svg by tools/render-brand.js.
  • build.rs embeds it in the Windows executable (embed-resource 3.0.11, rc.exe from the Windows SDK), so Explorer, the taskbar, alt-tab and shortcuts show the mark before the window exists. The window's icon in Slint keeps reading assets/halation-app-icon.png.

Verified: cargo fmt --check, cargo clippy --workspace --all-targets -- -D warnings, cargo test --workspace, cargo build --release, python tools/check-docs.py - all green; icon extracted from the release exe (32/32).

Sylphera and others added 2 commits October 23, 2026 00:27
The logo is a hand-drawn vector stroke (docs/media/brand/source/halation-mark.svg): an arch, a dip and a hooked rise. tools/render-brand.js renders the transparent mark and the window/taskbar icon (the mark on a #111111 rounded square); AppWindow.icon uses Assets.app-icon. The raster source and its extraction notes are retired.

(cherry picked from commit e8a6730)
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