summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/config.h b/config.h
index a79da0c..bce7357 100644
--- a/config.h
+++ b/config.h
@@ -8,15 +8,26 @@
#ifndef __SKINENIGMA_CONFIG_H
#define __SKINENIGMA_CONFIG_H
+#ifdef HAVE_IMAGEMAGICK
+#define NUM_IMAGEEXTENSIONTEXTS 3
+extern const char *imageExtensionTexts[NUM_IMAGEEXTENSIONTEXTS];
+#else
+#define NUM_IMAGEEXTENSIONTEXTS 0
+#endif
+
struct cEnigmaConfig
{
private:
char logoDir[255];
+ char strImagesDir[255];
public:
cEnigmaConfig();
~cEnigmaConfig();
void SetLogoDir(const char *logodirP);
char *GetLogoDir(void) { return logoDir; }
+ void SetImagesDir(const char *dir);
+ char *GetImagesDir(void) {return strImagesDir; }
+ const char *GetImageExtension(void);
int showAuxInfo;
int showLogo;
int showVps;
@@ -34,6 +45,14 @@ public:
int numReruns;
int useSubtitleRerun;
int showTimerConflicts;
+ int showRecSize;
+ int showImages;
+ int resizeImages;
+ int showMailIcon;
+ int imageWidth;
+ int imageHeight;
+ int imageExtension;
+ int fullTitleWidth;
};
extern cEnigmaConfig EnigmaConfig;