Commit Graph

35 Commits

Author SHA1 Message Date
Thilo Graf
ac72eebd97 CCDraw: remove some debug lines, and override comparisons
This should reduce some effort in this method.


Origin commit data
------------------
Commit: 62a2a29a12
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-07 (Fri, 07 Apr 2017)
2017-04-08 08:15:54 +02:00
Thilo Graf
d52e84d31c CCDraw: fix wrong intit values for corners and position
Origin commit data
------------------
Commit: 6d45fbb4eb
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-07 (Fri, 07 Apr 2017)
2017-04-08 08:15:41 +02:00
Thilo Graf
002a3ab7d2 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
------------------
Commit: ccb82083e2
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-03-11 (Sat, 11 Mar 2017)
2017-03-11 00:45:25 +01:00
Stefan Seyfried
8107c333eb set useful thread names for all spawned threads
Origin commit data
------------------
Commit: 5188f721c4
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-12 (Sun, 12 Feb 2017)
2017-02-12 22:55:36 +01:00
Stefan Seyfried
30fd1a003c cc: reduce impact of cc_draw header from 161 to 4 files
Origin commit data
------------------
Commit: 58c6dbf469
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-12 (Sun, 12 Feb 2017)
2017-02-12 22:50:44 +01:00
Thilo Graf
ee901f19d2 CCDraw: add new attribut force_paint_bg
should help for some repaint actions


Origin commit data
------------------
Commit: 384e98c089
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-24 (Tue, 24 Jan 2017)
2017-01-31 16:36:41 +01:00
Thilo Graf
2748077074 Experimental try to rework isPainted()
Origin commit data
------------------
Commit: 26eb4d079b
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-19 (Thu, 19 Jan 2017)
2017-01-31 16:36:41 +01:00
Thilo Graf
dea324de47 CCDraw: add signal OnAfterPaintBg
Origin commit data
------------------
Commit: 0eb8c7b173
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-18 (Wed, 18 Jan 2017)
2017-01-31 16:36:41 +01:00
Thilo Graf
7f7babeb52 CCDraw: simplified statement for blink init
Origin commit data
------------------
Commit: 44eebba080
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-23 (Mon, 23 Jan 2017)
2017-01-31 16:36:40 +01:00
Thilo Graf
c98374ff73 CCDraw: add overloaded version of paint Blink()
It's useful to have synchronized timer for more than one item.


Origin commit data
------------------
Commit: f7ad79c371
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-17 (Sat, 17 Dec 2016)
2016-12-17 22:39:15 +01:00
Thilo Graf
c0e881773a CCDraw: reduce debug spam
Origin commit data
------------------
Commit: 689866c872
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-15 (Thu, 15 Dec 2016)
2016-12-15 22:02:21 +01:00
Thilo Graf
6a339c19e2 CCDraw: try to avoid rendering with bad dimensions
Origin commit data
------------------
Commit: bd5e82fdc4
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-08 (Thu, 08 Dec 2016)
2016-12-08 09:33:40 +01:00
Thilo Graf
c35d8b0c26 CCDraw: add function for blink effect for cc items
NOTE: experimental, for examples see CTestMenu class


Origin commit data
------------------
Commit: 717dec02c5
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-20 (Sun, 20 Nov 2016)
2016-11-20 14:09:19 +01:00
Thilo Graf
254d9366c3 CCDraw: add signals into hide() methode
alows to use slots


Origin commit data
------------------
Commit: 78259c6ec3
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-17 (Mon, 17 Oct 2016)
2016-10-24 10:31:27 +02:00
Thilo Graf
48e9dc11f3 CCDraw: add private variable col_shadow_clean
Should help to control shadow clean up in some constallations


Origin commit data
------------------
Commit: 7266628207
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-05 (Wed, 05 Oct 2016)
2016-10-24 10:31:26 +02:00
Thilo Graf
8b1bc5fb65 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
------------------
Commit: 3477e28cd7
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-08-20 (Sat, 20 Aug 2016)
2016-10-24 10:31:25 +02:00
vanhofen
f21851aec0 rename SHADOW_OFFSET -> OFFSET_SHADOW
Origin commit data
------------------
Commit: 5d450c60d3
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)

Origin message was:
------------------
- rename SHADOW_OFFSET -> OFFSET_SHADOW
2016-10-10 14:19:55 +02:00
vanhofen
897dc6ae8c colors: add COL_FRAME wrapper
Origin commit data
------------------
Commit: 75fe6e407d
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)

Origin message was:
------------------
- colors: add COL_FRAME wrapper
2016-10-10 14:19:54 +02:00
vanhofen
9c8dabd7ba ccomponents: use COL_SHADOW for shadows
Origin commit data
------------------
Commit: 1f60557e0b
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-08-16 (Tue, 16 Aug 2016)

Origin message was:
------------------
- ccomponents: use COL_SHADOW for shadows
2016-08-16 08:37:54 +02:00
Thilo Graf
cc71c0c923 CCDraw: enable/disable frame if frame on changed frame width
Origin commit data
------------------
Commit: a2f96948fa
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-04-06 (Wed, 06 Apr 2016)
2016-06-26 15:32:34 +02:00
Jacek Jendrzej
c1aa2509a3 avoid division by zero and fix segfault
Origin commit data
------------------
Commit: 9f20b27890
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-05-23 (Mon, 23 May 2016)
2016-05-23 14:17:25 +02:00
Thilo Graf
33636cae0e 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
------------------
Commit: 8250d20fa7
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-03-22 (Tue, 22 Mar 2016)
2016-03-22 13:15:18 +01:00
Michael Liebmann
320f29e3c4 Fix freeze neutrino at mute icon and gradient header
Origin commit data
------------------
Commit: edb5407163
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-01-30 (Sat, 30 Jan 2016)
2016-01-31 19:31:40 +01:00
Michael Liebmann
ec4980f2a0 CCDraw: Set cc_gradient_bg_cleanup to true
Except menu headers: Disable cleanup when save screen is disabled


Origin commit data
------------------
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
2016-01-29 15:31:12 +01:00
Thilo Graf
9e138f678e CCDraw: try to fix is_painted property after used kill()
Origin commit data
------------------
Commit: be1f555e37
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-01-28 (Thu, 28 Jan 2016)
2016-01-29 15:31:12 +01:00
Thilo Graf
11d20c5d6c CCDraw: add member to remove shadow only
Origin commit data
------------------
Commit: f521e32981
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-01-24 (Sun, 24 Jan 2016)
2016-01-26 20:00:22 +01:00
Thilo Graf
c1d88da12d CCDraw: use ccdraw namespace
Origin commit data
------------------
Commit: 063ccbb622
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-01-26 (Tue, 26 Jan 2016)
2016-01-26 09:51:48 +01:00
Michael Liebmann
32e2150f75 CCDraw: Add function for cleanup gradient background
Origin commit data
------------------
Commit: bf0f63467d
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-01-26 (Tue, 26 Jan 2016)
2016-01-26 09:51:48 +01:00
Michael Liebmann
b4a84c445e CFrameBuffer::paintBoxRel2Buf(): Align buffer at 4 byte boundary...
...for hw blit on apollo/kronos hardware


Origin commit data
------------------
Commit: 95f11ce7af
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-01-26 (Tue, 26 Jan 2016)
2016-01-26 09:51:48 +01:00
Thilo Graf
f76ff5d72a 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
------------------
Commit: b701c345fb
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-01-21 (Thu, 21 Jan 2016)
2016-01-21 10:58:21 +01:00
Thilo Graf
f20e96012d CCDraw: remove hide() from destructor.
hide() should be called explicit if required.
This should fix unintentionally call of hide() if objects used on stack.


Origin commit data
------------------
Commit: 2ea156e933
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-01-04 (Mon, 04 Jan 2016)
2016-01-05 15:06:18 +01:00
Thilo Graf
bccc45e33c CCDraw: add parameter force_paint to member enableShadow()
TODO executed

Default behavior is not changed but parameter allows repaint shadow
in some constellations if required.


Origin commit data
------------------
Commit: ad6940fd85
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-12-29 (Tue, 29 Dec 2015)
2015-12-30 13:09:36 +01:00
Thilo Graf
258871f006 CCDraw: add signals into paintFbItems()
Origin commit data
------------------
Commit: 6952d85ae9
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-12-27 (Sun, 27 Dec 2015)
2015-12-27 14:42:32 +01:00
Thilo Graf
7796689398 CCDraw: try to separate parameter paint_bg from shadow paint
Origin commit data
------------------
Commit: 6339ce481d
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-11-23 (Mon, 23 Nov 2015)
2015-12-27 14:42:31 +01:00
Thilo Graf
72a289a90c components: rework classes
- outsourced some classes cc_item.cpp/h, cc_draw.cpp/h
- added extra methodes for simple use of some basic components extra.cpp/h
- rework clock handling: use timer class, reworked members for
 enable/disable clock with external timer events,
 tryed to fix some display issues related with infoclock and
 time osd clock in moviebrowser, channellist, menuus
- reworked hide/kill handling, removed parameter for hide(), try to use
 cached backgrounds for other constallations, paint cache, image cache (all beta)
- reworked shadow/frame handling, add shadow modes for left/right
 arrangement, TODO: repaint for existant instances required
- reworked color gradient assignment (beta)

... Note: I had a data crash in my local git tree
and i tryed to restore my historie, but most was lost. Therefore here
the commit is large


Origin commit data
------------------
Commit: 0146511f38
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-11-18 (Wed, 18 Nov 2015)

Origin message was:
------------------
components: rework classes

- outsourced some classes cc_item.cpp/h, cc_draw.cpp/h
- added extra methodes for simple use of some basic components extra.cpp/h
- rework clock handling: use timer class, reworked members for
 enable/disable clock with external timer events,
 tryed to fix some display issues related with infoclock and
 time osd clock in moviebrowser, channellist, menuus
- reworked hide/kill handling, removed parameter for hide(), try to use
 cached backgrounds for other constallations, paint cache, image cache (all beta)
- reworked shadow/frame handling, add shadow modes for left/right
 arrangement, TODO: repaint for existant instances required
- reworked color gradient assignment (beta)

... Note: I had a data crash in my local git tree
and i tryed to restore my historie, but most was lost. Therefore here
the commit is large
2015-12-27 14:42:27 +01:00