initial-background-color ( attributes -- color )


Vocabulary
ui.gadgets.worlds

Inputs and outputs
attributesan object
coloran object


Definition


: initial-background-color ( attributes -- color )
window-controls>> textured-background swap member-eq? [
T{ rgba
{ red 0.0 }
{ green 0.0 }
{ blue 0.0 }
{ alpha 0.0 }
}
] [
T{ rgba
{ red 1.0 }
{ green 1.0 }
{ blue 1.0 }
{ alpha 1.0 }
}
] if ;