Stefan Seyfried
3c381cd53b
fb_generic: add stuff needed for compilation
2017-02-07 17:23:42 +01:00
Stefan Seyfried
5c2ee5e137
start modularizing framebuffer acceleration architecture
...
This is just copied framebuffer.{h,cpp} => fb_generic.{h,cpp}
The idea is to implement CFrameBuffer as generic framebuffer class that
does work on almost every hardware without acceleration and / or
hardware dependencies.
CFbAccel will be a derived class (and different on many architectures)
which implements the accelerated functions.
This does not yet compile, verbatim copies to track development history.
2017-02-07 17:23:42 +01: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
e490f84ea8
replace framebuffer.h include with forward declaration
...
instead of including framebuffer.h almost everywhere, replace it with
class CFrameBuffer forward declarations and/or generic system includes.
Add a hack to define fb_pixel_t to config.h (one reason for
framebuffer.h includes was the fb_pixel_t define)
2017-02-07 17:23:42 +01:00
Thilo Graf
622e7a4dd2
CScreenSaver: ensure full cleanup of infoclock after stopped screensaver
...
This provokes re init of info clock.
2017-02-07 17:12:25 +01:00
Thilo Graf
95de68c5a5
CTextBox: compare condition for text render more precisely
2017-02-07 17:12:25 +01:00
Thilo Graf
9f7605127a
Helpbox: fix missing text after page repaint
2017-02-07 17:12:25 +01:00
Thilo Graf
06fa3f2488
CComponentsForm: move slots into base classes
...
Usable for all form classes
2017-02-07 17:12:25 +01:00
Thilo Graf
e4d0abc7dc
signals: reduce multiple includes for sigc++/bind.h
2017-02-07 17:12:25 +01:00
svenhoefer
aed22b3788
- hdd_menu: fix c/p error
2017-02-06 23:21:01 +01:00
svenhoefer
d925655c3b
- flashtool: allow type U (update-package)
2017-02-06 21:53:51 +01:00
TangoCash
fb5ab7f9ec
fix pre and post times, set menuentry for unavailable boxes inactiv
2017-02-06 21:11:20 +01:00
TangoCash
22b0248d70
dont ask which box, if just one is present.
2017-02-06 21:11:06 +01:00
svenhoefer
0411359866
- hdd_menu: fix hd-idle/hdparm logic; fix small memleaks
2017-02-06 21:09:42 +01:00
M. Liebmann
7d5cbea37d
movieplayer: Fix display filetime
2017-02-05 20:04:33 +01:00
M. Liebmann
dccb6ba8f2
configure.ac: Fix freetype check
2017-02-04 10:55:34 +01:00
Stefan Seyfried
2ca807e34a
configure.ac: use pkg-config to check freetype version
...
the PKG_CHECK_MODULES macro allows to check for a version -- use it
instead of homegrown TUXBOX_APPS_LIB_PKGCONFIG
Signed-off-by: M. Liebmann <git@tuxcode.de >
2017-02-02 14:34:34 +01:00
Thilo Graf
1c217b404f
Forms/header/clock: implement slot into OnBeforeRePaint
2017-02-02 11:18:27 +01:00
Thilo Graf
be8588a4a5
CComponentsSignals: add signal OnBeforeRePaint
2017-02-02 11:18:27 +01:00
Thilo Graf
a2f9d4b462
Revert "CMenuWidget: ensure repaint of all header content if it is already painted"
...
This reverts commit 97ed7cdaf7
.
2017-02-02 11:18:27 +01:00
Thilo Graf
296aa5b901
Revert "CChannelList: ensure repaint of new header content"
...
This reverts commit ea700ddf52
.
2017-02-02 11:18:27 +01:00
Jacek Jendrzej
4fcea5bfd5
try to fix loop rezap with lua script
2017-02-01 20:38:04 +01:00
Thilo Graf
b8dabf2bf9
Messages: add timeout parameter for error and info messages
...
I'm not sure if it is a good idea to set a global timeout for
all error messages. This should be decided for respective cases.
Timeout for info messages should not be a problem.
The default timeout is set here as global.
2017-02-01 11:34:00 +01:00
Thilo Graf
721f85deba
CRecordManager: revert warn message for stream overflow
...
It's an error not a warning!
2017-02-01 09:36:28 +01:00
Thilo Graf
3387bcf2c4
CRecordManager: remove static error messages
...
Static message window expects user interaction but in this case user
could be absent. and recordings could be running out of control.
These messages are only warnings and "to slow" warning is optional.
To avoid uncontrolled behavior of recordings, it should be enough to use messages with simple timeout.
2017-02-01 09:10:06 +01:00
M. Liebmann
a9d6133765
configure.ac: bump revision to 3.4.1
2017.1
3.04.01
2017-01-31 17:15:17 +01:00
Thilo Graf
97ed7cdaf7
CMenuWidget: ensure repaint of all header content if it is already painted
...
TODO: This should be controlled inside header base class.
paint() method seems suitable.
I Will try to implement it soon.
2017-01-31 16:36:43 +01:00
Thilo Graf
008be59b08
CVolume: replace repaintVolScale() with paint()
...
paint() contains repaintVolScale()
2017-01-31 16:36:43 +01:00
Thilo Graf
58c65b1a7e
CVolumeBar: add missing paint() methode, avoid multiple iitem instances
2017-01-31 16:36:43 +01:00
Thilo Graf
7de2fbe881
CVolumeBar: use OFFSET_INNER_SMALL instead static value for item offset
2017-01-31 16:36:42 +01:00
Thilo Graf
3f0b81f0a7
CVolumeBar: use CORNER_RADIUS_MID
...
cornerRad() is not really the best solution.
Inner items are fit with full height and should use the same value.
2017-01-31 16:36:42 +01:00
Thilo Graf
4d2dd415c1
CVolumeBar: don't use digit height
...
height is wrong and calculations for digit positions could be confused
2017-01-31 16:36:42 +01:00
Thilo Graf
76008371ff
CMenuWidget: add missing hide() for details line
...
Details_line was not removed in all constellations when menu was closed.
Sample: open main menue and select an entry with connect-line, eg. plugins,
press key to come into submenu, then go back to main menue and close
menu with home key, result: it's possible that line is still on screen.
2017-01-31 16:36:42 +01:00
Thilo Graf
53f956c0f9
CComponentsText: add signal OnBeforePaint into text paint() methode
2017-01-31 16:36:42 +01:00
Thilo Graf
f219da23bf
CComponentsText: add missing parameters to kill() methode
2017-01-31 16:36:42 +01:00
M. Liebmann
e74f24a658
CVolumeBar: Enable background paint for digits
2017-01-31 16:36:42 +01:00
M. Liebmann
86c3b08533
configure.ac: Check freetype version >= 2.5.0
2017-01-31 16:36:42 +01:00
M. Liebmann
a7ef709e55
CInfoViewer: Use flag Font::FULLBG for RenderString()
...
dependent on g_settings.theme.infobar_gradient_*
2017-01-31 16:36:42 +01:00
Thilo Graf
ea700ddf52
CChannelList: ensure repaint of new header content
2017-01-31 16:36:42 +01:00
Thilo Graf
ba9284fba7
CComponentsHeader: add missing paramters to kill methode
2017-01-31 16:36:42 +01:00
Thilo Graf
17a84f0e75
CEventList: fix current channel position and ensure clean up header
...
Current channel name was out of center and a clean up of header
background was required because texts are only painted with transparent background and old texts are futher visible.
Now we have a clean background before repaint logo or new channel names.
2017-01-31 16:36:42 +01:00
Thilo Graf
31146bd9af
CComponentsForm: remove debug spam
2017-01-31 16:36:42 +01:00
Thilo Graf
5d1bcbd33f
CImageInfo: prevent possible overpainting while switching of sub text caption
2017-01-31 16:36:42 +01:00
Thilo Graf
0de9490326
CInfoViewer: enable kill text items after killed title
...
This causes repaint text on next view of infobar.
2017-01-31 16:36:42 +01:00
Thilo Graf
4c71edbd3c
CComponentsText: add explicit kill methode and add ct_force_text_paint
...
After hide or kill text will does not paint without ct_force_text_paint,
so it is required to add this.
2017-01-31 16:36:42 +01:00
Thilo Graf
cbeecab801
CComponentsExtTextForm: init with gradient support and sl_repaint slot
2017-01-31 16:36:41 +01:00
Thilo Graf
5c8aa90e01
CComponentsForm: add some usefull slots/signal to help paint backgrounds
...
Requried to paint form items only on changed contents and on repaint
2017-01-31 16:36:41 +01:00
Thilo Graf
384e98c089
CCDraw: add new attribut force_paint_bg
...
should help for some repaint actions
2017-01-31 16:36:41 +01:00
Thilo Graf
8bd4633cb4
CComponentsText: fix order of paint init
2017-01-31 16:36:41 +01:00
Thilo Graf
b2f1226324
CTestMenu: fix icon container
...
was not removed from screen
2017-01-31 16:36:41 +01:00