forked from len0rd/rockbox
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
This commit is contained in:
parent
06797c2c7f
commit
46e186fa61
4 changed files with 95 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue