diff options
Diffstat (limited to 'setup.c')
-rw-r--r-- | setup.c | 30 |
1 files changed, 1 insertions, 29 deletions
@@ -1,9 +1,8 @@ /* - * $Id: setup.c,v 1.4 2004/06/18 16:08:11 lordjaxom Exp $ + * $Id: setup.c,v 1.1.1.1 2004/11/19 16:45:31 lordjaxom Exp $ */ #include "setup.h" -#include "bitmap.h" cText2SkinSetup Text2SkinSetup; @@ -19,30 +18,3 @@ bool cText2SkinSetup::SetupParse(const char *Name, const char *Value) { return true; } -// --- cText2SkinSetupPage ---------------------------------------------------- - -cText2SkinSetupPage::cText2SkinSetupPage(void) { - mData = Text2SkinSetup; - Add(new cOsdItem(tr("Flush image cache"), osUser1)); - Add(new cMenuEditIntItem(tr("Max. image cache size"), &mData.MaxCacheFill)); -} - -cText2SkinSetupPage::~cText2SkinSetupPage() { -} - -void cText2SkinSetupPage::Store(void) { - SetupStore("MaxCacheFill", mData.MaxCacheFill); - Text2SkinSetup = mData; -} - -eOSState cText2SkinSetupPage::ProcessKey(eKeys Key) { - eOSState state = cMenuSetupPage::ProcessKey(Key); - if (state == osUser1) { - Skins.Message(mtInfo, tr("Flushing image cache...")); - cText2SkinBitmap::FlushCache(); - Skins.Message(mtInfo, NULL); - return osContinue; - } - return state; -} - |