From cdee9e985ee4d29d624539e47aa515b5201a18e3 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Thu, 12 Apr 2012 13:43:57 +0000 Subject: More work on about:imagecache entry listing table. svn path=/trunk/netsurf/; revision=13855 --- content/fetchers/about.c | 43 ++++++++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 21 deletions(-) (limited to 'content/fetchers/about.c') diff --git a/content/fetchers/about.c b/content/fetchers/about.c index d1a64cc63..b889a31d7 100644 --- a/content/fetchers/about.c +++ b/content/fetchers/about.c @@ -242,29 +242,30 @@ static bool fetch_about_imagecache_handler(struct fetch_about_context *ctx) /* image cache entry table */ slen = snprintf(buffer, sizeof buffer, - "\n" - "" - "" - "" - "" - "" - "" - "" - "" - "" - "\n"); + "

\n" + "" + "Entry" + "Content Key" + "Redraw Count" + "Conversion Count" + "Last Redraw" + "Bitmap Age" + "Bitmap Size" + "Source" + "\n"); do { res = image_cache_snentryf(buffer + slen, sizeof buffer - slen, cent_loop, - "

" - "" - "" - "" - "" - "" - "" - "" - "\n"); + "" + "%e" + "%k" + "%r" + "%c" + "%a" + "%g" + "%s" + "%o" + "\n"); if (res <= 0) break; /* last option */ @@ -282,7 +283,7 @@ static bool fetch_about_imagecache_handler(struct fetch_about_context *ctx) } while (res > 0); slen += snprintf(buffer + slen, sizeof buffer - slen, - "
EntryContent KeyRedraw
Count
Conversion
Count
Last RedrawBitmap AgeBitmap SizeSource URL
%e%k%r%c%a%g%s%U
\n\n\n"); + "

\n\n\n"); msg.data.header_or_data.len = slen; if (fetch_about_send_callback(&msg, ctx)) -- cgit v1.2.3