LumaButton.cpp
Go to the documentation of this file.
53 AnimNode< bool > * in_enabled = this->anim.Attribute_SourceNode( &this->input.attr_eventEnabled, false )
62 AnimNode< Activator > * in_activation = this->anim.Attribute_SourceNode( &this->input.attr_activation, Activator() )
70 AnimNode< float3 > * out_activation_scale = this->anim.Attribute_DestinationNode( &activation_transform->attr_scale, float3( 1, 1, 1 ) )
73 AnimNode< float > * out_activation_alpha = this->anim.Attribute_DestinationNode( &this->img_activation->shading.alpha, 0.0f )
105 surface_color = ColorTransform::Apply( ColorTransform::ScaleValue( 1.25f ) * ColorTransform::ShiftSaturation( -0.1f ), style.highlight );
116 this->img_surface->colorTransform( ColorTransform::Change( this->attr_sufraceNeutralColor.Get().value(), surface_color ) );
118 this->img_overlay->colorTransform( ColorTransform::Change( this->attr_overlayNeutralColor.Get().value(), text_color ) );
137 bool activation_connected = this->input.field_press.AssignmentState() != FieldI::Assignment::Unassigned
143 if( activation_connected && ( hot_start || ( in_activation->Target().CopyActivations( this->activator_ref ) && out_activation_alpha->Target() != Anim_float( 0.04f ) ) ) )