mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 07:23:09 +02:00
- lcd4l: add and use wrapper functions to handle /tmp/lcd/menu
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -100,6 +100,8 @@ extern CPictureViewer *g_PicViewer;
|
||||
#define START LCD_DATADIR "start"
|
||||
#define END LCD_DATADIR "end"
|
||||
|
||||
#define MENU LCD_DATADIR "menu"
|
||||
|
||||
#define FONT LCD_DATADIR "font"
|
||||
#define FGCOLOR LCD_DATADIR "fgcolor"
|
||||
#define BGCOLOR LCD_DATADIR "bgcolor"
|
||||
@@ -234,6 +236,16 @@ int CLCD4l::RemoveFile(const char *file)
|
||||
return ret;
|
||||
}
|
||||
|
||||
int CLCD4l::CreateMenuFile(std::string content, bool convert)
|
||||
{
|
||||
return CreateFile(MENU, content, convert);
|
||||
}
|
||||
|
||||
int CLCD4l::RemoveMenuFile()
|
||||
{
|
||||
return RemoveFile(MENU);
|
||||
}
|
||||
|
||||
int CLCD4l::GetMaxBrightness()
|
||||
{
|
||||
int max_brightness;
|
||||
|
Reference in New Issue
Block a user