Module tray_icons

Source
Expand description

Generate tray icons as needed.

§References

The idea for this feature came from other projects that use the tray icon to display the current virtual desktop index:

Re-exports§

pub use hardcoded::*;

Modules§

hardcoded 🔒

Enums§

IconType

Statics§

ICON_EMPTY
IMAGE_EMPTY
NUMBER_FONT 🔒
This font is only guaranteed to work on numbers.

Functions§

generate_icon_with_background
Generate an icon with a background using the imageproc crate to draw text.
generate_icon_without_background
Generate icon without any background using the imageproc crate to draw text.
get_empty_image 🔒
get_included_icon
get_number_font 🔒