|
Welcome to the EyeBot
Version 7 - RPi1
A Controller For Various Hardware IO
|
Defines all the fucntions for making/editing lists for the Eyebot. More...
Functions | |
| int | listmenuSize (LIST_MENU listmenu) |
| Returns the size of the list. More... | |
| void | listmenuToggleScroll (LIST_MENU *listmenu) |
| Toggles the scroll functions. More... | |
| int | listmenuGetScroll (LIST_MENU listmenu) |
| checks for the scroll value of the list More... | |
| void | listmenuInit (LIST_MENU *listmenu, char *name) |
| initialises the list to display on the LCD More... | |
| void | listmenuAddItem (LIST_MENU *listmenu, char *name, void *plink) |
| Adds an item (a string) to the list. More... | |
| void | listmenuFreeItems (LIST_MENU *listmenu) |
| Frees the items in the list. More... | |
| void | listmenuChangeItemText (LIST_MENU *listmenu, char *newText, int index) |
| Changes the item's name. More... | |
| int | listmenuGetIndex (LIST_MENU listmenu) |
| Returns the index of the menu item. More... | |
| char * | listmenuGetItemText (LIST_MENU listmenu) |
| Returns the text for the current menu itme. More... | |
Defines all the fucntions for making/editing lists for the Eyebot.
| void listmenuAddItem | ( | LIST_MENU * | listmenu, |
| char * | name, | ||
| void * | plink | ||
| ) |
Adds an item (a string) to the list.
| *listmenu | a pointer to the menu |
| name | the name of the item to add the list |
| *plink | a pointer to a user function/data |
| void listmenuChangeItemText | ( | LIST_MENU * | listmenu, |
| char * | newText, | ||
| int | index | ||
| ) |
Changes the item's name.
| *listmenu | a pointer to the menu |
| newText | the new name of the item to add the list |
| index | the index of the item in the list |
| void listmenuFreeItems | ( | LIST_MENU * | listmenu | ) |
Frees the items in the list.
| *listmenu | a pointer to the menu |
| int listmenuGetIndex | ( | LIST_MENU | listmenu | ) |
Returns the index of the menu item.
| listmenu | the menu |
| char* listmenuGetItemText | ( | LIST_MENU | listmenu | ) |
Returns the text for the current menu itme.
| listmenu | the menu |
| int listmenuGetScroll | ( | LIST_MENU | listmenu | ) |
checks for the scroll value of the list
| listmenu | the listmenu item |
| void listmenuInit | ( | LIST_MENU * | listmenu, |
| char * | name | ||
| ) |
initialises the list to display on the LCD
| *listmenu | a pointer to the menu |
| name | the name of the list |
| int listmenuSize | ( | LIST_MENU | listmenu | ) |
Returns the size of the list.
| listmenu | the menu to check |
| void listmenuToggleScroll | ( | LIST_MENU * | listmenu | ) |
Toggles the scroll functions.
| *listmenu | a pointer to the list |
1.8.10