Commit Graph

43 Commits

Author SHA1 Message Date
Thilo Graf
9d489845d9 cc_draw: add methode to set bg image transparency mode
Origin commit data
------------------
Commit: 94c2e57d29
Author: Thilo Graf <dbt@novatux.de>
Date: 2021-11-14 (Sun, 14 Nov 2021)
2021-11-14 22:12:27 +01:00
Thilo Graf
085876f04d cc_draw: add member for transparency mode
Origin commit data
------------------
Commit: 83c5a4ff40
Author: Thilo Graf <dbt@novatux.de>
Date: 2021-11-05 (Fri, 05 Nov 2021)
2021-11-05 20:09:04 +01:00
Thilo Graf
d43dd75176 cc: rework color handling for select and focus status
Origin commit data
------------------
Commit: 0477ff06c0
Author: Thilo Graf <dbt@novatux.de>
Date: 2020-12-07 (Mon, 07 Dec 2020)
2020-12-07 23:28:52 +01:00
Thilo Graf
de56424c45 cc_timer/cc_frm_clock: allow use of milisecond intervals
Should be easier and more flexible to handle without nano parameter,
some reworkes in other classes and thread handlings are required.


Origin commit data
------------------
Commit: 5afe92e526
Author: Thilo Graf <dbt@novatux.de>
Date: 2020-01-05 (Sun, 05 Jan 2020)
2020-01-06 22:25:46 +01:00
Thilo Graf
a8fcbba3af cc_frm/cc_item_text: use mutexes in some members
Watched some problems with thredead parts in some
window objects (e.g. messageboxes, clock ...) thx satbaby for some hints
and testings


Origin commit data
------------------
Commit: 85956b90f7
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-10-27 (Sun, 27 Oct 2019)
2019-10-27 22:56:50 +01:00
Thilo Graf
6af5118109 cc_draw: declare some functions as const, minor format changes
Origin commit data
------------------
Commit: ea0508b083
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-10-27 (Sun, 27 Oct 2019)
2019-10-27 22:56:50 +01:00
Thilo Graf
7287a2f947 cc_draw: use const bool& for more safety
Origin commit data
------------------
Commit: b18775cbc1
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-10-27 (Sun, 27 Oct 2019)
2019-10-27 22:56:49 +01:00
Thilo Graf
65cc9c6f23 cc_draw: remove virtual from position setters
Origin commit data
------------------
Commit: 44b035955f
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-10-27 (Sun, 27 Oct 2019)
2019-10-27 22:56:49 +01:00
Thilo Graf
39dfa161f2 cc_draw: remove 'virtual' from hasChanges()
Makes problems with thread handling


Origin commit data
------------------
Commit: a4ec79e615
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-10-27 (Sun, 27 Oct 2019)
2019-10-27 22:56:49 +01:00
Thilo Graf
ecdde02eab cc_draw: use const for getFrameThickness()
Origin commit data
------------------
Commit: a5f87f4e00
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-10-27 (Sun, 27 Oct 2019)
2019-10-27 22:56:49 +01:00
Thilo Graf
2afd15ea32 components: use const bool& parameter in paint methodes
Origin commit data
------------------
Commit: 07d8f07d4d
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-10-27 (Sun, 27 Oct 2019)
2019-10-27 22:56:49 +01:00
Jacek Jendrzej
de759a90d1 cc_draw.h: try to fix broken hide() in derived classes
Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Commit: be35d6bc2d
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2019-03-12 (Tue, 12 Mar 2019)
2019-03-12 22:09:39 +01:00
Thilo Graf
412246a166 cc_draw.h: add member to set force full repaint of item
This overrides internal firstpaint and is_painted modes to
provoke full repaint of item.


Origin commit data
------------------
Commit: 5eea2e9be4
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-02-11 (Mon, 11 Feb 2019)
2019-02-11 21:49:09 +01:00
Thilo Graf
7a79e99d53 cc_draw.cpp/h: move more methodes into cpp file
clean up


Origin commit data
------------------
Commit: c8716f5b39
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-12-10 (Mon, 10 Dec 2018)
2018-12-10 22:37:05 +01:00
Thilo Graf
2cde823672 cc_draw.cpp/h: move position members into cpp file
clean up


Origin commit data
------------------
Commit: 7272f0c3b1
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-12-08 (Sat, 08 Dec 2018)
2018-12-08 23:15:13 +01:00
Thilo Graf
02dce448bd clean up: remove unnecessary virtual declarations from cc classes
Origin commit data
------------------
Commit: 6660f9835f
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-12-08 (Sat, 08 Dec 2018)
2018-12-08 23:15:13 +01:00
Thilo Graf
535b90de4d CCDraw: add debug output to identify errors in relevant item types
Origin commit data
------------------
Commit: c8e7ddc7e2
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-04-05 (Thu, 05 Apr 2018)
2018-04-05 21:57:27 +02:00
Thilo Graf
9cda14f792 CCTypes: outsource type variables and methods into own inheritable class
Origin commit data
------------------
Commit: d188811d7c
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-04-05 (Thu, 05 Apr 2018)
2018-04-05 21:57:13 +02:00
Thilo Graf
ab4bcc584a comments: fix copy paste errors
Origin commit data
------------------
Commit: 6e310a8157
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-08-28 (Mon, 28 Aug 2017)
2017-08-28 12:16:45 +02:00
Thilo Graf
e5c6da15a7 CComponentsItem: move real position methods from draw class into item class
These methods ar only relavant for items


Origin commit data
------------------
Commit: dcdff2c03b
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-08-03 (Thu, 03 Aug 2017)
2017-08-08 14:25:12 +02:00
Thilo Graf
ea78976fc5 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
------------------
Commit: ef4467b6da
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-06-16 (Fri, 16 Jun 2017)
2017-06-16 11:49:32 +02:00
Thilo Graf
c0528433c2 CCDraw: add methode do get current background save mode
Origin commit data
------------------
Commit: 5ac5db718d
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-05-01 (Mon, 01 May 2017)
2017-05-02 21:07:36 +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
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
Stefan Seyfried
8b4c30e093 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)


Origin commit data
------------------
Commit: e490f84ea8
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-05 (Sun, 05 Feb 2017)
2017-02-07 17:23:42 +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
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
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
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
Thilo Graf
205838789f CCDraw: try to fix possible data race
Origin commit data
------------------
Commit: fc2eb68edc
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-04-16 (Sat, 16 Apr 2016)
2016-10-24 10:31:24 +02:00
vanhofen
892603fe68 rename customcolor.h -> color_custom.h; reduce unneeded inludes
Origin commit data
------------------
Commit: 104d21e784
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)

Origin message was:
------------------
- rename customcolor.h -> color_custom.h; reduce unneeded inludes
2016-10-10 14:19:55 +02:00
Thilo Graf
85a8f0e896 CCDraw: add member to get current shadow width
Origin commit data
------------------
Commit: 1caa54d6ab
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-09-06 (Tue, 06 Sep 2016)
2016-09-13 09:09:27 +02:00
Thilo Graf
c203f9ab6b CCDraw: add comment
Add comment where to find corner radius defines


Origin commit data
------------------
Commit: c317e4dbb4
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-07-31 (Sun, 31 Jul 2016)
2016-08-12 17:39:18 +02:00
Thilo Graf
19636a8d59 CCDraw: remove unused var
Origin commit data
------------------
Commit: 2baa32eb12
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-02-17 (Wed, 17 Feb 2016)
2016-02-17 11:35:44 +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
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
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