From e0de96fc7168daeaf414fb6196e08969468427d2 Mon Sep 17 00:00:00 2001 From: lordjaxom Date: Mon, 7 Jun 2004 19:09:34 +0000 Subject: - fixed Timebar which sometimes displayed something beyond 100% - fixed scrolling in EPG detail display - added "MenuEventEndTime", "MenuEventVPSTime" and "MenuEventDate" - added "DateTimeF" and "MenuEventDateTimeF" for free formattable dates - added parameter format that holds the format string for the above items - implemented setup menu to flush image cache --- setup.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 setup.c (limited to 'setup.c') 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; +} -- cgit v1.2.3