diff options
| author | Teruaki Kawashima <teru@rockbox.org> | 2010-02-11 14:18:31 +0000 |
|---|---|---|
| committer | Teruaki Kawashima <teru@rockbox.org> | 2010-02-11 14:18:31 +0000 |
| commit | 1549b19d9e686433de8f1feadaa980dc13d63019 (patch) | |
| tree | 9c1042ad065bf8b8a2d6da504bca542d5c4e8631 /apps/plugin.h | |
| parent | ad2ee3094ff48e8ae578a4327c936286e6005b38 (diff) | |
| download | rockbox-1549b19d9e686433de8f1feadaa980dc13d63019.zip rockbox-1549b19d9e686433de8f1feadaa980dc13d63019.tar.gz rockbox-1549b19d9e686433de8f1feadaa980dc13d63019.tar.bz2 rockbox-1549b19d9e686433de8f1feadaa980dc13d63019.tar.xz | |
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
Diffstat (limited to 'apps/plugin.h')
| -rw-r--r-- | apps/plugin.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index 70a3fa2..e5766c6 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -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, |