Commit Graph

55 Commits

Author SHA1 Message Date
Thilo Graf
fe232ec941 cc_draw: declare some functions as const, minor format changes
Origin commit data
------------------
Branch: ni/coolstream
Commit: ea0508b083
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-10-27 (Sun, 27 Oct 2019)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2019-10-27 22:56:50 +01:00
Thilo Graf
ad3bc22dae cc_draw: use const bool& for more safety
Origin commit data
------------------
Branch: ni/coolstream
Commit: b18775cbc1
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-10-27 (Sun, 27 Oct 2019)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2019-10-27 22:56:49 +01:00
Thilo Graf
4c217aaa3b cc_draw: use 'at' methode in vectors for more savety
Origin commit data
------------------
Branch: ni/coolstream
Commit: d955e2dc6e
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-10-27 (Sun, 27 Oct 2019)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2019-10-27 22:56:49 +01:00
Thilo Graf
e8929e8cbd components: use const bool& parameter in paint methodes
Origin commit data
------------------
Branch: ni/coolstream
Commit: 07d8f07d4d
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-10-27 (Sun, 27 Oct 2019)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2019-10-27 22:56:49 +01:00
Jacek Jendrzej
19d489e75c cc_draw: avoid integer overflow
Origin commit data
------------------
Branch: ni/coolstream
Commit: 02516f9bca
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2019-10-13 (Sun, 13 Oct 2019)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2019-10-13 22:24:13 +02:00
Thilo Graf
fe7bccef53 cc_draw.cpp: remove of an unneeded line break in debug line
Origin commit data
------------------
Branch: ni/coolstream
Commit: 745df5fc64
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-04-11 (Thu, 11 Apr 2019)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2019-04-11 21:07:34 +02:00
Thilo Graf
1a373d8c4c cc_draw.cpp: use random colors for CCDraw_debug
For better distinguish objects on screen while debugging.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 07a91b89e0
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-04-02 (Tue, 02 Apr 2019)



------------------
This commit was generated by Migit
2019-04-02 22:10:16 +02:00
Thilo Graf
407edfe72d cc_draw.cpp/h: move more methodes into cpp file
clean up


Origin commit data
------------------
Branch: ni/coolstream
Commit: c8716f5b39
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-12-10 (Mon, 10 Dec 2018)



------------------
This commit was generated by Migit
2018-12-10 22:37:05 +01:00
Thilo Graf
81358f8173 cc_draw.cpp/h: move position members into cpp file
clean up


Origin commit data
------------------
Branch: ni/coolstream
Commit: 7272f0c3b1
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-12-08 (Sat, 08 Dec 2018)



------------------
This commit was generated by Migit
2018-12-08 23:15:13 +01:00
Thilo Graf
b39e939b9a cc_draw.cpp: remove consequently all possible pixbuf contents
This should enusre a clean content for all fbdata.pixbuf parts.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 82c91c00f0
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-12-08 (Sat, 08 Dec 2018)



------------------
This commit was generated by Migit
2018-12-08 23:15:13 +01:00
Thilo Graf
e66c6bb2f5 cc_draw.cpp: remove variable cc_fbdata_t& fbdata
Try to avoid som possible data races.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 06001dad46
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-12-08 (Sat, 08 Dec 2018)



------------------
This commit was generated by Migit
2018-12-08 23:15:13 +01:00
Thilo Graf
143aa4aeef cc_draw.cpp: call blitBox2FB() only if checkFbArea() was true
This should prevent pass corrupted parameters for blitBox2FB().


Origin commit data
------------------
Branch: ni/coolstream
Commit: a63c6aa5ba
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-12-08 (Sat, 08 Dec 2018)



------------------
This commit was generated by Migit
2018-12-08 23:15:13 +01:00
Thilo Graf
131e2d4bea CCDraw: add debug output to identify errors in relevant item types
Origin commit data
------------------
Branch: ni/coolstream
Commit: c8e7ddc7e2
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-04-05 (Thu, 05 Apr 2018)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2018-04-05 21:57:27 +02:00
Thilo Graf
2d36f08ca0 cc: expand cc-type with name
Required for internal operations where it is useful to have object
names and for better debugging.


Origin commit data
------------------
Branch: ni/coolstream
Commit: fd55de0ff4
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-01-03 (Wed, 03 Jan 2018)



------------------
This commit was generated by Migit
2018-01-03 22:35:01 +01:00
Stefan Seyfried
286445cb07 cc_draw: add simple debug facility
not perfect, since the borders can be overdrawn afterwards
but still pretty useful


Origin commit data
------------------
Branch: ni/coolstream
Commit: 73c7885e72
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-12-26 (Tue, 26 Dec 2017)



------------------
This commit was generated by Migit
2017-12-26 22:58:36 +01:00
Stefan Seyfried
ef71d00d7f 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 ;-)


Origin commit data
------------------
Branch: ni/coolstream
Commit: 0d9139054a
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-10-01 (Sun, 01 Oct 2017)



------------------
This commit was generated by Migit
2017-10-02 13:43:57 +02:00
Thilo Graf
67ad8c6c51 CCDraw: add missing member for real item position
Changes of real positions were not watched.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 9687dda867
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-08-03 (Thu, 03 Aug 2017)



------------------
This commit was generated by Migit
2017-08-08 14:25:12 +02:00
Thilo Graf
1ba0a9b971 CCDraw: precise function for kill handler
This should fix possible artefacts or holes in some rendered boxes.
Was especially striking at HD1 Hardware.
e.g. was observed while right/left switching on channel list at header
and without rounded corners and at certain footers.


Origin commit data
------------------
Branch: ni/coolstream
Commit: ef4467b6da
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-06-16 (Fri, 16 Jun 2017)



------------------
This commit was generated by Migit
2017-06-16 11:49:32 +02:00
Thilo Graf
ddee4406ca CCDraw: rework getScreen(), getScreenData(), add pixbuf checks
Origin commit data
------------------
Branch: ni/coolstream
Commit: 5fda283a61
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-06-15 (Thu, 15 Jun 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2017-06-15 01:01:55 +02:00
Thilo Graf
14b97bd2e0 CCDraw: expand debug output inside clearFbGradientData()
get info for addresses.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 979e6370a7
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-05-27 (Sat, 27 May 2017)



------------------
This commit was generated by Migit
2017-05-27 02:51:36 +02:00
Thilo Graf
30006a4d5a CCDraw: remove some debug lines, and override comparisons
This should reduce some effort in this method.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 62a2a29a12
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-07 (Fri, 07 Apr 2017)



------------------
This commit was generated by Migit
2017-04-08 08:15:54 +02:00
Thilo Graf
6c68701abf CCDraw: fix wrong intit values for corners and position
Origin commit data
------------------
Branch: ni/coolstream
Commit: 6d45fbb4eb
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-07 (Fri, 07 Apr 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2017-04-08 08:15:41 +02:00
Thilo Graf
e7daf551b3 CCDraw: add possibility to use background images as item background
Provides functionality to use a backround image instead to render
usual box. If an image is defined, box render is disabled, but behavior
for hide, kill, cache... is not changed.

TODO:
- maybe needs global caching because images are not yet managed like icons in framebuffer class


Origin commit data
------------------
Branch: ni/coolstream
Commit: ccb82083e2
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-03-11 (Sat, 11 Mar 2017)



------------------
This commit was generated by Migit
2017-03-11 00:45:25 +01:00
Stefan Seyfried
184f520208 set useful thread names for all spawned threads
Origin commit data
------------------
Branch: ni/coolstream
Commit: 5188f721c4
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-12 (Sun, 12 Feb 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2017-02-12 22:55:36 +01:00
Stefan Seyfried
5cc48eb30a cc: reduce impact of cc_draw header from 161 to 4 files
Origin commit data
------------------
Branch: ni/coolstream
Commit: 58c6dbf469
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-12 (Sun, 12 Feb 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2017-02-12 22:50:44 +01:00
Thilo Graf
5011d32cd2 CCDraw: add new attribut force_paint_bg
should help for some repaint actions


Origin commit data
------------------
Branch: ni/coolstream
Commit: 384e98c089
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-24 (Tue, 24 Jan 2017)



------------------
This commit was generated by Migit
2017-01-31 16:36:41 +01:00
Thilo Graf
4b52331066 Experimental try to rework isPainted()
Origin commit data
------------------
Branch: ni/coolstream
Commit: 26eb4d079b
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-19 (Thu, 19 Jan 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2017-01-31 16:36:41 +01:00
Thilo Graf
bc4a990a0c CCDraw: add signal OnAfterPaintBg
Origin commit data
------------------
Branch: ni/coolstream
Commit: 0eb8c7b173
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-18 (Wed, 18 Jan 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2017-01-31 16:36:41 +01:00
Thilo Graf
3735283f23 CCDraw: simplified statement for blink init
Origin commit data
------------------
Branch: ni/coolstream
Commit: 44eebba080
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-23 (Mon, 23 Jan 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2017-01-31 16:36:40 +01:00
Thilo Graf
92d8cdc5d0 CCDraw: add overloaded version of paint Blink()
It's useful to have synchronized timer for more than one item.


Origin commit data
------------------
Branch: ni/coolstream
Commit: f7ad79c371
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-17 (Sat, 17 Dec 2016)



------------------
This commit was generated by Migit
2016-12-17 22:39:15 +01:00
Thilo Graf
9558b979ab CCDraw: reduce debug spam
Origin commit data
------------------
Branch: ni/coolstream
Commit: 689866c872
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-15 (Thu, 15 Dec 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-12-15 22:02:21 +01:00
Thilo Graf
38816e99af CCDraw: try to avoid rendering with bad dimensions
Origin commit data
------------------
Branch: ni/coolstream
Commit: bd5e82fdc4
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-08 (Thu, 08 Dec 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-12-08 09:33:40 +01:00
Thilo Graf
b337697b1e CCDraw: add function for blink effect for cc items
NOTE: experimental, for examples see CTestMenu class


Origin commit data
------------------
Branch: ni/coolstream
Commit: 717dec02c5
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-20 (Sun, 20 Nov 2016)



------------------
This commit was generated by Migit
2016-11-20 14:09:19 +01:00
Thilo Graf
06a58a6704 CCDraw: add signals into hide() methode
alows to use slots


Origin commit data
------------------
Branch: ni/coolstream
Commit: 78259c6ec3
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-17 (Mon, 17 Oct 2016)



------------------
This commit was generated by Migit
2016-10-24 10:31:27 +02:00
Thilo Graf
f12fa62c87 CCDraw: add private variable col_shadow_clean
Should help to control shadow clean up in some constallations


Origin commit data
------------------
Branch: ni/coolstream
Commit: 7266628207
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-05 (Wed, 05 Oct 2016)



------------------
This commit was generated by Migit
2016-10-24 10:31:26 +02:00
Thilo Graf
3b2359878f CComponentsItem: fix changeing color on select switching of frames
expand select mode methodes with paremters for frame properties
This should make variables col_frame_sel and fr_thickness_sel superfluous.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 3477e28cd7
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-08-20 (Sat, 20 Aug 2016)



------------------
This commit was generated by Migit
2016-10-24 10:31:25 +02:00
vanhofen
b59278067e rename SHADOW_OFFSET -> OFFSET_SHADOW
Origin commit data
------------------
Branch: ni/coolstream
Commit: 5d450c60d3
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)

Origin message was:
------------------
- rename SHADOW_OFFSET -> OFFSET_SHADOW

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-10-10 14:19:55 +02:00
vanhofen
5987637998 colors: add COL_FRAME wrapper
Origin commit data
------------------
Branch: ni/coolstream
Commit: 75fe6e407d
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)

Origin message was:
------------------
- colors: add COL_FRAME wrapper

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-10-10 14:19:54 +02:00
vanhofen
9ed55c28e3 ccomponents: use COL_SHADOW for shadows
Origin commit data
------------------
Branch: ni/coolstream
Commit: 1f60557e0b
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-08-16 (Tue, 16 Aug 2016)

Origin message was:
------------------
- ccomponents: use COL_SHADOW for shadows

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-08-16 08:37:54 +02:00
Thilo Graf
6e76f9413f CCDraw: enable/disable frame if frame on changed frame width
Origin commit data
------------------
Branch: ni/coolstream
Commit: a2f96948fa
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-04-06 (Wed, 06 Apr 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-06-26 15:32:34 +02:00
Jacek Jendrzej
7764d30ea3 avoid division by zero and fix segfault
Origin commit data
------------------
Branch: ni/coolstream
Commit: 9f20b27890
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-05-23 (Mon, 23 May 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-05-23 14:17:25 +02:00
Thilo Graf
8c9bd16b1c CCDraw: don't use clear screen for cleanup before gradient paint
Until now clean up screen was required to avoid ghost paints with
hardware acceleration. But this causes partial flicker effects,
especially when new instances are created.
So it makes more sense to hold instances and use captured
screen instead blank screen.
Optional paint cache or clean up must be enabled.
You can enable/disable clean up with:
enableGradientBgCleanUp()/disableGradientBgCleanUp()
Paint cache:
enablePaintCache()/disablePaintCache()


Origin commit data
------------------
Branch: ni/coolstream
Commit: 8250d20fa7
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-03-22 (Tue, 22 Mar 2016)



------------------
This commit was generated by Migit
2016-03-22 13:15:18 +01:00
Michael Liebmann
de78d67983 Fix freeze neutrino at mute icon and gradient header
Origin commit data
------------------
Branch: ni/coolstream
Commit: edb5407163
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-01-30 (Sat, 30 Jan 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-01-31 19:31:40 +01:00
Michael Liebmann
8372065c10 CCDraw: Set cc_gradient_bg_cleanup to true
Except menu headers: Disable cleanup when save screen is disabled


Origin commit data
------------------
Branch: ni/coolstream
Commit: 6c72fe94bc
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-01-29 (Fri, 29 Jan 2016)

Origin message was:
------------------
CCDraw: Set cc_gradient_bg_cleanup to true

 Except menu headers: Disable cleanup when save screen is disabled


------------------
This commit was generated by Migit
2016-01-29 15:31:12 +01:00
Thilo Graf
0598782eda CCDraw: try to fix is_painted property after used kill()
Origin commit data
------------------
Branch: ni/coolstream
Commit: be1f555e37
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-01-28 (Thu, 28 Jan 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-01-29 15:31:12 +01:00
Thilo Graf
3af0b12583 CCDraw: add member to remove shadow only
Origin commit data
------------------
Branch: ni/coolstream
Commit: f521e32981
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-01-24 (Sun, 24 Jan 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-01-26 20:00:22 +01:00
Thilo Graf
1b538b6cf7 CCDraw: use ccdraw namespace
Origin commit data
------------------
Branch: ni/coolstream
Commit: 063ccbb622
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-01-26 (Tue, 26 Jan 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-01-26 09:51:48 +01:00
Michael Liebmann
be2781899a CCDraw: Add function for cleanup gradient background
Origin commit data
------------------
Branch: ni/coolstream
Commit: bf0f63467d
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-01-26 (Tue, 26 Jan 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-01-26 09:51:48 +01:00
Michael Liebmann
616747e151 CFrameBuffer::paintBoxRel2Buf(): Align buffer at 4 byte boundary...
...for hw blit on apollo/kronos hardware


Origin commit data
------------------
Branch: ni/coolstream
Commit: 95f11ce7af
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-01-26 (Tue, 26 Jan 2016)



------------------
This commit was generated by Migit
2016-01-26 09:51:48 +01:00
Thilo Graf
b10a1096c3 CCDraw: remove clean up after restored screen
It seems not always useful to clean up everything after hide().
For more control in some cases an separate clean up with
clearSavedScreen() should be more flexible.


Origin commit data
------------------
Branch: ni/coolstream
Commit: b701c345fb
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-01-21 (Thu, 21 Jan 2016)



------------------
This commit was generated by Migit
2016-01-21 10:58:21 +01:00