summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-06-18 13:37:57 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-06-18 13:37:57 +0000
commit46e186fa61acac1cdf02db597b0cac05de189cfa (patch)
tree5ab46c45aac79b727f8cc197f1c3f447489a503e /apps/plugin.c
parent06797c2c7fd2643343f3209e9f9c940565fe6f1b (diff)
downloadrockbox-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.c')
-rw-r--r--apps/plugin.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index fda46ce..ca0b8a2 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -498,6 +498,9 @@ static const struct plugin_api rockbox_api = {
threads,
create_numbered_filename,
set_bool_options,
+#ifdef HAVE_LCD_COLOR
+ set_color,
+#endif
};
int plugin_load(const char* plugin, void* parameter)