Kanzi 4.1.0
kanzi::ListBoxTrajectoryPresenter< TDerivedClass, TFinalClass, TLayout, TItemClass, TScrollView >::TrajectoryLayoutSnapInfo Struct Reference

#include <kanzi/ui/node/concept/list_box/list_box_trajectory_presenter.hpp>

Public Member Functions

 TrajectoryLayoutSnapInfo ()
 

Public Attributes

float distance
 Distance of snapped object from target.
 
bool found
 True if there is a snap candidate.
 
size_t index
 Index of snapped object.
 
float offset
 Offset of snapped object.
 

Constructor & Destructor Documentation

◆ TrajectoryLayoutSnapInfo()

template<typename TDerivedClass , typename TFinalClass , typename TLayout , typename TItemClass , typename TScrollView >
kanzi::ListBoxTrajectoryPresenter< TDerivedClass, TFinalClass, TLayout, TItemClass, TScrollView >::TrajectoryLayoutSnapInfo::TrajectoryLayoutSnapInfo ( )
inline

Member Data Documentation

◆ found

template<typename TDerivedClass , typename TFinalClass , typename TLayout , typename TItemClass , typename TScrollView >
bool kanzi::ListBoxTrajectoryPresenter< TDerivedClass, TFinalClass, TLayout, TItemClass, TScrollView >::TrajectoryLayoutSnapInfo::found

True if there is a snap candidate.

◆ index

template<typename TDerivedClass , typename TFinalClass , typename TLayout , typename TItemClass , typename TScrollView >
size_t kanzi::ListBoxTrajectoryPresenter< TDerivedClass, TFinalClass, TLayout, TItemClass, TScrollView >::TrajectoryLayoutSnapInfo::index

Index of snapped object.

◆ offset

template<typename TDerivedClass , typename TFinalClass , typename TLayout , typename TItemClass , typename TScrollView >
float kanzi::ListBoxTrajectoryPresenter< TDerivedClass, TFinalClass, TLayout, TItemClass, TScrollView >::TrajectoryLayoutSnapInfo::offset

Offset of snapped object.

◆ distance

template<typename TDerivedClass , typename TFinalClass , typename TLayout , typename TItemClass , typename TScrollView >
float kanzi::ListBoxTrajectoryPresenter< TDerivedClass, TFinalClass, TLayout, TItemClass, TScrollView >::TrajectoryLayoutSnapInfo::distance

Distance of snapped object from target.


The documentation for this struct was generated from the following file: