From 0cd8136a9a58501332ed808c7d92bd1ffcd57c01 Mon Sep 17 00:00:00 2001 From: Martin Schirrmacher Date: Sat, 15 Mar 2014 13:52:14 +0100 Subject: add pre load cache, menu entr to show amount of cached images, fix topbar channel logo in program menu --- setup.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'setup.c') diff --git a/setup.c b/setup.c index 08b77541..9814864f 100644 --- a/setup.c +++ b/setup.c @@ -261,6 +261,9 @@ void cFlatSetupGeneral::Setup(void) { Add(new cMenuEditStraItem(tr("Button border type"), &SetupConfig->decorBorderButtonTypeUser, Bordertypes.Size(), &Bordertypes[0])); Add(new cMenuEditIntItem(tr("Button border size"), &SetupConfig->decorBorderButtonSizeUser)); } + + cString ImageCache = cString::sprintf("%s:\t%d / %d", tr("Imagecache entries"), imgCache.getCacheCount(), MAX_IMAGE_CACHE); + Add(new cOsdItem(ImageCache, osUnknown, true)); if( ItemLastSel >= 0 ) { SetCurrent(Get(ItemLastSel)); -- cgit v1.2.3