summaryrefslogtreecommitdiff
path: root/setup.c
blob: 11ecb8972520e4f2404af722b2d308fb9fd46ee3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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;
}