From 8c5bda0e344a1389cad91eef9f7e00b069ffa933 Mon Sep 17 00:00:00 2001 From: Andreas Brachold Date: Thu, 28 Jul 2005 15:41:43 +0000 Subject: - add option for border of underscan - rename setup variables to hungarian notation --- setup-image.h | 38 +++++++++++++++++++++++++++++++------- 1 file changed, 31 insertions(+), 7 deletions(-) (limited to 'setup-image.h') 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 + * (C) 2004-2005 Andreas Brachold + * based on (C) 2003 Kai Tobias Burwieck * * 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 +#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; -- cgit v1.2.3