From 5071a1754f3db0adcf477ecf8e5b2a818d1935bd Mon Sep 17 00:00:00 2001 From: lordjaxom Date: Wed, 14 Jul 2004 16:49:10 +0000 Subject: - fixed display of scrollbar if there is no text present - fixed animation delay if update takes longer than the delay - using backgrounds also in 8-bit fullscreen mode to improve performance - implemented screen layer to improve performance - corrected offsets and tab widths in main menu - implemented parameters "current", "mark" and "selected" to choose mark colors in replay display (defaults to the old values) - implemented color value "None" to be able to unset a color --- common.h | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) (limited to 'common.h') diff --git a/common.h b/common.h index d39b866..34b499b 100644 --- a/common.h +++ b/common.h @@ -1,5 +1,5 @@ /* - * $Id: common.h,v 1.12 2004/06/25 17:51:34 lordjaxom Exp $ + * $Id: common.h,v 1.13 2004/07/02 19:00:22 lordjaxom Exp $ */ #ifndef VDR_TEXT2SKIN_COMMON_H @@ -147,7 +147,13 @@ extern const string DisplayNames[__DISPLAY_COUNT__]; extern const string ReplayNames[__REPLAY_COUNT__]; extern const string BaseNames[__BASE_COUNT__]; -// geometrical structures +// class forwards + +class cMarks; +class cChannel; +class cText2SkinItem; + +// geometrical and helper structures struct POINT { int x, y; @@ -159,11 +165,16 @@ struct SIZE { int w, h; SIZE(int _w = 0, int _h = 0) { w = _w; h = _h; } }; - -// class forwards - -class cChannel; -class cText2SkinItem; + +struct tItemData { + string text; + string path; + int current; + int shown; + int total; + const cMarks *marks; + tItemData(void) { marks = NULL; } +}; // helper functions -- cgit v1.2.3