CircleOS  1
Functions
toolbar.c File Reference

Common various utilities for touchscreen toolbar. More...

Go to the source code of this file.

Functions

void TOOLBAR_Set (const tToolbar *NewToolbar)
 
void TOOLBAR_SetDefaultToolbar (void)
 
void TOOLBAR_ChangeButton (s32 button, const u16 *newicon, enum MENU_code(*newfct)(void))
 

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 499 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 463 of file toolbar.c.

void TOOLBAR_SetDefaultToolbar ( void  )

Restore the default system toolbar.

Definition at line 480 of file toolbar.c.