module

Egui::Icons

Constants

NAMES = {:check, :close, :left, :right, :up, :down, :plus, :minus, :copy, :paste, :trash, :download}

Class methods

arrow_button(painter : Painter, name : Symbol, rect : Rect, fill : Color32, arrow : Color32, pressed : Bool) : Nil

A beveled square button with a centered arrow icon (classic scrollbar arrows, NumberInput spin arrows).

Source
bevel(painter : Painter, rect : Rect, fill : Color32, pressed : Bool) : Nil

Win95/XP bevel: fill plus light top/left and dark bottom/right edges (inverted when pressed). Shared by the classic scrollbar and NumberInput's spin arrows so both render the same native arrow-button look.

Source
draw(painter : Painter, name : Symbol, rect : Rect, color : Color32, width : Float64 = 2.0) : Nil

Draw name fitted into rect with color and stroke width.

Source