summaryrefslogtreecommitdiff
path: root/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'setup.c')
-rw-r--r--setup.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/setup.c b/setup.c
new file mode 100644
index 0000000..11ecb89
--- /dev/null
+++ b/setup.c
@@ -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;
+}