Make EPD colors changable without restart
This commit is contained in:
parent
da4719c046
commit
088677872f
6 changed files with 114 additions and 24 deletions
|
@ -0,0 +1,22 @@
|
|||
int fgColor;
|
||||
int bgColor;
|
||||
|
||||
int getBgColor()
|
||||
{
|
||||
return bgColor;
|
||||
}
|
||||
|
||||
int getFgColor()
|
||||
{
|
||||
return fgColor;
|
||||
}
|
||||
|
||||
void setBgColor(int color)
|
||||
{
|
||||
bgColor = color;
|
||||
}
|
||||
|
||||
void setFgColor(int color)
|
||||
{
|
||||
fgColor = color;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue