Commit Graph

12227 Commits

Author SHA1 Message Date
svenhoefer
7be2a3950c - timerlist: fix yellow on/off behaviour when back item is selected
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-12-31 11:47:45 +01:00
svenhoefer
6d53bf7967 - pictureviewer: more string replacements for eventlogo in GetLogoName()
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-12-31 11:47:45 +01:00
svenhoefer
a48c387bbd - pictureviewer: massively simplify GetLogoName() function
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-12-31 11:47:45 +01:00
svenhoefer
d510a1a9bf - lcd4l: use GetLogoName() function from pictureviewer
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-12-31 11:47:45 +01:00
svenhoefer
deede1bd92 - pictureviewer: add support for g_settings.lcd4l_logodir to GetLogoName() function
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-12-31 11:47:45 +01:00
svenhoefer
4e21dd5c44 - introduce eventlogos (e.g. tagesschau.png for Tagesschau)
Eventlogo name is created from lowercase event name. Sspaces are replaced by "-".
  So an event called "American Dad" needs a logo called "american-dad.png".

  Eventlogo must be located in a subdir called "/events" in the logo directories.

  The search is working backwards through the eventname like this:

  "/var/tuxbox/icons/logo/events/american-dad.jpg"
  "/var/tuxbox/icons/logo/events/american-da.jpg"
  "/var/tuxbox/icons/logo/events/american-d.jpg"
  "/var/tuxbox/icons/logo/events/american-.jpg"
  "/var/tuxbox/icons/logo/events/american.jpg"
  "/var/tuxbox/icons/logo/events/america.jpg"
  "/var/tuxbox/icons/logo/events/americ.jpg"
  "/var/tuxbox/icons/logo/events/ameri.jpg"
  "/var/tuxbox/icons/logo/events/amer.jpg"
  "/var/tuxbox/icons/logo/events/ame.jpg"
  "/var/tuxbox/icons/logo/events/am.jpg"
  "/var/tuxbox/icons/logo/events/a.jpg"

  First hit is used. If no eventlogo was found, the wellknown channellogos are used.
  Be carefull with the naming of the eventlogos. A logo named "a.png" will be used
  for all events starting with an A.

Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-12-31 11:47:45 +01:00
svenhoefer
0132429dfc - pictureviewer: just small code formatting changes in GetLogoName()
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-12-31 11:47:44 +01:00
TangoCash
91fb19ff22 add special logo names support
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-12-31 11:47:44 +01:00
svenhoefer
1dd01cef5f - use new edit icon in several headers
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-12-31 11:47:44 +01:00
Thilo Graf
554563755f icons: add edit icon for headers 2018-12-31 11:47:44 +01:00
svenhoefer
c7f831d7df - timerlist: remove obsolete old code
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-12-31 11:47:44 +01:00
svenhoefer
6fdc01c0e7 - fix latest key changes (KEY_EXIT => KEY_HOME)
Conflicts:
	src/neutrino.cpp
	version_pseudo.h

Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-12-31 11:47:44 +01:00
svenhoefer
e5333574eb - data: move config data to new config subdir
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-12-31 11:47:44 +01:00
svenhoefer
13c2e578e8 - data: move zapit data to new zapit subdir
Conflicts:
	data/Makefile.am

Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-12-31 11:47:44 +01:00
svenhoefer
82a6dfeaeb - timerlist: speed up loop when remote box is offline
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-12-31 11:47:44 +01:00
svenhoefer
75f64f760e - timerlist: fix return from RemoteBoxSelect() when no item is choosed
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-12-31 11:47:44 +01:00
svenhoefer
9913a578b2 - menu: add possibility to get action state of menu widget
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-12-31 11:47:44 +01:00
svenhoefer
124c8c6d63 - timerlist: allow to enable/disable remote boxes
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-12-31 11:47:44 +01:00
svenhoefer
b4b122c6da - zapit: remove obsolete data directory
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-12-31 11:47:44 +01:00
svenhoefer
d026cdd7a1 - fix install of myservices.xml; was in wrong directory
Conflicts:
	data/Makefile.am

Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-12-31 11:47:44 +01:00
svenhoefer
c2df6c97b9 - cc_frm_header: re-add offet to header caption; ...
this fixes ofset on right side for very long header captions

Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-12-31 11:47:44 +01:00
Thilo Graf
a327498209 cc_item_text.h: remove unneeded virtual declarations 2018-12-31 11:46:55 +01:00
Thilo Graf
2a7e4b9b42 widget/textbox: cpp: try to fix possible issue while restore screen
maybe possible crash
2018-12-31 11:46:55 +01:00
Thilo Graf
0db7634583 cc_frm_clock.cpp: declare force_repaint as const 2018-12-31 11:46:55 +01:00
Thilo Graf
cb40dcb9ea widget/hintbox.cpp/h: use disconnect instead check for OnTimer
diconnect ensures handle of current slot.
2018-12-31 11:46:55 +01:00
Thilo Graf
25d55b60b9 cc_item_text.cpp/h: move functions into cpp file
clean up
2018-12-31 11:46:55 +01:00
Thilo Graf
8b9a268a0c cc_timer.h: fix threadname assignment
Parameter not really passed in some some conditions.
2018-12-31 11:46:55 +01:00
Thilo Graf
6237bfe07c hintbox/msgbox: add more specific thread names
For better tracing while debugging.
2018-12-31 11:46:55 +01:00
Thilo Graf
1022cba0cc imageinfo: add possible information for used libstb-hal 2018-12-31 10:10:30 +01:00
Thilo Graf
a2ddff616f configure: expand package data, add libstb-hal-config.h if available
Additional header file can be checked with new define HAVE_CONFIG_HAL_H.
This should be downwards compatible too, meaning that build is possible
even without this header.
2018-12-31 10:09:19 +01:00
Thilo Graf
728b04db2c imageinfo.cpp: simplify creation of info lines 2018-12-30 22:13:52 +01:00
GetAway
444173ead6 lcd4l: possibility to use it in user menue 2018-12-26 20:06:01 +01:00
GetAway
99a6ab267d add lcd4linux support, ported from
defans and vanhofen, modded by TangoCash
2018-12-26 20:04:32 +01:00
GetAway
fe8dbf3458 neutrino.cpp: add another key to backward-compatible check thx DdD 2018-12-15 23:14:08 +01:00
GetAway
2225d943dd epgview.cpp: fix recalculation of several heights 2018-12-11 14:20:50 +01:00
Thilo Graf
13752e6de8 navibar.cpp: fix possible overpaint of text after repaint with new content 2018-12-10 22:07:27 +01:00
Thilo Graf
7eeb270cba cc_draw.cpp/h: move more methodes into cpp file
clean up
2018-12-10 22:01:56 +01:00
Thilo Graf
d4fb223045 src/gui/widget/hintbox.cpp: connect OnTimer slot only if is still empty
Prevent multiple connections to slot. Only to be sure.
2018-12-09 17:29:44 +01:00
max_10
2131058fc4 -src/zapit/src/channel: fix warning: this statement may fall through [-Wimplicit-fallthrough=] 2018-12-09 17:28:54 +01:00
Thilo Graf
73f0c4b25e cc_item.cpp/cc_detailsline.cpp: clean up and simplify fblayer init
use v_fbdata.push_back() for direct fill with contents, reduced effort
2018-12-07 22:57:19 +01:00
svenhoefer
13b7612fcf - cables.xml: update KD - Offensive 2012; thx to Detlef from NI-Board
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-12-07 21:47:33 +01:00
Thilo Graf
09940ed419 cc_item.cpp/h: move getPageNumber() into cpp file
clean up
2018-12-07 21:47:33 +01:00
Thilo Graf
c7f8392ef6 cc_draw.cpp/h: move position members into cpp file
clean up
2018-12-07 21:47:33 +01:00
Thilo Graf
d9e66f4142 CTextBox: move setTextRenderModeFullBG() into cpp file. 2018-12-07 21:47:33 +01:00
Thilo Graf
b13a2a3b9a cc_draw.cpp: remove consequently all possible pixbuf contents
This should enusre a clean content for all fbdata.pixbuf parts.
2018-12-07 21:47:33 +01:00
Thilo Graf
39c890ed22 neutrino.h: add signal OnShutDown
was missed in context with similar OnBeforeRestart
2018-12-07 21:47:33 +01:00
Thilo Graf
80a1a8b64f CTextBox: move enableBackgroundPaint() into cpp file
partial cleanup
2018-12-07 21:47:32 +01:00
Thilo Graf
1d5de6babc clean up: remove unnecessary virtual declarations from cc classes 2018-12-07 21:47:32 +01:00
Thilo Graf
420fba0e1b cc_draw.cpp: remove variable cc_fbdata_t& fbdata
Try to avoid som possible data races.
2018-12-07 21:47:32 +01:00
Thilo Graf
94284c2e5b cc_draw.cpp: call blitBox2FB() only if checkFbArea() was true
This should prevent pass corrupted parameters for blitBox2FB().
2018-12-07 21:47:32 +01:00