forked from len0rd/rockbox
color_picker: a bit of rework for color_picker.
* don't call display->getcharheight() so often, store the value to char_height and use it instead. * replay title_height by char_height, they should be the same. * fix spaces. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24595 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ad2ee3094f
commit
1549b19d9e
3 changed files with 66 additions and 73 deletions
|
|
@ -686,8 +686,8 @@ struct plugin_api {
|
|||
bool (*set_bool)(const char* string, const bool* variable );
|
||||
|
||||
#ifdef HAVE_LCD_COLOR
|
||||
bool (*set_color)(struct screen *display, char *title, unsigned *color,
|
||||
unsigned banned_color);
|
||||
bool (*set_color)(struct screen *display, char *title,
|
||||
unsigned *color, unsigned banned_color);
|
||||
#endif
|
||||
/* action handling */
|
||||
int (*get_custom_action)(int context,int timeout,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue