toolbar.c File Reference
Common various utilities for touchscreen toolbar.
More...
Go to the source code of this file.
Detailed Description
- Author:
- FL / YRT
- Date:
- 10/2008
-
01/2009
- Version:
- 3.3 Replace two colors buttons by true color pictures
- Date:
- 10/2009
- Version:
- 4.0 Add Open4 Primer
Definition in file toolbar.c.
Function Documentation
| void TOOLBAR_ChangeButton |
( |
s32 |
button, |
|
|
const u16 * |
newicon, |
|
|
enum MENU_code(*)(void) |
newfct | |
|
) |
| | |
Change a single button within the current toolbar.
- Parameters:
-
| [in] | button | : index of the button to change |
| [in] | *newicon | : pointer on new icone associated to the button |
| [in] | *newfct | : pointer on new function associated to the button |
Definition at line 495 of file toolbar.c.
| void TOOLBAR_Set |
( |
const tToolbar * |
NewToolbar |
) |
|
Change the current toolbar, with new the specified new one .
- Parameters:
-
| [in] | NewToolbar | : pointer on new toolbar structure |
Definition at line 459 of file toolbar.c.
| void TOOLBAR_SetDefaultToolbar |
( |
void |
|
) |
|
Restore the default system toolbar.
Definition at line 476 of file toolbar.c.