Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Icons #43

Open
3 tasks
dhardy opened this issue Jan 29, 2020 · 1 comment
Open
3 tasks

Icons #43

dhardy opened this issue Jan 29, 2020 · 1 comment
Labels
missing dependencies Better/new Rust libraries are needed new feature

Comments

@dhardy
Copy link
Collaborator

dhardy commented Jan 29, 2020

Typically, desktop environments provide a library of standard icons (from "save" floppy disks and "undo" arrows to specific app icons). KAS should make it easy to:

  • select icons from the standard set available on the current desktop / theme
  • support multiple icon sizes and scaling appropriate for HiDPI
  • bundle extra icons with an app

Most of this functionality need not be specific to KAS but should be part of some other cross-desktop crate.

@dhardy dhardy added the missing dependencies Better/new Rust libraries are needed label Jan 29, 2020
@dhardy
Copy link
Collaborator Author

dhardy commented Jul 16, 2022

The Gallery example solves this by bundling several SVG icons using include_bytes!. This isn't a universal solution, but it works well enough in this case.

Internally, code supports image atlases, used for text and for loaded images (with automatic placement of content). We should probably extend this:

  • Support loading pre-made image atlases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
missing dependencies Better/new Rust libraries are needed new feature
Projects
None yet
Development

No branches or pull requests

1 participant