Thilo Graf
7f2c9ca41b
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
2019-10-27 16:24:47 +01:00
Thilo Graf
ed701f450a
cc_draw: declare some functions as const, minor format changes
2019-10-27 16:24:47 +01:00
Thilo Graf
7c7578741b
cc_draw: use const bool& for more safety
2019-10-27 16:24:47 +01:00
Thilo Graf
689d35db25
cc_draw: remove virtual from position setters
2019-10-27 16:24:47 +01:00
Thilo Graf
00984b9d1e
cc_draw: remove 'virtual' from hasChanges()
...
Makes problems with thread handling
2019-10-27 16:24:47 +01:00
Thilo Graf
f4c0a34b48
cc_draw: use const for getFrameThickness()
2019-10-27 16:24:47 +01:00
Thilo Graf
d86dcd36a7
components: use const bool& parameter in paint methodes
2019-10-27 16:24:47 +01:00
Jacek Jendrzej
43e93be441
cc_draw.h: try to fix broken hide() in derived classes
...
Signed-off-by: Thilo Graf <dbt@novatux.de >
2019-03-12 10:50:00 +01:00
Thilo Graf
a7f960ffa4
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.
2019-02-11 11:14:12 +01:00
Thilo Graf
7eeb270cba
cc_draw.cpp/h: move more methodes into cpp file
...
clean up
2018-12-10 22:01:56 +01:00
Thilo Graf
c7f8392ef6
cc_draw.cpp/h: move position members into cpp file
...
clean up
2018-12-07 21:47:33 +01:00
Thilo Graf
1d5de6babc
clean up: remove unnecessary virtual declarations from cc classes
2018-12-07 21:47:32 +01:00
Thilo Graf
bcdc3e990e
CCDraw: add debug output to identify errors in relevant item types
2018-04-05 21:21:53 +02:00
Thilo Graf
a25fd62be8
CCTypes: outsource type variables and methods into own inheritable class
2018-04-05 20:55:46 +02:00
Thilo Graf
6e310a8157
comments: fix copy paste errors
2017-08-28 12:16:45 +02:00
Thilo Graf
dcdff2c03b
CComponentsItem: move real position methods from draw class into item class
...
These methods ar only relavant for items
2017-08-08 14:25:12 +02:00
Thilo Graf
ef4467b6da
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.
2017-06-16 11:49:32 +02:00
Thilo Graf
5ac5db718d
CCDraw: add methode do get current background save mode
2017-05-02 21:07:36 +02:00
Thilo Graf
ccb82083e2
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
2017-03-11 00:45:25 +01:00
Stefan Seyfried
58c6dbf469
cc: reduce impact of cc_draw header from 161 to 4 files
2017-02-12 22:50:44 +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
384e98c089
CCDraw: add new attribut force_paint_bg
...
should help for some repaint actions
2017-01-31 16:36:41 +01:00
Thilo Graf
26eb4d079b
Experimental try to rework isPainted()
2017-01-31 16:36:41 +01:00
Thilo Graf
0eb8c7b173
CCDraw: add signal OnAfterPaintBg
2017-01-31 16:36:41 +01:00
Thilo Graf
f7ad79c371
CCDraw: add overloaded version of paint Blink()
...
It's useful to have synchronized timer for more than one item.
2016-12-17 22:39:15 +01:00
Thilo Graf
717dec02c5
CCDraw: add function for blink effect for cc items
...
NOTE: experimental, for examples see CTestMenu class
2016-11-20 14:09:19 +01:00
Thilo Graf
7266628207
CCDraw: add private variable col_shadow_clean
...
Should help to control shadow clean up in some constallations
2016-10-24 10:31:26 +02:00
Thilo Graf
3477e28cd7
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.
2016-10-24 10:31:25 +02:00
Thilo Graf
fc2eb68edc
CCDraw: try to fix possible data race
2016-10-24 10:31:24 +02:00
svenhoefer
104d21e784
- rename customcolor.h -> color_custom.h; reduce unneeded inludes
2016-10-10 14:19:55 +02:00
Thilo Graf
1caa54d6ab
CCDraw: add member to get current shadow width
2016-09-13 09:09:27 +02:00
Thilo Graf
c317e4dbb4
CCDraw: add comment
...
Add comment where to find corner radius defines
2016-08-12 17:39:18 +02:00
Thilo Graf
2baa32eb12
CCDraw: remove unused var
2016-02-17 11:35:44 +01:00
Thilo Graf
f521e32981
CCDraw: add member to remove shadow only
2016-01-26 20:00:22 +01:00
Thilo Graf
063ccbb622
CCDraw: use ccdraw namespace
2016-01-26 09:51:48 +01:00
M. Liebmann
bf0f63467d
CCDraw: Add function for cleanup gradient background
2016-01-26 09:51:48 +01:00
Thilo Graf
ad6940fd85
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.
2015-12-30 13:09:36 +01:00
Thilo Graf
6952d85ae9
CCDraw: add signals into paintFbItems()
2015-12-27 14:42:32 +01:00
Thilo Graf
0146511f38
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