Commit Graph

150 Commits

Author SHA1 Message Date
BPanther
6ccaec945d fix internet radio 2020-01-05 16:53:14 +01:00
TangoCash
153cce9d95 adding some curl helpers
Signed-off-by: Thilo Graf <dbt@novatux.de>

NOTE: this pick makes build broken because of some previous declarations
2018-08-23 10:37:56 +02:00
svenhoefer
3b65251e00 - framebuffer: better name for getWindowWidth/Height() functions
getScreenWidth/HeightRel() was confusing because it depends on users window settings.
Replace names in old unused framebuffer code too.

Signed-off-by: Thilo Graf <dbt@novatux.de>

 Conflicts:
	gui/channellist.cpp
2018-01-22 19:19:08 +01:00
svenhoefer
671949d8f3 - movieplayer: align some variables names to tango's names
Conflicts:
	src/gui/infoviewer.cpp
	src/gui/movieplayer.cpp

Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-01-09 22:55:05 +01:00
Thilo Graf
91ee69f22e Fileplay: add separat fileplay for audio and video 2017-12-21 12:10:40 +01:00
svenhoefer
3d5aa5977a - neutrino: add more RC_playpause handling
Conflicts:
	src/gui/movieplayer.cpp

Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-12-21 11:28:30 +01:00
Jacek Jendrzej
4fc73acffc Merge branch 'master' into pu/mp 2017-09-29 10:49:27 +02:00
svenhoefer
99cc7f850a - rcinput: simplify calcTimeoutEnd() calls; 0 is "off" by default now 2017-09-29 10:34:23 +02:00
Jacek Jendrzej
2e696818d1 Merge branch 'master' into pu/mp 2017-09-27 09:58:18 +02:00
svenhoefer
f0e7069878 - fix some timout-off-bugs in epgplus, epgview, eventlist and filebrowser 2017-09-27 09:57:10 +02:00
Jacek Jendrzej
cf951434d5 Merge branch 'master' into pu/mp 2017-06-20 14:26:38 +02:00
svenhoefer
000edc2942 - simplify last shadow-changes ...
I didn't know about the possibility to add a shadow directly to
the scrollbar.

Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-06-20 09:55:37 +02:00
svenhoefer
f5a9179957 - filebrowser: add shadow to gui-elements
Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-06-20 09:55:32 +02:00
Jacek Jendrzej
4c3002cb26 Merge branch 'master' into pu/mp 2017-06-15 12:32:31 +02:00
Thilo Graf
ecc1f4860c CFileBrowser: add fallback for possible missing init directory
In some rare exceptional cases it is possible that  wrong  or missing
start directories could be defined.
Result: filebrowser window will be freezing, no key is helping.
With this fallback, filebrowser should jump into next existant upper
directory.
2017-06-15 01:01:55 +02:00
svenhoefer
28b3cc80df - filebrowser: use getScrollBarData() function
Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-06-15 01:01:55 +02:00
Jacek Jendrzej
12b5248e4e Merge branch 'master' into pu/mp 2017-06-07 16:30:35 +02:00
Jacek Jendrzej
ca83324763 Merge branch 'master' into pu/mp 2017-06-07 16:20:47 +02:00
vanhofen
628e8ea3e4 - filebrowser: fix total_pages calculation for CComponentsScrollBar 2017-06-07 15:18:38 +02:00
svenhoefer
e49c326406 - filebrowser: port fileicon handling from TangoCash
Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-06-07 14:17:12 +02:00
svenhoefer
78dd5e2923 - filebrowser: use NEUTRINO_ICON_PICTURE to mark pictures
Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-06-07 14:17:11 +02:00
svenhoefer
cb36d32799 - filebrowser: small design reworks ...
* use OFFSET defines
* use CComponentsScrollbar
* rename some variables

Unfortunately we can't use CComponentsFooter, because
CComponentsFooter can't handle button_label_ext yet

Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-06-07 14:17:11 +02:00
Jacek Jendrzej
f292ba6b69 Merge branch 'master' into pu/mp 2017-04-24 21:33:15 +02:00
svenhoefer
fe5f84c1d0 - scrollbars: avoid usage of COL_SCROLLBAR_PASSIVE_PLUS_0 ...
... outside of CComponentsScrollBar(). Since the color-changes in
89bda2d the non-CC scrollbars looks weird.
2017-04-24 12:29:52 +02:00
Stefan Seyfried
2303d94300 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-07 17:23:42 +01:00
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
c6d7968381 Merge remote-tracking branch 'tuxbox/master' 2016-12-04 18:02:51 +01:00
Thilo Graf
5443cc274c CFileBrowser: use mbrYes as default selection
TODO: 	Re-evaluate the logic of current used messages with risky actions
	and adjust the buttons accordingly.
Reason: <yes> is now as default assigned to green button (traffic light principle), and we use stricktly
	the order of colors from remote control (r,g,g,b), but in some cases
	it is useful to assign the <Yes> button to red for risky actions.
2016-11-12 15:05:05 +01:00
Thilo Graf
dde298b1b7 CMsgBox: rework msgbox classes with Window class implementation
Replacing messagebox, hintbox_ext and some derivated parts with
basic class hintbox and derivated class CMsgBox. This should unify
window handling and avoids maintain of multiple classes with quasi
same purpose and adds more functionality.

TODO: fix and optimize details
2016-10-24 10:31:24 +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
efa4cae487 - filebrowser: fix e9d8ab8a5e37ae44b3ca8185463faa7e8aa2a493; vol. 2 2016-10-20 00:27:36 +02:00
svenhoefer
a2b1da8bc9 Revert "- filebrowser: fix e9d8ab8a5e37ae44b3ca8185463faa7e8aa2a493"
This reverts commit 85cd0952f2.
2016-10-20 00:27:36 +02:00
svenhoefer
85cd0952f2 - filebrowser: fix e9d8ab8a5e 2016-10-19 17:48:12 +02:00
svenhoefer
e9d8ab8a5e - filebrowser: use getItemColors function 2016-10-19 10:06:36 +02:00
vanhofen
6629b64d6c - colors: add COL_SCROLLBAR_PASSIVE wrapper 2016-10-10 14:19:54 +02:00
vanhofen
7e7d4e5fc1 - colors: add COL_SCROLLBAR_ACTIVE wrapper 2016-10-10 14:19:54 +02:00
svenhoefer
54f2ac510f - fonts: add and use own font for all footers 2016-08-15 19:02:42 +02:00
svenhoefer
5610aa280e - filebrowser: remove my stupid comment 2016-08-15 13:02:49 +02:00
svenhoefer
cc5258e6d5 - colors: make footer background color configurable
TODO: footer text color and maybe footer font
2016-08-15 00:14:47 +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
Jacek Jendrzej
7db16952f6 (performance) Prefer prefix ++/-- operators for non-primitive types 2016-02-16 13:02:10 +01:00
Stefan Seyfried
2d949bce16 Merge remote-tracking branch 'uncool/cst-next' 2015-12-15 17:29:18 +01:00
svenhoefer
736343d35b - neutrino: press tv/radio key to return to plain tv/radio 2015-12-15 08:15:17 +01:00
Stefan Seyfried
eeee5bacab Merge remote-tracking branch 'uncool/cst-next'
This need buildfixes and some functional updates...
2015-12-13 17:41:55 +01:00
Jacek Jendrzej
422c91d117 add pugixml 2015-04-28 10:12:23 +02:00
Stefan Seyfried
5ab6b53054 global.h: Use forward-declarations to reduce number of dependencies 2015-04-16 13:39:35 +02:00
Jacek Jendrzej
8227a01592 xmlinterface use const char instand char 2015-03-20 12:05:22 +01:00
Jacek Jendrzej
40fe7fae34 prevent possible segfault std::string if value NULL 2015-03-20 11:57:12 +01:00
Stefan Seyfried
4e1678c2a3 filebrowser, moviebrowser, pictureviewer: clarify error message 2015-02-09 13:47:32 +01:00
Stefan Seyfried
678a008310 filebrowser, moviebrowser, pictureviewer: clarify error message 2015-02-06 17:26:20 +01:00