Skip to main content

Module components

Module components 

Source
Expand description

Buttons, separators and SVG helpers for composing drawing toolbars.

Use PairButton for a tool button with a separate flyout trigger, or the button functions for individual tools and toggles.

Re-exports§

pub use icon_button::draw_icon_btn;
pub use icon_button::draw_icon_button_padded;
pub use icon_button::draw_toggle_btn;
pub use icon_button::draw_tool_button;
pub use pair_button::ArrowDirection;
pub use pair_button::PairButton;
pub use pair_button::PairButtonResponse;
pub use pair_button::draw_arrow;
pub use separator::draw_separator;
pub use separator::draw_separator_styled;
pub use separator::draw_separator_with_margin;
pub use svg_helpers::render_svg_at_rect_themed;
pub use svg_helpers::render_svg_centered;

Modules§

icon_button
Icon button components with theme-aware styling.
pair_button
Pair button component: [icon button | arrow button]
separator
Separator component for visual dividers in the toolbar.
svg_helpers
SVG rendering helpers with theme-aware colors.