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 KzuVirtualItemList * | itemList |
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... | |
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.
|
inlineexplicit |
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.