|
@@ -18,7 +18,11 @@ nothrow auto parseConf(string type)(string filename)
|
|
|
static immutable typeMap = [
|
|
|
"script": "SCRIPT:",
|
|
|
"title": "TITLE:",
|
|
|
- "icon": "ICON:"
|
|
|
+ "icon": "ICON:",
|
|
|
+ "dialog_end_indicator": "DIALOG_END_INDICATOR:",
|
|
|
+ "dialog_box": "DIALOG_BOX:",
|
|
|
+ "choice_box": "CHOICE_BOX:",
|
|
|
+ "fallback_font": "FALLBACK_FONT:"
|
|
|
];
|
|
|
|
|
|
if (type in typeMap)
|
|
@@ -48,6 +52,10 @@ SystemSettings loadSettingsFromConfigFile()
|
|
|
return SystemSettings(
|
|
|
parseConf!"script"("conf/settings.conf"),
|
|
|
parseConf!"title"("conf/settings.conf"),
|
|
|
- parseConf!"icon"("conf/settings.conf")
|
|
|
+ parseConf!"icon"("conf/settings.conf"),
|
|
|
+ parseConf!"dialog_end_indicator"("conf/settings.conf"),
|
|
|
+ parseConf!"dialog_box"("conf/settings.conf"),
|
|
|
+ parseConf!"choice_box"("conf/settings.conf"),
|
|
|
+ parseConf!"fallback_font"("conf/settings.conf")
|
|
|
);
|
|
|
}
|