summaryrefslogtreecommitdiff
path: root/common.h
diff options
context:
space:
mode:
authorChristian Tusche <chr13@gmx.net>2007-07-29 19:01:17 +0200
committerThomas Günther <tom@toms-cafe.de>2009-06-04 01:30:20 +0200
commit3ab2393b6932b34e7f0e69af7f843d1303104d79 (patch)
treec1a4f7e6e61f6a09bad4420614be52420506a362 /common.h
parentf6f140b2ea0bb1de9e055e920ef9c0c43c6e2add (diff)
downloadvdr-plugin-text2skin-3ab2393b6932b34e7f0e69af7f843d1303104d79.tar.gz
vdr-plugin-text2skin-3ab2393b6932b34e7f0e69af7f843d1303104d79.tar.bz2
2007-07-29: Version 1.1-cvs_ext-0.11 (text2skin-1.1-cvs_ext-0.11.diff)chr13-optimizations
- moved state tracking of marquee, blink, scroll from cText2SkinRender to cxObject - fixed compatibility with gcc-4 and vdr-1.5.x - fixed use of Update.Lock() in render.h - new: dynamic width/height of objects - new: Option "bgColor" used for items "Text", "Marquee", and "Blink". - remember period to next timeout when doing a non-timeout refresh prevent occasional start/stop of marquee-text
Diffstat (limited to 'common.h')
-rw-r--r--common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common.h b/common.h
index f4ec281..9d7b30a 100644
--- a/common.h
+++ b/common.h
@@ -17,7 +17,7 @@
# else
# define Dprintf(x...)
# endif
-# define Dbench(x) uint64 bench_##x = time_ms()
+# define Dbench(x) uint64_t bench_##x = time_ms()
# define Ddiff(t,x) fprintf(stderr, "%s took %llu ms\n", t, time_ms() - bench_##x)
#else
# define Dprintf(x...)
@@ -25,7 +25,7 @@
# define Ddiff(t,x)
#endif
-#define DStartBench(x) uint64 bench_##x = time_ms()
+#define DStartBench(x) uint64_t bench_##x = time_ms()
#define DShowBench(t,x) fprintf(stderr, "%s took %llu ms\n", t, time_ms() - bench_##x)
#if VDRVERSNUM >= 10318