Wireland::Palette
Inherits Struct < Value < Object
Constants
DEFAULT = Wireland::Palette.new(start: DC::LIGHT_GREEN, buffer: DC::DARK_BLUE, wire: DC::WHITE, alt_wire: DC::GREY, join: DC::DARK_BROWN, cross: DC::BROWN, tunnel: DC::LIGHT_ORANGE, input_on: DC::ORANGE, input_off: DC::DARK_ORANGE, input_toggle_on: DC::LIGHT_PURPLE, input_toggle_off: DC::DARK_PURPLE, output_on: DC::YELLOW, output_off: DC::DARK_YELLOW, not_in: DC::LIGHT_BLUE, not_out: DC::BLUE, switch: DC::PINK, no_pole: DC::RED, nc_pole: DC::DARK_RED, diode_in: DC::GREEN, diode_out: DC::DARK_GREEN, gpio: DC::PURPLE, bg: DC::BLACK)
Constructors
new(filename : String)
Sourcenew(start : Raylib::Color = DC::LIGHT_GREEN, buffer : Raylib::Color = DC::DARK_BLUE, wire : Raylib::Color = DC::WHITE, alt_wire : Raylib::Color = DC::GREY, join : Raylib::Color = DC::DARK_BROWN, cross : Raylib::Color = DC::BROWN, tunnel : Raylib::Color = DC::LIGHT_BROWN, input_on : Raylib::Color = DC::ORANGE, input_off : Raylib::Color = DC::DARK_ORANGE, input_toggle_on : Raylib::Color = DC::LIGHT_PURPLE, input_toggle_off : Raylib::Color = DC::DARK_PURPLE, output_on : Raylib::Color = DC::YELLOW, output_off : Raylib::Color = DC::DARK_YELLOW, not_in : Raylib::Color = DC::LIGHT_BLUE, not_out : Raylib::Color = DC::BLUE, switch : Raylib::Color = DC::PINK, no_pole : Raylib::Color = DC::RED, nc_pole : Raylib::Color = DC::DARK_RED, diode_in : Raylib::Color = DC::GREEN, diode_out : Raylib::Color = DC::DARK_GREEN, gpio : Raylib::Color = DC::PURPLE, bg : Raylib::Color = DC::BLACK)
SourceInstance methods
all
Sourcealt_wire
Sourcebg
Sourcebuffer
Sourcecross
Sourcediode_in
Sourcediode_out
Sourcegpio
Sourcehigh
Sourceinput_off
Sourceinput_on
Sourceinput_toggle_off
Sourceinput_toggle_on
Sourceis_active
Sourceis_and_will_active
Sourcejoin
Sourceload_into_components
Sourcenc_pole
Sourceno_pole
Sourcenot_in
Sourcenot_out
Sourceoutput_off
Sourceoutput_on
Sourcestart
Sourceswitch
Sourcetunnel
Sourcewill_active
Sourcewire
Source