diff options
author | Christian Wieninger <cwieninger (at) gmx (dot) de> | 2008-03-22 20:31:16 +0100 |
---|---|---|
committer | Christian Wieninger <cwieninger (at) gmx (dot) de> | 2008-03-22 20:31:16 +0100 |
commit | a69f5f5873c2843780b9779f5eccf6e2a692da80 (patch) | |
tree | 76db2ba8ec534414913ccb56ea2cea9600afdab0 | |
parent | c9732d7643b30e4414ce5e759019365e08a0ce10 (diff) | |
parent | d00342a76f291e9a01548b90ebfe3334959ce7aa (diff) | |
download | vdr-plugin-live-a69f5f5873c2843780b9779f5eccf6e2a692da80.tar.gz vdr-plugin-live-a69f5f5873c2843780b9779f5eccf6e2a692da80.tar.bz2 |
Merge commit 'tadi/master'cvs-commit-348
Conflicts:
tools.cpp
-rw-r--r-- | css/styles.css | 11 | ||||
-rw-r--r-- | live/img/rounded-box-redwine-bl.png | bin | 0 -> 645 bytes | |||
-rw-r--r-- | live/img/rounded-box-redwine-br.png | bin | 0 -> 438 bytes | |||
-rw-r--r-- | live/img/rounded-box-redwine-ml.png | bin | 0 -> 181 bytes | |||
-rw-r--r-- | live/img/rounded-box-redwine-mr.png | bin | 0 -> 180 bytes | |||
-rw-r--r-- | live/img/rounded-box-redwine-tl.png | bin | 0 -> 568 bytes | |||
-rw-r--r-- | live/img/rounded-box-redwine-tr.png | bin | 0 -> 440 bytes | |||
-rw-r--r-- | live/themes/redwine/css/theme.css | 34 | ||||
-rw-r--r-- | tools.cpp | 18 |
9 files changed, 57 insertions, 6 deletions
diff --git a/css/styles.css b/css/styles.css index c6a9854..8e208a1 100644 --- a/css/styles.css +++ b/css/styles.css @@ -219,18 +219,17 @@ a:active { } +/* ###################### + # Style for negative notification popup + ###################### +*/ + .err-info { margin: 0px auto; max-width: 480px; /* depends on the tip backround image width */ color: #fff; } - -/* ###################### - # Style for negative notification popup - ###################### -*/ - .err-info .err-info-top .err-info-c, .err-info .err-info-bot .err-info-c { font-size: 1px; /* ensure minimum height */ diff --git a/live/img/rounded-box-redwine-bl.png b/live/img/rounded-box-redwine-bl.png Binary files differnew file mode 100644 index 0000000..14b1256 --- /dev/null +++ b/live/img/rounded-box-redwine-bl.png diff --git a/live/img/rounded-box-redwine-br.png b/live/img/rounded-box-redwine-br.png Binary files differnew file mode 100644 index 0000000..82a4f73 --- /dev/null +++ b/live/img/rounded-box-redwine-br.png diff --git a/live/img/rounded-box-redwine-ml.png b/live/img/rounded-box-redwine-ml.png Binary files differnew file mode 100644 index 0000000..94b237c --- /dev/null +++ b/live/img/rounded-box-redwine-ml.png diff --git a/live/img/rounded-box-redwine-mr.png b/live/img/rounded-box-redwine-mr.png Binary files differnew file mode 100644 index 0000000..bba05ab --- /dev/null +++ b/live/img/rounded-box-redwine-mr.png diff --git a/live/img/rounded-box-redwine-tl.png b/live/img/rounded-box-redwine-tl.png Binary files differnew file mode 100644 index 0000000..9b58d9d --- /dev/null +++ b/live/img/rounded-box-redwine-tl.png diff --git a/live/img/rounded-box-redwine-tr.png b/live/img/rounded-box-redwine-tr.png Binary files differnew file mode 100644 index 0000000..168ad55 --- /dev/null +++ b/live/img/rounded-box-redwine-tr.png diff --git a/live/themes/redwine/css/theme.css b/live/themes/redwine/css/theme.css index ee8e776..4a3f033 100644 --- a/live/themes/redwine/css/theme.css +++ b/live/themes/redwine/css/theme.css @@ -11,6 +11,40 @@ select { border: 1px solid #963B5F; } +/* ###################### + # Tooltip style for hints + ###################### +*/ + +.hint-tip { + color: white; +} + +.hint-tip .hint-tip-top { + background: transparent url(/img/rounded-box-redwine-tl.png) no-repeat 0px 0px; +} + +.hint-tip .hint-tip-top .hint-tip-c { + background: transparent url(/img/rounded-box-redwine-tr.png) no-repeat right 0px; +} + +.hint-tip .hint-tip-bdy { + background: transparent url(/img/rounded-box-redwine-ml.png) repeat-y 0px 0px; +} + +.hint-tip .hint-tip-bdy .hint-tip-c { + background: transparent url(/img/rounded-box-redwine-mr.png) repeat-y right 0px; +} + +.hint-tip .hint-tip-bot { + background: transparent url(/img/rounded-box-redwine-bl.png) no-repeat 0px 0px; +} + +.hint-tip .hint-tip-bot .hint-tip-c { + background: transparent url(/img/rounded-box-redwine-br.png) no-repeat right 0px; +} + + /* ############################## # Tooltip style for epg infos ############################## @@ -17,6 +17,7 @@ using namespace tnt; istream& operator>>( istream& is, tChannelID& ret ) { + /* alternativ implementation string line; if ( !getline( is, line ) ) { if ( !is.eof() ) @@ -28,6 +29,23 @@ istream& operator>>( istream& is, tChannelID& ret ) if ( !line.empty() && !( ret = tChannelID::FromString( line.c_str() ) ).Valid() ) is.setstate( ios::badbit ); return is; + */ + + string line; + if (!getline( is, line ) ) { + if (0 == is.gcount()) { + is.clear(is.rdstate() & ~ios::failbit); + return is; + } + if (!is.eof()) { + is.setstate( ios::badbit ); + return is; + } + } + + if ( !line.empty() && !( ret = tChannelID::FromString( line.c_str() ) ).Valid() ) + is.setstate( ios::badbit ); + return is; } namespace vdrlive { |