Kanzi Framework  3.9.0
Kanzi Engine 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::KzuVirtualItemIterator ( )
inlineexplicit

Member Data Documentation

◆ itemList

struct KzuVirtualItemList* KzuVirtualItemIterator::itemList

The virtual list iterated by the iterator.

◆ index

int KzuVirtualItemIterator::index

How many indices the iterator has been moved.

◆ offset

float KzuVirtualItemIterator::offset

How much the iterator has been moved.

◆ width

float KzuVirtualItemIterator::width

Width of the current item.

◆ valid

kzBool KzuVirtualItemIterator::valid

Is iterator valid.


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