summaryrefslogtreecommitdiff
path: root/common.h
diff options
context:
space:
mode:
authorlordjaxom <lordjaxom>2004-07-14 16:49:10 +0000
committerlordjaxom <lordjaxom>2004-07-14 16:49:10 +0000
commit5071a1754f3db0adcf477ecf8e5b2a818d1935bd (patch)
tree210c39c7871d0192ec5aad51096ea39fa47ccd9e /common.h
parentf2a4ea2dc8c0d915e0f2af6f4ec1a228e1e94453 (diff)
downloadvdr-plugin-text2skin-5071a1754f3db0adcf477ecf8e5b2a818d1935bd.tar.gz
vdr-plugin-text2skin-5071a1754f3db0adcf477ecf8e5b2a818d1935bd.tar.bz2
- fixed display of scrollbar if there is no text presentv0.0.8
- 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
Diffstat (limited to 'common.h')
-rw-r--r--common.h25
1 files changed, 18 insertions, 7 deletions
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