mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 07:51:11 +02:00
glcd: fix change of font
Origin commit data
------------------
Commit: f431b6ff4a
Author: vanhofen <vanhofen@gmx.de>
Date: 2020-07-04 (Sat, 04 Jul 2020)
Origin message was:
------------------
- glcd: fix change of font
This commit is contained in:
@@ -233,6 +233,8 @@ class cGLCD
|
|||||||
bool dumpBuffer(fb_pixel_t *s, int format, const char *filename);
|
bool dumpBuffer(fb_pixel_t *s, int format, const char *filename);
|
||||||
void UpdateBrightness();
|
void UpdateBrightness();
|
||||||
int handleMsg(const neutrino_msg_t msg, neutrino_msg_data_t data);
|
int handleMsg(const neutrino_msg_t msg, neutrino_msg_data_t data);
|
||||||
|
|
||||||
|
void ReInitFont() { fonts_initialized = false; };
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
@@ -174,7 +174,7 @@ int GLCD_Menu::exec(CMenuTarget* parent, const std::string & actionKey)
|
|||||||
if (fileBrowser.exec(FONTDIR) == true)
|
if (fileBrowser.exec(FONTDIR) == true)
|
||||||
{
|
{
|
||||||
t.glcd_font = fileBrowser.getSelectedFile()->Name;
|
t.glcd_font = fileBrowser.getSelectedFile()->Name;
|
||||||
cglcd->Rescan();
|
cglcd->ReInitFont();
|
||||||
}
|
}
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user