From 8717c1eaa12ce23501d1c6e6103eaed310204243 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sun, 28 Feb 2010 08:36:13 +0000 Subject: redo r24943. the font mappings are not needed once the skin is finished parsing so using the skin buffer there is a waste and overcomplicates things. Also that commit breaks plain %pb so make sure you dont use %pb inside a viewport with a font number > 1 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24957 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/skin_engine/wps_internals.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'apps/gui/skin_engine/wps_internals.h') diff --git a/apps/gui/skin_engine/wps_internals.h b/apps/gui/skin_engine/wps_internals.h index aa99804fd4..f6c7463804 100644 --- a/apps/gui/skin_engine/wps_internals.h +++ b/apps/gui/skin_engine/wps_internals.h @@ -264,12 +264,6 @@ struct skin_albumart { }; #endif -struct skin_font { - int id; /* the id used in the %V tags */ - int font_id; /* the id returned by font_load */ - char *name; /* filename without path and extension */ -}; - /* wps_data this struct holds all necessary data which describes the viewable content of a wps */ @@ -278,7 +272,6 @@ struct wps_data #ifdef HAVE_LCD_BITMAP struct skin_token_list *images; struct skin_token_list *progressbars; - struct skin_token_list *fonts; #endif #if LCD_DEPTH > 1 || defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1 char *backdrop; -- cgit v1.2.3