Pervasive Displays Library Suite - Reference Manual 10.0.0
Library for Pervasive Displays e-paper screens, extension boards and development kits
Item Struct Reference

Item combines index and text for GUI elements. More...

#include <hV_GUI.h>

Public Attributes

uint16_t index
 index 0x1000..0xffff, 0x0000 is reserved for menu root
uint16_t label [8]
 text, up to 8 characters

Detailed Description

Item combines index and text for GUI elements.

Item myMenuItems[] = {
{ 0x0000, "Menu 0" } ,
{ 0x1000, "Item 1" } ,
{ 0x1100, "Item 11" } ,
...
{ 0x1f00, "Item 1f" } ,
{ 0x2000, "Item 2" } ,
{ 0x2100, "Item 21" } ,
{ 0x2110, "Item 211" } ,
{ 0x2121, "Item 2111" } ,
};
Item combines index and text for GUI elements.
Definition hV_GUI.h:290


Use setItem to convert a string into an item.


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