LumaScroller.cpp
Go to the documentation of this file.
21 this->iv::PrivValAttr_Owner::Attribute_SetMode( &this->child, iv::Attribute::ValueMode::ValueModify );
88 AnimNode< float > * in_overlap_top = this->aheap.Attribute_SourceNode< float >( &this->scroller->attr_overlapTop, 0.0f )
90 AnimNode< float > * in_overlap_bot = this->aheap.Attribute_SourceNode< float >( &this->scroller->attr_overlapBottom, 0.0f )
92 AnimNode< float > * in_position = this->aheap.Attribute_SourceNode< float >( &this->scroller->attr_position, 0.0f )
94 AnimNode< float > * in_insize = this->aheap.Attribute_SourceNode< float >( &this->scroller->attr_insize, 0.0f )
96 AnimNode< float > * in_outsize = this->aheap.Attribute_SourceNode< float >( &this->scroller->attr_outsize, 0.0f )
100 AnimNode< std::optional< float > > * out_overlap_top_height = this->aheap.Attribute_DestinationNode( &overlap_top_prefsize->attr_prefsizeY, std::optional< float >() )
102 AnimNode< std::optional< float > > * out_overlap_bot_height = this->aheap.Attribute_DestinationNode( &overlap_bot_prefsize->attr_prefsizeY, std::optional< float >() )
105 AnimNode< std::optional< float > > * out_indicator_top = this->aheap.Attribute_DestinationNode( &indicator_border->attr_borderTop, std::optional< float >() )
108 AnimNode< std::optional< float > > * out_indicator_bot = this->aheap.Attribute_DestinationNode( &indicator_border->attr_borderBottom, std::optional< float >() )
111 AnimNode< float > * out_indicator_alpha = this->aheap.Attribute_DestinationNode( &img_indicator->shading.alpha, 0.0f )
129 [ in_overlap_top, in_overlap_bot, in_position, in_insize, in_outsize, out_overlap_top_height, out_overlap_bot_height, out_indicator_top, out_indicator_bot, out_indicator_alpha ]( bool warping )
134 if( in_overlap_top->Target() > out_overlap_top_height->Target() ) // Imperfect direction detection, but it might work.