diff options
author | Andreas Brugger <brougs78@gmx.net> | 2006-02-04 11:49:02 +0100 |
---|---|---|
committer | Thomas Günther <tom@toms-cafe.de> | 2009-06-03 02:58:17 +0200 |
commit | c1bf83aec2961a4e84dbc1c36042bd985f044a91 (patch) | |
tree | 6ce0edea2a8cdf3e83ee897022f85261c6c15407 /render.h | |
parent | daad17454a344d50150850fd9b9062b200982140 (diff) | |
download | vdr-plugin-text2skin-c1bf83aec2961a4e84dbc1c36042bd985f044a91.tar.gz vdr-plugin-text2skin-c1bf83aec2961a4e84dbc1c36042bd985f044a91.tar.bz2 |
2006-02-04: Version 1.1-cvs_ext-0.7 (vdr-text2skin-1.1-cvs_ext-0.7.diff)
- changed the routines to determine the next timers
- added the possibility to have a scrollbar in every menu - not fully
implemented yet (to position in menu-lists is not necessarily correct,
if there are more items with the same osd-text)
Diffstat (limited to 'render.h')
-rw-r--r-- | render.h | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -134,8 +134,19 @@ public: static bool ItemColor(const std::string &Color, tColor &Result); static std::string ImagePath(const std::string &Filename); static cxType GetToken(const txToken &Token); + + // provide scrollbar in every menu + struct tMenuScrollbar + { + int current; + int total; + std::vector<std::string> items; - // update infos + tMenuScrollbar(void) : current(0), total(0) {} + //bool available(void) { printf("%d / %d\n", total, GetMaxItems(); return total > GetMaxItems(); } + } mMenuScrollbar; + + // update infos (e.g. timerConflict) struct tUpdate { bool timerConflict; |