summaryrefslogtreecommitdiff
path: root/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'setup.c')
-rw-r--r--setup.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/setup.c b/setup.c
index 575bda6..504c4e4 100644
--- a/setup.c
+++ b/setup.c
@@ -9,12 +9,19 @@ cText2SkinSetup Text2SkinSetup;
// --- cText2SkinSetup --------------------------------------------------------
cText2SkinSetup::cText2SkinSetup(void) {
+ MarqueeLeftRight = true;
+ MarqueeReset = false;
+ CheckTimerConflict = false;
MaxCacheFill = 25;
}
bool cText2SkinSetup::SetupParse(const char *Name, const char *Value) {
- if (strcmp(Name, "MaxCacheFill") == 0) MaxCacheFill = atoi(Value);
+ if (strcmp(Name, "MarqueeLeftRight") == 0) MarqueeLeftRight = atoi(Value);
+ else if (strcmp(Name, "MarqueeReset") == 0) MarqueeReset = atoi(Value);
+ else if (strcmp(Name, "CheckTimerConflict") == 0) CheckTimerConflict = atoi(Value);
+ else if (strcmp(Name, "MaxCacheFill") == 0) MaxCacheFill = atoi(Value);
else return false;
+
return true;
}