Commit Graph

9418 Commits

Author SHA1 Message Date
Thilo Graf
cf7a21032c CChannelList: delete and reset minitv object inside unified scope 2017-05-07 14:18:47 +02:00
Thilo Graf
1359248f72 CChannelList: add connection to ResetModuls()
Ensures re init after font changes.
2017-05-07 14:18:47 +02:00
Thilo Graf
d7f839dcc9 CChannelList: remove init of cc_minitv from constructor.
Is not a member of CChannelList and already inititialized
as static outside of constructor.
2017-05-06 23:18:43 +02:00
Thilo Graf
86c18141dd CChannelList: add missing compare for existant header object. 2017-05-06 22:46:20 +02:00
Thilo Graf
bbb04bfb20 CEpgData: remove unused vars 2017-05-06 22:46:18 +02:00
Thilo Graf
237ae21bf7 Merge branch 'master' into pu/fb-setmode 2017-05-06 00:07:06 +02:00
Thilo Graf
8f3fcc6060 CEpgData/CEventList: use class CNaviBar for bottom box 2017-05-06 00:02:30 +02:00
Thilo Graf
cf7dd61fd7 CNaviBar: add new widget class: CNaviBar
Should help to reduce and unify code in some epg windows.
2017-05-06 00:02:26 +02:00
Thilo Graf
17958da28f CEpgData: supplement to 'fix header size'
commit: 7583714e6703a7ae9591e112726759c4070d0c68

Permanent font init is required to avoid possible crash after
changed font settings by user.
2017-05-04 19:45:11 +02:00
Thilo Graf
de43d212a4 Merge branch 'master' into pu/fb-setmode 2017-05-04 16:59:01 +02:00
Thilo Graf
23912ba583 CEpgData: fix header size
Header height was bound to font size in previous versions, but new
header is using other font as default, so we have wrong height,
therefore header items could paint outside of header. This should fix this.

In future we should unify header size with other windows.
2017-05-04 16:55:43 +02:00
Thilo Graf
329fad5545 CMovieBrowser: prevent possible segfault
Clock is disabled, will crash here.

comes with: 3ac2f99a67
2017-05-04 16:55:37 +02:00
Thilo Graf
326fca55c0 Merge branch 'master' into pu/fb-setmode 2017-05-03 21:36:45 +02:00
Thilo Graf
81001410f3 CChannelList: rework details line handling, fix hide() after setup
Detailsline is handling hide() by itself.

After channellist setup, eg. switching additional infos and channellist
window has different size, artefacts were possible.
2017-05-03 21:29:41 +02:00
Thilo Graf
18fb99688c CComponentsHeader: optimize logo size/position handling
Prevent oversized paint with stupid screen and/or font size settings
2017-05-03 21:29:41 +02:00
Thilo Graf
cb02d6253d Revert "-cc_form_header: add max caption width"
This reverts commit c482dd139f.
2017-05-03 21:29:41 +02:00
Thilo Graf
43fda8bc11 CEventList: optimize handling of header and bottom box
Mainly to reduce flicker effects on right/left scroll.
2017-05-03 21:29:41 +02:00
TangoCash
e98564c8e9 -eventlist,epgview: reduce header flickering
picked from:	https://github.com/TangoCash/neutrino-mp-cst-next
commit:	df6862963a9b29a4d0955b01a22e1061c312b17f

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

Conflicts:
    src/gui/epgview.cpp
2017-05-03 21:29:41 +02:00
Thilo Graf
fc805049d3 CEpgData: optimize handling of header and bottom box
Working with existant instances and reduce flicker effects.
2017-05-03 21:29:41 +02:00
TangoCash
08c4801698 -eventlist: fix segfault
Signed-off-by: Thilo Graf <dbt@novatux.de>
review required
2017-05-03 21:29:41 +02:00
TangoCash
ae0810e339 -eventlist: fix gradient background
Signed-off-by: Thilo Graf <dbt@novatux.de>
review required
2017-05-03 21:29:41 +02:00
TangoCash
54ce85c598 -eventlist,epgview: add infoviewer bottom gradient style
Signed-off-by: Thilo Graf <dbt@novatux.de>
review required
2017-05-03 21:29:41 +02:00
TangoCash
5b0668cc23 -epgview: fix movieinfo 2017-05-03 21:29:41 +02:00
TangoCash
099f83e819 -eventlist: fix clock
Signed-off-by: Thilo Graf <dbt@novatux.de>
review required
2017-05-03 21:29:41 +02:00
TangoCash
3ac2f99a67 -eventlist,epgview: adjust style, implement new header class
picked from:	https://github.com/TangoCash/neutrino-mp-cst-next
commit:	477db186ee4f306e191035ed2201ff4fc9d70b9d

Signed-off-by: Thilo Graf <dbt@novatux.de>
review reqiured
2017-05-03 21:29:41 +02:00
Thilo Graf
1d63606bb9 Merge branch 'master' into pu/fb-setmode 2017-05-02 21:15:26 +02:00
TangoCash
c482dd139f -cc_form_header: add max caption width
picked from:	https://github.com/TangoCash/neutrino-mp-cst-next
commit:	4ff6c9f89b194c5fffdc4ee4e4eb744829be975f

Signed-off-by: Thilo Graf <dbt@novatux.de>
review reqiured
2017-05-02 21:07:59 +02:00
Thilo Graf
801d1beb10 CComponentsForm: expand debug output with address. 2017-05-02 21:07:56 +02:00
Thilo Graf
30b58f4940 cc_types: add missing image types 2017-05-02 21:07:52 +02:00
Thilo Graf
e7d60f7c08 CComponentsForm: use current bg save mode while paint items
Mode was always false but current mode could be required in
many constellations.
2017-05-02 21:07:45 +02:00
Thilo Graf
5ac5db718d CCDraw: add methode do get current background save mode 2017-05-02 21:07:36 +02:00
Jacek Jendrzej
cc0f0cd951 src/gui/upnpbrowser.cpp fix segfault on connect error 2017-05-02 13:08:06 +02:00
Thilo Graf
5b2a013da5 Merge branch 'master' into pu/fb-setmode 2017-04-29 22:51:54 +02:00
Thilo Graf
1e4967e114 CChannelList: Ensure new initialize of modules on palette changes while runtime. 2017-04-29 22:46:50 +02:00
Thilo Graf
891b2e9ad2 cc_frm_chain.cpp: fix c/p error in comment 2017-04-29 18:11:06 +02:00
Thilo Graf
1a750df510 Merge branch 'master' into pu/fb-setmode 2017-04-29 18:02:20 +02:00
Thilo Graf
b7d50b923f CTimerList: adjust date offset via format 2017-04-29 18:00:03 +02:00
Thilo Graf
c8326af0df CComponentsHeader: adjust context button offset 2017-04-29 18:00:03 +02:00
Thilo Graf
3dda388c8d CComponentsFrmChain: add possibility to assign border offsets 2017-04-29 18:00:03 +02:00
Jacek Jendrzej
6cb58546d8 src/gui/channellist.cpp remove unused logo_off 2017-04-27 14:26:27 +02:00
Thilo Graf
85f4992ca8 CChannelList: don't assign logo if disabled 2017-04-27 11:26:36 +02:00
Thilo Graf
19fc8c6d3b CComponentsForm: add member hideCCItems()
In case of items with cached background it is useful to have
possibility to restore their background. (eg. items are painted
outside of form).
2017-04-27 09:27:45 +02:00
Thilo Graf
71606d0860 CComponentsHeader: rectification for 'optimize auto size mode for logos'
see commit: 76cd93555d

Additional variable was required.
Values were overwritten and had no effect.
2017-04-27 09:27:45 +02:00
M. Liebmann
76574279a5 Merge branch 'master' into pu/fb-setmode 2017-04-26 14:06:44 +02:00
Thilo Graf
c2bc8b4f8f CComponentsHeader: fix logo position with clock
This reverts "fix logo position with clock",
commit b696007ec8.
Was not the right way.

Id's are not in visual order, therefore it's better to calculate direct
with the ''width"" properties of possible following items clock
and context buttons.
2017-04-26 12:24:21 +02:00
M. Liebmann
c91084aa14 Merge branch 'master' into pu/fb-setmode 2017-04-26 04:45:01 +02:00
Jacek Jendrzej
b696007ec8 fix logo position with clock 2017-04-25 16:38:47 +02:00
Thilo Graf
8554722323 Merge branch 'master' into pu/fb-setmode 2017-04-25 11:46:41 +02:00
Thilo Graf
76cd93555d CComponentsHeader: optimize auto size mode for logos
With very large font size settings it is possible
that header is too large for reasonable display of logos, because of
possible bad upscale effects (eg. step effects).
So it seems it's better to use original size as largest possible size.
2017-04-25 11:38:30 +02:00
Thilo Graf
0aae491ccc CComponentsPicture: add methode to get real image size 2017-04-25 11:38:30 +02:00