Kanzi  3.9.9
Kanzi Engine C++ API
KzuVirtualItemIterator Struct Reference

Iterator for KzuVirtualItemList. More...

#include <kanzi/ui/node/concept/list_box/kzu_virtual_item_list.h>

Public Member Functions

 KzuVirtualItemIterator ()
 

Public Attributes

int index
 How many indices the iterator has been moved. More...
 
struct KzuVirtualItemListitemList
 The virtual list iterated by the iterator. More...
 
float offset
 How much the iterator has been moved. More...
 
kzBool valid
 Is iterator valid. More...
 
float width
 Width of the current item. More...
 

Detailed Description

Iterator for KzuVirtualItemList.

Keeps track of index, offset and item width of the item the iterator is pointing to.

Note: This struct is to be used through the functions provided in kzu_virtual_item_list.h The struct may change arbitrarily at any time and is public only to allow creation in stack.

Constructor & Destructor Documentation

KzuVirtualItemIterator::KzuVirtualItemIterator ( )
inlineexplicit

Member Data Documentation

struct KzuVirtualItemList* KzuVirtualItemIterator::itemList

The virtual list iterated by the iterator.

int KzuVirtualItemIterator::index

How many indices the iterator has been moved.

float KzuVirtualItemIterator::offset

How much the iterator has been moved.

float KzuVirtualItemIterator::width

Width of the current item.

kzBool KzuVirtualItemIterator::valid

Is iterator valid.


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