From 46e186fa61acac1cdf02db597b0cac05de189cfa Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Mon, 18 Jun 2007 13:37:57 +0000 Subject: 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 --- apps/plugin.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'apps/plugin.h') 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 */ -- cgit v1.1