Commit Graph

170 Commits

Author SHA1 Message Date
svenhoefer
6a7ac6c0b0 - settings.h: rename FRAME_MIN_WIDTH to FRAME_WIDTH_MIN ...
to get same name-structure as in the existing defines

(cherry picked from commit f77c2b897c269810c15a1780ae4918a7a0deec3d)
Signed-off-by: Thilo Graf <dbt@novatux.de>

Conflicts:
	src/system/settings.h
2017-06-29 17:18:06 +02:00
Thilo Graf
86742b1d72 CAudioPlayerGui: add cc scquare objekt as title box, fix caption bg colors
Use of cc square object saves unnecessary paintBoxRel() calls.
BgColors of metatdata and time display were different to
titlebox body color, but was not to see with all themes.

btw: time box was too much on the right side. Frame of titelbox
was overpainted but was not very noticeable if frame width < 2.
2017-06-28 22:07:34 +02:00
svenhoefer
b62bb3715f - audioplayer: reset idle time to avoid screensaver ...
when returning from shoutcast-filebrowser

(cherry picked from commit 0a8024cdef84d9e60fa1e64c65e687f16c1d90ce)
Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-06-28 20:35:20 +02:00
svenhoefer
bb7b9e2207 - audioplayer: fix round borders in footer when playlist is hidden ...
and use large roundings as in the other gui-elements

cherry-picked from 8a3d8f8b51a8bd97966f8b0708f0a0a631d07bc8

Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-06-28 20:35:20 +02:00
svenhoefer
bab708281a - audioplayer: reset idle time to avoid screensaver ...
when returning from filebrowser

(cherry picked from commit d4f366c0dd9ab7f997a7c4f85948168ccf80f4ad)
Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-06-28 20:35:19 +02:00
svenhoefer
f0c70b854c - audioplayer: fix position of meta data in titlebox
(cherry picked from commit 37c61fa12f6961048f1382ae48873d7c06bd9c64)
Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-06-28 20:35:19 +02:00
svenhoefer
4b4cf14d6b - audioplayer: fix coordinates to clear title-box
(cherry picked from commit 0dfe5becbbc832c4379e957abdcea92604eb1caf)
Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-06-28 20:35:18 +02:00
svenhoefer
d75a3b0f58 - audioplayer: change scanXmlData() arguments order ...
switch url <-> name to get the same order as in other used functions

(cherry picked from commit f31f8c5bc84c817e3fc955d816bb57cb0dcdfab7)
Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-06-28 20:35:17 +02:00
svenhoefer
980e293517 - cc_frm_header: remove CComponentsHeaderLocalized() subclass
use another constructor of CComponentsHeader() instead

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

Good idea, this I had already in mind too.
2017-06-21 10:31:22 +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
cc42ee1e42 - audioplayer: fix coordinates in hide() function
Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-06-20 09:55:29 +02:00
svenhoefer
37e5f8032e - audioplayer: add shadow to gui-elements
Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-06-20 09:55:24 +02:00
svenhoefer
c1460ef905 - audioplayer: don't show not recognized bitrates
Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-06-20 09:55:21 +02:00
svenhoefer
cd6c123e56 - audioplayer: minor format changes in title box
Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-06-20 09:55:18 +02:00
svenhoefer
4c21971b4a - audioplayer: small design reworks ...
* use OFFSET defines
* use CComponentsScrollbar
* rename some variables
* many, many position calculation fixes
* re-format code

Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-06-18 00:04:40 +02:00
svenhoefer
6c1d7eea59 - audioplayer: use NEUTRINO_ICON_AUDIO in header
Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-06-07 14:17:11 +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
svenhoefer
5b0faeab8c - unify DetailsLine-names; move define to settings.h 2017-03-13 12:40:04 +01:00
svenhoefer
eb477aee8e - audioplayer: fix small typo 2017-02-24 18:26:07 +01:00
svenhoefer
a5bc693282 - enable epg-scan while audioplayer, movieplayer, pictureviewer and
upnp-browser runs
2016-11-24 21:41:23 +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
svenhoefer
957b1e05df - various: use DARK text color on DARK background 2016-10-19 14:35:38 +02:00
svenhoefer
3a80241b0c - audioplayer: use getItemColors function 2016-10-19 10:06:35 +02:00
M. Liebmann
01f3a56229 Fix compile error at src/gui/audioplayer.cpp
- Complement to commit 98500fd
2016-10-10 20:53:05 +02:00
vanhofen
02e07e4d7e - audioplayer: fix connectline paint 2016-10-10 14:19:55 +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
75fe6e407d - colors: add COL_FRAME wrapper 2016-10-10 14:19:54 +02:00
svenhoefer
c7e1a77a21 - audioplayer: fix detailsline position 2016-10-01 11:06:11 +02:00
svenhoefer
974ef11d5b - detailsline: remove unneeded position/dimension additions 2016-09-12 12:11:04 +02:00
svenhoefer
54f2ac510f - fonts: add and use own font for all footers 2016-08-15 19:02:42 +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
vanhofen
1f224be672 - disable shoutcast, when shoutcast_dev_id is empty 2016-08-06 22:52:37 +02:00
Jacek Jendrzej
75a96a2fb3 avoid division by zero 2016-06-04 15:36:46 +02:00
Thilo Graf
0f7985c95c CAudioPlayerGui:try to fix infocklock view in audioplayer.
after closed screensaver, infoclock was painted. That looks not good.
This should fix this.
2015-12-27 14:42:29 +01:00
svenhoefer
736343d35b - neutrino: press tv/radio key to return to plain tv/radio 2015-12-15 08:15:17 +01:00
Jacek Jendrzej
29aa47aef0 audioplayer: -add flv format (THX Houdini) 2015-07-27 12:40:41 +02:00
svenhoefer
edc8527379 - framebuffer: revival of showFrame() function to allow ...
... pictures like start.jpg, mp3.jpg etc. from /var/tuxbox/icons
2015-05-05 12:01:04 +02:00
Thilo Graf
a58f1621b4 Merge branch 'cst-next.pre' into cst-next 2015-04-30 09:20:43 +02: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
Thilo Graf
08cb42d22f gui/audioplayer.cpp/h: fix some type conversions 2015-03-29 22:40:05 +02:00
Thilo Graf
98d18f3ff4 CAudioPlayerGui: paint of id3 info with info box
Infobox provides already paint of text, so is not required to
call explicit fontrenderer methods.
2015-03-29 22:40:01 +02:00
Thilo Graf
c2a1299438 CAudioPlayerGui: replace showGlobalStatus() with showStatus() 2015-03-29 22:39:59 +02:00
Jacek Jendrzej
8227a01592 xmlinterface use const char instand char 2015-03-20 12:05:22 +01:00
Jacek Jendrzej
138e5d4763 audioplayer.cpp: prevent possible segfault 2015-03-19 18:18:13 +01:00
[CST] Focus
798b6f4945 gui/audioplayer.cpp: fix refresh after open picture viewer 2015-03-10 15:32:23 +03:00
[CST] Focus
4f5ac78e7f gui/audioplayer.cpp: fix missing frame around infobox 2015-03-09 14:58:05 +03:00
svenhoefer
90f968c19d - vfd/audioplayer: fix vfd progress in audioplayer
don't update full vfd every second
2015-01-09 11:18:52 +01:00