9 cm( inst, this,
"SimpleSplash" ),
15 auto background = this->createChild< Image >()
16 ->filename(
"/ivorium_UI/SimpleSplash/background.png" )
18 ->translucent(
true );
20 auto logo = this->createChild< Border >()
21 ->createChild<
Image >()
22 ->filename(
"/ivorium_UI/SimpleSplash/logo.png" )
27 this->in_enabled = this->anim.
Node(
false )
28 ->label(
"in_enabled" );
31 ->label(
"out_background_alpha" );
34 ->label(
"out_logo_alpha" );
37 ->label(
"state_timeout" );
50 if( this->in_enabled->
Target() )
52 out_logo_alpha->
Target( 1.0 )
54 out_background_alpha->
Target( 1.0 )
57 state_timeout->
Target( 0.7f )
62 state_timeout->
Target( 0.0f )
65 out_logo_alpha->
Target( 0.0 )
69 out_background_alpha->
Target( 0.0 )
82 this->in_enabled->
Target(
true );
87 this->in_enabled->
Target(
false );