mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
lcd4l: add and use wrapper functions to handle /tmp/lcd/menu
Origin commit data
------------------
Branch: ni/coolstream
Commit: e2cf2d835a
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-09-18 (Sat, 18 Sep 2021)
Origin message was:
------------------
- lcd4l: add and use wrapper functions to handle /tmp/lcd/menu
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -99,6 +99,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"
|
||||
@@ -235,6 +237,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