diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2007-06-18 13:37:57 +0000 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2007-06-18 13:37:57 +0000 |
| commit | 46e186fa61acac1cdf02db597b0cac05de189cfa (patch) | |
| tree | 5ab46c45aac79b727f8cc197f1c3f447489a503e /apps/plugin.h | |
| parent | 06797c2c7fd2643343f3209e9f9c940565fe6f1b (diff) | |
| download | rockbox-46e186fa61acac1cdf02db597b0cac05de189cfa.zip rockbox-46e186fa61acac1cdf02db597b0cac05de189cfa.tar.gz rockbox-46e186fa61acac1cdf02db597b0cac05de189cfa.tar.bz2 rockbox-46e186fa61acac1cdf02db597b0cac05de189cfa.tar.xz | |
extend the text editor plugin to be able to modify the .colors file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13665 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
| -rw-r--r-- | apps/plugin.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index cc5acb0..29e7f5d 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -79,6 +79,7 @@ #include "rbunicode.h" #include "list.h" #include "tree.h" +#include "color_picker.h" #ifdef HAVE_REMOTE_LCD #include "lcd-remote.h" @@ -621,6 +622,10 @@ struct plugin_api { const char* yes_str, int yes_voice, const char* no_str, int no_voice, void (*function)(bool)); +#ifdef HAVE_LCD_COLOR + bool (*set_color)(struct screen *display, char *title, unsigned *color, + unsigned banned_color); +#endif }; /* plugin header */ |