Code Sample |
Color:set_color(5,255,165,0) |
Code Sample |
-- set up four colors -- color table goes up to "small number" according to docs temp = Color:set_color(17,255,165,0) temp = Color:set_color(124,125,125,256) temp = Color:set_color(254,25,25,125) temp = Color:set_color(1001,25,125,125) w = Window{320,200,"Test Window"} w.color = 17 name = Input{76,10,210,25,"Name:"} name.color = 124 myBox = Box{20,40,100,100} myBox.color = 254 myBox.box = Boxtype.flat myBox = Box{140,40,60,60} myBox.color = 1001 myBox.box = Boxtype.flat w:end_layout() w:show() |