Commit Graph

10888 Commits

Author SHA1 Message Date
Thilo Graf
f53b8fb110 bedit: add methods ResetModules() and init()
Help to handle instances of modules to get current screen and font settings
after changed settings by user.

Dimensions were not applied after changed settings. eg: All Items had wrong
position and dimensions after changed font size.
2017-10-13 13:40:49 +02:00
Thilo Graf
c651f6aa40 bedit: remove multiple code from paintHead() method 2017-10-13 13:40:49 +02:00
Thilo Graf
4dc047557f bedit: remove multiple code from paintFoot() method 2017-10-13 13:40:49 +02:00
Thilo Graf
b7124973de bedit: ensure apply of possible changed timeout settings on runtime 2017-10-13 13:40:49 +02:00
Thilo Graf
61a29f061a bedit: move paintBody() into base class
Avoids multiple code parts
2017-10-13 13:40:49 +02:00
Thilo Graf
53293ba49d bedit: declare internal vars as protected
Access to internal member vars should be done via methods and funtions.
2017-10-13 13:40:49 +02:00
Thilo Graf
d64f06b196 bedit: use inherited version of hide()
This overwrites inherited hide() from CMenuTarget

rework hide
2017-10-13 13:40:49 +02:00
Thilo Graf
3045baea13 bedit: use inherited version of paintDetails() and dline/ibox objects
This moves full identicaly code into base class.

TODO: There are more similar parts.
2017-10-13 13:40:37 +02:00
Thilo Graf
97a124ab44 bedit: remove multiple forward declaration of CFrameBuffer
I don't see any sense why this should be done here.
2017-10-13 13:38:20 +02:00
Thilo Graf
c7a2dd70fc CComponentsFooter: rework uniformed arrangement
Some parts were incomplete treated with defined parameter
'label_width' and/or 'chain_width'.
2017-10-13 12:35:59 +02:00
Thilo Graf
88e488d3a0 Revert "CTimerList: adjust label width in footer dependent by count of buttons"
This reverts commit 3987c3a306.
2017-10-13 12:35:59 +02:00
Thilo Graf
35f048a735 CMenuWidget: don't use parameter for label width calculation
Footer object does this itself.
2017-10-13 12:35:59 +02:00
Thilo Graf
c1d4da731b CTimerList: localize info and send timer buttons 2017-10-13 12:35:59 +02:00
svenhoefer
89f9ae85f0 - libdvbsub: add missing free() call
Signed-off-by: J. Krieg <bellum07@googlemail.com>
Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-10-13 12:35:59 +02:00
svenhoefer
fa0400f8b2 - libdvbsub: use framebuffer functions getBackBufferPointer() and blit2FB()
Signed-off-by: J. Krieg <bellum07@googlemail.com>
Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-10-13 12:35:59 +02:00
Striper
3edc365eab - dvbsubtitle: fix copy/paste error and only show debug if there is something to clear
Signed-off-by: J. Krieg <bellum07@googlemail.com>
Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-10-13 12:35:59 +02:00
Striper
18699eaf41 - cleanup dvbsubtitle code
Signed-off-by: J. Krieg <bellum07@googlemail.com>
Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-10-13 12:35:59 +02:00
svenhoefer
5ba719402a - libdvbsub: allow FullHD resolution dimensions
Signed-off-by: J. Krieg <bellum07@googlemail.com>
Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-10-13 12:35:59 +02:00
svenhoefer
8bdcfb263d - libdvbsub: port usefull code from Neutrino-MP to make dvbsub nice again
Signed-off-by: J. Krieg <bellum07@googlemail.com>
Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-10-13 12:35:59 +02:00
Jacek Jendrzej
47b247472c src/gui/upnpbrowser.cpp clear framebuffer 2017-10-09 17:23:11 +02:00
Jacek Jendrzej
16968f9bde Merge branch 'master' into pu/mp 2017-10-09 16:40: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
Jacek Jendrzej
2661fa4287 Merge branch 'master' into pu/mp 2017-10-08 18:03:01 +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
Thilo Graf
3d9b7c1360 CTimerList: fix behavior of hide() for remotebox sub menus
After hide() the the background was not fully restored or
was partially damaged  the corners beside the header.
2017-10-08 17:48:32 +02:00
Thilo Graf
6b28013da1 CTimerList: increase width of remote menu
eg: With oversized font sizes the buttons inside footer are  squeezed.
2017-10-08 17:48:32 +02:00
Thilo Graf
4ad5ce65e2 CMenuWidget: small clean ups 2017-10-08 17:48:32 +02:00
Jacek Jendrzej
3010cd24d7 Merge branch 'master' into pu/mp 2017-10-08 16:50:46 +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
Jacek Jendrzej
74f02a16f5 src/gui/test_menu.cpp fix memleak 2017-10-08 16:49:23 +02:00
Jacek Jendrzej
5ba69b43ec fix compil after merge 2017-10-02 14:23:17 +02:00
Jacek Jendrzej
7ad4a0e6cc Merge branch 'master' into pu/mp 2017-10-02 13:56:25 +02:00
Stefan Seyfried
2f39081708 helpers/readFile: limit memory allocations 2017-10-02 13:43:57 +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
Jacek Jendrzej
08dc0d7561 Merge branch 'master' into pu/mp 2017-09-30 13:22:29 +02:00
svenhoefer
17ea8e7d63 - deutsch.locale: adjust EPGPlus.remind 2017-09-30 13:18:12 +02:00
Stefan Seyfried
ab3434e278 CMenuWidget: fix "left" key for menuchoosers where
the "decrement menu function" got lost by the last "simplify code and
add missing break" commit. The implicit fallthrough actually was used to
execute the "left" function.
Reorganize the code so that it works even without the implicit
fallthrough.
2017-09-30 13:14:57 +02: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
452f155f04 Merge branch 'master' into pu/mp 2017-09-28 14:14:20 +02:00
svenhoefer
386c2b4d09 - bouqueteditor: clear details in infobox if no channels available 2017-09-28 14:12:32 +02:00
Jacek Jendrzej
0f26434550 fix clang compil, use swap() 2017-09-28 13:43:51 +02:00
Jacek Jendrzej
7ae7765460 Merge branch 'master' into pu/mp 2017-09-27 14:30:28 +02:00
svenhoefer
58e05cfd99 - menue: only add hint_height to full_height, if we really have a hint 2017-09-27 14:29:51 +02:00
svenhoefer
e94e0780b0 - bouqueteditor_channels: allow to navigate with left/right through the bouquets
add corresponding context-icons to header
2017-09-27 14:20:11 +02:00
Jacek Jendrzej
1fc8437a34 Merge branch 'master' into pu/mp 2017-09-27 11:56:03 +02:00
svenhoefer
c00013ea52 - bouqueteditor: some more timeout-fixes 2017-09-27 11:55:22 +02:00