diff options
author | Andreas Brachold <vdr07@deltab.de> | 2005-07-28 15:41:43 +0000 |
---|---|---|
committer | Andreas Brachold <vdr07@deltab.de> | 2005-07-28 15:41:43 +0000 |
commit | 8c5bda0e344a1389cad91eef9f7e00b069ffa933 (patch) | |
tree | 305b438e155a7d69697e099a2ddbbea4b87d9eeb /setup-image.h | |
parent | 57ff8fb8eb79adfebfaf43c884eac70e3ffb2b2c (diff) | |
download | vdr-plugin-image-8c5bda0e344a1389cad91eef9f7e00b069ffa933.tar.gz vdr-plugin-image-8c5bda0e344a1389cad91eef9f7e00b069ffa933.tar.bz2 |
- add option for border of underscan
- rename setup variables to hungarian notation
Diffstat (limited to 'setup-image.h')
-rw-r--r-- | setup-image.h | 38 |
1 files changed, 31 insertions, 7 deletions
diff --git a/setup-image.h b/setup-image.h index b0a1f58..7878fc6 100644 --- a/setup-image.h +++ b/setup-image.h @@ -1,7 +1,8 @@ /* * Image plugin to VDR (C++) * - * (C) 2003 Kai Tobias Burwieck <kai@burwieck.net> + * (C) 2004-2005 Andreas Brachold <vdr04-at-deltab.de> + * based on (C) 2003 Kai Tobias Burwieck <kai-at-burwieck.net> * * This code is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -26,20 +27,32 @@ extern const char *g_szConvertScript; #include <vdr/menuitems.h> +#ifndef MAX_PATH +#define MAX_PATH 4096 +#endif + class cImageSetup { public: - int SlideShow; - int SSsec; - char TempDir[260]; + /* It Slideshow activ */ + int m_bSlideShow; + /* If Slideshow activ, how many seconds between slides */ + int m_nSSsec; + /* Where stored temp. files */ + char m_szTempDir[MAX_PATH]; #if VDRVERSNUM < 10307 - int ShowDate; + /* Should show file date on OSD */ + int m_bShowDate; #endif - int AutoRepeat; - int ShowNumbers; + /* Should slideshow automated repeat */ + int m_bAutoRepeat; + /* Should show overlay numbers on indexdump */ + int m_bShowNumbers; #if VDRVERSNUM >= 10308 + /* Don't mute audio, on show images */ int m_bLiveAudio; #endif + /* Activate own house keeping system for temp. files, avoid pregenerated images */ int m_bHousekeeping; /** Minimum Value for Slideshow */ @@ -47,6 +60,17 @@ public: /** Maximum Value for Slideshow */ static const int m_cSSMax; + /** Range for BorderHeight */ + static const int m_cnMinBorderHeight; + static const int m_cnMaxBorderHeight; + int m_nBorderHeight; + + /** Range for BorderWidth */ + static const int m_cnMinBorderWidth; + static const int m_cnMaxBorderWidth; + int m_nBorderWidth; + + public: cImageSetup(void); void SetEnv(void) const; |