Kanzi 3.9.10
kanzi::ListBoxTrajectoryPresenter< TFinalClass, TLayout, TItemClass, TScrollView >::KzuTrajectoryLayoutSnapInfo Struct Reference

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

Public Member Functions

 KzuTrajectoryLayoutSnapInfo ()
 

Public Attributes

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

Constructor & Destructor Documentation

◆ KzuTrajectoryLayoutSnapInfo()

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

Member Data Documentation

◆ found

template<typename TFinalClass , typename TLayout , typename TItemClass , typename TScrollView >
kzBool kanzi::ListBoxTrajectoryPresenter< TFinalClass, TLayout, TItemClass, TScrollView >::KzuTrajectoryLayoutSnapInfo::found

True if there is a snap candidate.

◆ index

template<typename TFinalClass , typename TLayout , typename TItemClass , typename TScrollView >
unsigned int kanzi::ListBoxTrajectoryPresenter< TFinalClass, TLayout, TItemClass, TScrollView >::KzuTrajectoryLayoutSnapInfo::index

Index of snapped object.

◆ offset

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

Offset of snapped object.

◆ distance

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

Distance of snapped object from target.


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