Kanzi  3.9.6
Kanzi Engine API
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. More...
 
kzBool found
 True if there is a snap candidate. More...
 
unsigned int index
 Index of snapped object. More...
 
float offset
 Offset of snapped object. More...
 

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: