diff options
Diffstat (limited to 'setup.c')
-rw-r--r-- | setup.c | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -0,0 +1,23 @@ +/* + * $Id: setup.c,v 1.1 2004/06/07 19:09:20 lordjaxom Exp $ + */ + +#include "setup.h" +#include "bitmap.h" + +cText2SkinSetupPage::cText2SkinSetupPage(void) { + Add(new cOsdItem(tr("Flush image cache"), osUser1)); +} + +cText2SkinSetupPage::~cText2SkinSetupPage() { +} + +eOSState cText2SkinSetupPage::ProcessKey(eKeys Key) { + eOSState state = cMenuSetupPage::ProcessKey(Key); + if (state == osUser1) { + Skins.Message(mtInfo, tr("Flushing image cache...")); + cText2SkinBitmap::FlushCache(); + return osContinue; + } + return state; +} |