Commit Graph

120 Commits

Author SHA1 Message Date
Thilo Graf
25c9201b21 CUpnpBrowserGui: Ensure clean screen on leaving upnp browser. 2018-03-01 16:55:27 +01: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
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
svenhoefer
0fc3e793a4 - neutrino: unify modes handling; ...
remove double enum from CNeutrinoApp and move mostly used enum from NeutrinoMessages to new NeutrinoModes

Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-11-22 15:42:09 +01:00
Thilo Graf
acf9cdfea8 CUpnpBrowserGui: fix button arrangement
defined label width parameter was too large
2017-10-17 20:03:10 +02:00
Jacek Jendrzej
47b247472c src/gui/upnpbrowser.cpp clear framebuffer 2017-10-09 17:23:11 +02:00
Jacek Jendrzej
6d81594f12 upnpbrowser : fix memleaks 2017-10-09 16:39:24 +02:00
Jacek Jendrzej
d3233254c8 upnpbrowser : fix memleak 2017-10-09 12:37:35 +02:00
Thilo Graf
cbe21aade7 CUpnpBrowserGui: fix possible compile errot
error: suggest parentheses around ‘&&’ within ‘||’ [-Werror=parentheses]
2017-10-08 17:48:32 +02:00
Jacek Jendrzej
ea0cd48d18 fix video folderplay 2017-10-08 16:49:23 +02:00
Jacek Jendrzej
7f1d736781 src/gui/upnpbrowser.cpp clear framebuffer 2017-10-08 16:49:23 +02:00
Jacek Jendrzej
9a0bcf0dc5 src/gui/upnpbrowser.cpp kill infobox and timebox 2017-10-08 16:49:23 +02:00
Stefan Seyfried
0d9139054a remove "using namespace std" from header files
"using namespace std" in headers is considered bad practice, so move it
either into the respective cpp files or (for files which have lots of
other std::xxx usage anyway) just write it out explicitly.
Looking at the headers and the affected cpp files, one can actually see
why it is bad practice, as it's spreading very far ;-)
2017-10-02 13:43:57 +02:00
svenhoefer
6659dbb6f3 - upnpbrowser: fix mode_ts for videos; was switched back to mode_upnp by stopAudio()
Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-08-12 14:05:23 +02:00
Thilo Graf
3213999198 CUpnpBrowserGui: try to reduce flicker effects on scroll
Some parts on screen should be painted only if changed.
This should help to reduce some flicker effects.
2017-07-01 22:10:26 +02:00
Thilo Graf
baf441b5d0 CUpnpBrowserGui: fix dline paint during directory selection
Dline was not removed on directory selection.
2017-07-01 22:09:08 +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
d357835b38 - upnpbrowser: center text in topbox
Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-06-20 10:30:29 +02:00
svenhoefer
ddcda8be27 - upnpbrowser: activate shadow on scrollbar
Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-06-20 09:55:43 +02:00
svenhoefer
4d4ae277f9 - upnpbrowser: use CComponentsScrollbar
Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-06-15 21:47:24 +02:00
Jacek Jendrzej
cc0f0cd951 src/gui/upnpbrowser.cpp fix segfault on connect error 2017-05-02 13:08:06 +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
Thilo Graf
0943c467e2 CChannelList/CUpnpBrowserGui: add missing reinit for corner modes
Required eg. if corner settings has been changed by user on runtime.
2017-04-23 17:01:05 +02:00
svenhoefer
81078780db - upnpbrowser: fix neutrino mode while playing audio 2017-03-27 08:11:49 +02:00
svenhoefer
324359d31d - upnpbrowser: reduce console output in updateTimes() 2017-03-27 08:11:49 +02:00
svenhoefer
f10ecb6667 - upnpbrowser: reduce console output in selectDevice() 2017-03-26 23:31:08 +02:00
svenhoefer
5b0faeab8c - unify DetailsLine-names; move define to settings.h 2017-03-13 12:40:04 +01:00
Stefan Seyfried
47b1a8b642 reduce impact of driver/pictureviewer.h header file
before, more than 175 files depended on it, now it's about 35
2017-02-07 18:38:45 +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
c47d26637b CUpnpBrowserGui: simplify hintbox calls 2016-11-20 22:56:33 +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
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
d1eb35569e - upnpbrowser: use getItemColors function 2016-10-19 10:06:36 +02:00
svenhoefer
119cb608cf - upnpbrowser: use stopAudio() function; was missing in c915f85 2016-10-17 11:00:18 +02:00
svenhoefer
c915f857d7 - upnpbrowser: use OFFSET defines; fix color under cursor; minor cleanups 2016-10-13 15:14:03 +02:00
svenhoefer
98500fdeb6 - add and use OFFSET_INTER definition 2016-10-10 14:19:55 +02:00
svenhoefer
5d450c60d3 - rename SHADOW_OFFSET -> OFFSET_SHADOW 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
974ef11d5b - detailsline: remove unneeded position/dimension additions 2016-09-12 12:11:04 +02:00
Thilo Graf
6163c4f5ed CUpnpBrowserGui: enable missing shadows
Supplement for c9bb55db72
2016-08-17 10:34:36 +02:00
M. Liebmann
b015f65d4c CUpnpBrowserGui: Fix segfault at neutrino start 2016-08-16 15:11:39 +02:00
svenhoefer
c9bb55db72 - upnpbrowser: rework elements positions; avoid using FONT_EVENTLIST 2016-08-16 08:37:54 +02:00
svenhoefer
344101d50a - upnpbrowser: use larger font for items; we have space, so let's use it 2016-08-15 19:50:23 +02:00
svenhoefer
dc13d0ff28 - upnpbrowser: fix calculation of upper info box height 2016-08-15 19:35:02 +02:00
svenhoefer
1209485c6b - upnpbrowser: use COL_SHADOW_PLUS_0 instead of COL_SHADOW_PLUS_1 2016-08-15 00:30: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
svenhoefer
55b79d26a3 - upnpbrowser: reduce paintButtons calls to cc_frm_buttons default
remove obsolete setColorBody() call
2016-08-14 21:11:08 +02:00