rename ttx_font_file => font_file_monospace

Origin commit data
------------------
Commit: 6906870ab6
Author: vanhofen <vanhofen@gmx.de>
Date: 2022-01-30 (Sun, 30 Jan 2022)

Origin message was:
------------------
- rename ttx_font_file => font_file_monospace
This commit is contained in:
vanhofen
2022-01-30 21:17:38 +01:00
parent 9e8e159220
commit 74233e5789
6 changed files with 29 additions and 22 deletions

View File

@@ -81,7 +81,7 @@ void YaFT_p::parse_arg(std::string &buf, struct parm_t *pt, int delim, int (is_v
logging(DEBUG, "argc:%d\n", pt->argc);
}
extern std::string ttx_font_file;
extern std::string font_file_monospace;
/* constructor, Paint == false means "quiet mode, just execute
* a command but don't display anything */
YaFT_p::YaFT_p(bool Paint)
@@ -127,7 +127,7 @@ bool YaFT_p::init()
*/
std::string shell_ttf = CNeutrinoFonts::getInstance()->getShellTTF();
if (shell_ttf.empty())
shell_ttf = ttx_font_file;
shell_ttf = font_file_monospace;
if (paint) {
for (int i = 0; i < 2; i++) {
delete font; font = NULL;