Opal::GlyphSet
Set of configurable UI glyphs and character symbols for controls. Enables global and per-theme character swapping (e.g., retro ASCII vs modern Unicode).
Constructors
new(window_close : String = "[x]", window_maximize : String = "[^]", window_minimize : String = "[-]", window_resize : Char = '◢', cursor : String = "▶ ", checkbox_checked : String = "[x]", checkbox_unchecked : String = "[ ]", radio_checked : String = "(•)", radio_unchecked : String = "( )", dropdown_arrow : String = "▼", dropdown_arrow_up : String = "▲", scrollbar_thumb : Char = '█', scrollbar_track : Char = '░', scrollbar_arrow_up : Char = '▲', scrollbar_arrow_down : Char = '▼', scrollbar_arrow_left : Char = '◄', scrollbar_arrow_right : Char = '►', table_junction : Char = '┼', table_horizontal : Char = '─', table_vertical : Char = '│', table_top_junction : Char = '┬', table_bottom_junction : Char = '┴', table_left_junction : Char = '├', table_right_junction : Char = '┤')
SourceInstance methods
checkbox_checked
Sourcecheckbox_unchecked
Sourcecursor
Sourcedropdown_arrow
Sourcedropdown_arrow_up
Sourceradio_checked
Sourceradio_unchecked
Sourcescrollbar_arrow_down
Sourcescrollbar_arrow_left
Sourcescrollbar_arrow_right
Sourcescrollbar_arrow_up
Sourcescrollbar_thumb
Sourcescrollbar_track
Sourceswap(window_close : String | Nil = nil, window_maximize : String | Nil = nil, window_minimize : String | Nil = nil, window_resize : Char | Nil = nil, cursor : String | Nil = nil, checkbox_checked : String | Nil = nil, checkbox_unchecked : String | Nil = nil, radio_checked : String | Nil = nil, radio_unchecked : String | Nil = nil, dropdown_arrow : String | Nil = nil, dropdown_arrow_up : String | Nil = nil, scrollbar_thumb : Char | Nil = nil, scrollbar_track : Char | Nil = nil, scrollbar_arrow_up : Char | Nil = nil, scrollbar_arrow_down : Char | Nil = nil, scrollbar_arrow_left : Char | Nil = nil, scrollbar_arrow_right : Char | Nil = nil, table_junction : Char | Nil = nil, table_horizontal : Char | Nil = nil, table_vertical : Char | Nil = nil, table_top_junction : Char | Nil = nil, table_bottom_junction : Char | Nil = nil, table_left_junction : Char | Nil = nil, table_right_junction : Char | Nil = nil) : GlyphSet
Returns a modified copy with selective character swaps
table_bottom_junction
Sourcetable_horizontal
Sourcetable_junction
Sourcetable_left_junction
Sourcetable_right_junction
Sourcetable_top_junction
Sourcetable_vertical
Sourcewindow_close
Sourcewindow_maximize
Sourcewindow_minimize
Sourcewindow_resize
Source