struct

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)
Source
new(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)
Source

Instance methods

alt_wire
Source
buffer
Source
cross
Source
diode_in
Source
diode_out
Source
gpio
Source
high
Source
input_off
Source
input_on
Source
input_toggle_off
Source
input_toggle_on
Source
is_active
Source
is_and_will_active
Source
join
Source
load_into_components
Source
nc_pole
Source
no_pole
Source
not_in
Source
not_out
Source
output_off
Source
output_on
Source
start
Source
switch
Source
tunnel
Source
will_active
Source
wire
Source

Nested types