Commit Graph

490 Commits

Author SHA1 Message Date
Stefan Seyfried
9082ddf287 replace fontrenderer.h include with forward declaration
in order to flatten the build dependency tree further, include
fontrenderer.h directly where needed, in header files a forward
declaration is enough
2017-02-05 13:37:53 +01:00
Stefan Seyfried
7497722646 Merge remote-tracking branch 'tuxbox/master' 2017-02-01 22:03:40 +01:00
M. Liebmann
a7ef709e55 CInfoViewer: Use flag Font::FULLBG for RenderString()
dependent on g_settings.theme.infobar_gradient_*
2017-01-31 16:36:42 +01:00
Thilo Graf
0de9490326 CInfoViewer: enable kill text items after killed title
This causes repaint text on next view of infobar.
2017-01-31 16:36:42 +01:00
Thilo Graf
26eb4d079b Experimental try to rework isPainted() 2017-01-31 16:36:41 +01:00
Stefan Seyfried
c6d7968381 Merge remote-tracking branch 'tuxbox/master' 2016-12-04 18:02:51 +01:00
Thilo Graf
c8ad32b1e4 CInfoViewer: add missing shadow for timescale
enableShadow() needs enum option.
2016-11-15 19:00:21 +01:00
Stefan Seyfried
2c92d112d0 Merge remote-tracking branch 'tuxbox/master' 2016-11-12 18:06:26 +01:00
Thilo Graf
3efaac5725 Merge branch 'master' into pu/msgbox
Conflicts:
	src/gui/moviebrowser/mb.cpp
2016-11-10 10:27:22 +01:00
svenhoefer
21b2fbd03c - infoviewer: use small vertical offset around channellogo 2016-11-08 22:02:57 +01:00
Thilo Graf
ab9bf2ffa6 Merge branch 'master' into pu/msgbox 2016-11-02 21:05:36 +01:00
Jacek Jendrzej
b8849d53b5 fix possible segfault and negative height 2016-10-31 15:53:29 +01:00
Thilo Graf
a17d61de8c Shadow: try to optimize shadow areas
* cleanup inner part of box on round corners, frames considered
* adopt implementations in some gui classes
* some debug lines removed
* test menu adopted
* try to fix corner caluculation to avoid transparent holes
2016-10-24 10:31:25 +02:00
Stefan Seyfried
13ab1ebc8a Merge remote-tracking branch 'tuxbox/master'
* needs compile fixes
* needs additional tests, of course :-)
2016-10-22 11:37:40 +02:00
svenhoefer
104d21e784 - rename customcolor.h -> color_custom.h; reduce unneeded inludes 2016-10-10 14:19:55 +02:00
svenhoefer
5d450c60d3 - rename SHADOW_OFFSET -> OFFSET_SHADOW 2016-10-10 14:19:55 +02:00
vanhofen
d77858683b - infoviewer: align progressbar/sigbox code to latest changes 2016-10-10 14:19:55 +02:00
Thilo Graf
ad189f180d CInfoViewer: allow fe change without new sigbox object 2016-09-28 21:12:32 +02:00
svenhoefer
2911e638c7 - add listModeKey() function to simplify these calls 2016-09-09 10:42:46 +02:00
svenhoefer
bc39d1e14e - colors: some internal renamings
* INFOBAR_SHADOW to SHADOW because it's not only used in infoviewer
* INFOBAR_SHADOW_TEXT to MENUFOOT_TEXT because it's the proper name

This is in preparation to make footer colors configurable
2016-08-14 21:55:18 +02:00
svenhoefer
adb48f523d - minor code cosmetics; no binary changes 2016-08-02 11:36:29 +02:00
TangoCash
44ca60eb17 adding Live-TV look alike EPG-Infos in Movieplayer incl. TMDB 2016-07-28 15:02:20 +02:00
Jacek Jendrzej
0d9fbd5378 some never read compil warning fixes 2016-04-24 17:18:37 +02:00
Thilo Graf
74caa1a949 CInfoViewer: remove clock object interval allocation
Already allocated with default value (1s) by constructor and
also not required, because internal clock timer is not used here.
2016-04-10 14:12:03 +02:00
[CST] Focus
302642cee7 neutrino: add webtv channel list mode 2016-03-23 16:36:00 +03:00
defans
de490421e3 - infoviewer: don't handle volume keys in movieplayer 2016-03-10 22:23:45 +01:00
svenhoefer
8a12d3ef8d - infoviewer: we don't have starttimes in livestream mode 2016-03-03 09:46:42 +01:00
M. Liebmann
eb1826ebee Display of livestream infos in IV if no EPG data available 2016-03-03 09:46:42 +01:00
Thilo Graf
59d9b7068e Infoclock: unify handling in some classes with singleton 2016-02-29 08:05:05 +01:00
Thilo Graf
f75402e571 CInfoViewer: use binary operators for zap mode statements 2016-02-24 15:06:15 +01:00
svenhoefer
219ce9c8ed - infoviewer: fix display of small rec/ts box; rename most variables 2016-02-18 21:38:10 +01:00
Thilo Graf
f080dd21ab CInfoViewer: try to fix possible display errors on epg text and rest time
Use of hide() before paint and increase width of rest time box should help
to avoid this issue.
2016-02-17 10:46:59 +01:00
svenhoefer
944dab5a8c - infoviewer: show movieplayers infoviewer in vzap mode if needed 2016-02-04 00:14:57 +01:00
svenhoefer
fb2967ca8b - movieplayer: add virtual zap mode for moviebrowser playlists
This commit fixes virtual zap for timeshift mode too.
TODO: virtual zap for fileplayer playlists
2016-02-03 16:27:07 +01:00
svenhoefer
32d3c2e467 - infoviewer: move VZAP-code to right place 2016-02-01 21:24:54 +01:00
[CST] Focus
1ec5af21f7 gui/infoviewer.cpp: fix crash if one of objects missed,
forward all keys to movieplayer in file play mode, excluding only screenshot, OK, home
2016-02-01 16:47:21 +03:00
Thilo Graf
162938b3a3 CInfoViewer: reduce flicker effects for infobar text 2016-01-30 17:39:23 +01:00
M. Liebmann
73ec7e9671 CInfoViewer::show_Data: Avoid overwriting button text 2016-01-29 15:31:12 +01:00
M. Liebmann
6c72fe94bc CCDraw: Set cc_gradient_bg_cleanup to true
Except menu headers: Disable cleanup when save screen is disabled
2016-01-29 15:31:12 +01:00
Thilo Graf
2207019bfd CInfoViewer: use gradient settings for infobar text box too 2016-01-29 15:31:12 +01:00
defans
fcd8352daf - infoviewer: simplify body height calculation 2016-01-27 00:13:17 +01:00
M. Liebmann
8dd426d714 Fix ghost text in infoviewer 2016-01-26 20:00:22 +01:00
Thilo Graf
4cded5afb6 CInfoViewer: try to fix shadow and background behavior in vzap mode 2016-01-26 20:00:22 +01:00
Thilo Graf
b23e3c15c3 CInfoViewer: unified vars for body position 2016-01-26 20:00:22 +01:00
Thilo Graf
da0b867098 CInfoViewer: remove shadow offset from init,
items works with its own values
2016-01-26 20:00:22 +01:00
defans
12c3a15c10 CInfoViewer: reset zapmode if not in default mode
Signed-off-by: Thilo Graf <dbt@novatux.de>
2016-01-26 20:00:22 +01:00
Stefan Seyfried
9a6f9ea786 infoviewer: change show_Data() semantics slightly
the "calledFromEvent" parameter was only used to force display of "no
EPG available". It was set to true when calling from an "zap complete"
or "epg event received" event, which is good, but also when calling from
the display update timer, which is "strange".
Now setting this parameter to false forces the update of the current
event (if available) which is done from display update timer.
This fixes the update of the remaining time display with constantly
displayed infobar (radio mode).
2016-01-25 08:44:26 +01:00
Stefan Seyfried
f5c72d35c8 Merge remote-tracking branch 'n/cst-next-fixed' 2016-01-24 13:15:43 +01:00
Stefan Seyfried
09a8bc88ee infoviewer: change show_Data() semantics slightly
the "calledFromEvent" parameter was only used to force display of "no
EPG available". It was set to true when calling from an "zap complete"
or "epg event received" event, which is good, but also when calling from
the display update timer, which is "strange".
Now setting this parameter to false forces the update of the current
event (if available) which is done from display update timer.
This fixes the update of the remaining time display with constantly
displayed infobar (radio mode).
2016-01-23 13:17:56 +01:00
Stefan Seyfried
f107519131 infoviewer: get rid of "gotTime" variable
It was set from EVT_TIMESET, which is no longer used, and can be
replaced easily by the (already used) "timeset" from sectionsd.
Races and locking can safely be ignored in this case.
2016-01-23 13:16:10 +01:00