Thilo Graf
976e0251ee
CComponentsItem: try to fix clean up screen buffers after killed items
2016-01-03 20:25:15 +01:00
Thilo Graf
648e01f401
CSignalBar: try to fix position and height of scale bars
2015-12-30 22:22:44 +01:00
Thilo Graf
4dfb2a75ae
CSignalBar: unified reference percent text length
2015-12-30 17:31:42 +01:00
Thilo Graf
06686334bf
signalbars: add missing parameters for signal type names
2015-12-30 16:56:45 +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
68b5040c9f
CComponentsDetailLine: fix possible rests on screen after hided detailsline
...
Shadow width was missing.
2015-12-28 20:20:40 +01:00
Thilo Graf
4bd3173d41
CComponentsWindow: add return value to addWindowCCItem(), fix footer color
...
- return value of addWindowCCItem() = current id of added body item
- assignment of footer color was missing
2015-12-28 18:13:21 +01:00
Thilo Graf
888c575ef4
CComponentsForm: add return value to addCCItem()
...
return value = current id of added item
2015-12-28 17:58:46 +01:00
Thilo Graf
6952d85ae9
CCDraw: add signals into paintFbItems()
2015-12-27 14:42:32 +01:00
Thilo Graf
6339ce481d
CCDraw: try to separate parameter paint_bg from shadow paint
2015-12-27 14:42:31 +01:00
Thilo Graf
7659dd4642
CComponentsWindow: add member setWindowHeaderTextColor()
...
To modifiy header text color.
2015-12-27 14:42:30 +01:00
Thilo Graf
8e99559d90
CComponentsWindow: add method to set header color
2015-12-27 14:42:30 +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
Jacek Jendrzej
322b58a598
fix compil fix change 64 to 32
2015-12-27 13:58:32 +01:00
Jacek Jendrzej
ddb3c15d4b
some gcc5 compil fixes
2015-12-26 17:03:42 +01:00
[CST] Focus
6ff50ec61b
gui/components/cc_item_tvpic.cpp: show PiG in mode_ts, too
2015-11-06 17:23:10 +03:00
Thilo Graf
b47a0ccaeb
CComponentsButton: simplify paint of button icon
...
Calculation of image aspect ratio now happens in picture object itself.
2015-07-17 15:35:47 +02:00
Thilo Graf
53a350d5af
CComponentsPicture: fix and simplify image scale handling
...
Aspect ratio was not considered in some constallations, To see on button
icons and oversized custom channellogos in channllist.
Now this is handeled on init of image object and setters for width and height.
2015-07-17 15:35:18 +02:00
Thilo Graf
ccdaacb0a0
CComponentsText: add switch for utf8 disable/enable
2015-07-12 21:08:25 +02:00
Thilo Graf
5de4b48a00
CComponentsFooter: reduce scale factor without button background
2015-07-01 16:05:42 +02:00
Thilo Graf
cabe84bf0f
CComponentsButton: fix image scale
...
Wrong ratio calculation.
2015-07-01 16:05:38 +02:00
Thilo Graf
5e380fa4f8
CComponentsPicture: fix internal value for dimension vars
...
The values contained not values from the scaled image file.
2015-07-01 15:56:42 +02:00
[CST] Focus
62a9621cb0
gui/components/cc_item.cpp: use theme option for one/two color gradient
2015-05-07 16:39:28 +03:00
svenhoefer
e85f32848c
- ccomponents: add missing slash to iconBasePath
2015-05-07 11:10:28 +02:00
svenhoefer
89a11de651
- fix and use ICONSDIR variable; move ICONSSDIR_VAR to global.h
2015-05-06 22:58:54 +02:00
Thilo Graf
57c3761619
CProgressBar: remove unused member
2015-05-04 10:37:03 +02:00
Thilo Graf
a29b8e7982
CProgressBar: remove unused include
2015-05-04 10:37:03 +02:00
Thilo Graf
884e3b7cb5
CComponentsText: declare function getTextFromFile() as static
...
Is usable as standalone member too.
2015-05-04 10:37:03 +02:00
svenhoefer
c05e650a02
- cc_frm_header: prepare for c2c gradient
2015-05-04 09:41:41 +02:00
svenhoefer
5599784642
- cc_frm_footer: prepare for c2c gradient
2015-05-04 09:41:41 +02:00
TangoCash
a8be4f6365
enable color-to-color gradient
2015-05-04 09:41:41 +02:00
Thilo Graf
01516cf943
themes: use hintbox and header gradient option in theme settings
...
Color gradient feature was originally intended for use
inside theme settings and it's not really suitable for
generally use as default in all themes at the moment, so it makes more
sense to have options in theme settings and let the user decide
to customize this, unless enough other gui parts can use this feature.
2015-04-29 10:16:55 +02:00
Thilo Graf
5f603ed6b0
cc_base.cpp: fix wrong statment value
...
Comes with 1e16dbbf59
2015-04-27 11:51:01 +02:00
Thilo Graf
1e16dbbf59
cc_base.cpp: paint shadow only on firs paint of item body
...
Avoids unnecessary paint of shadow layers, This should
avoid flicker effects.
2015-04-27 10:02:18 +02:00
[CST] Focus
7016a86ca2
CComponentsInfoBox: add switch to enable gradient for info box
...
Signed-off-by: Thilo Graf <dbt@novatux.de >
2015-04-27 09:54:45 +02:00
[CST] Focus
53ce471af8
gradient: try to fix delete gradient data only on color change
...
Signed-off-by: Thilo Graf <dbt@novatux.de >
2015-04-27 09:25:34 +02:00
Thilo Graf
d8da2a3087
Revert "CComponentsItem: fix remove gradient buffer on killed item"
...
This reverts commit 51aab307c3
.
2015-04-27 09:21:19 +02:00
Thilo Graf
80457beaf6
CComponentsPicture: add sub classes for scalable images and channel logos
...
This could replace call of CComponentsPicture objects with explicit
dimension values = 0
2015-04-04 22:35:57 +02:00
M. Liebmann
ae139d4ec2
CComponentsText: Fix default font
2015-03-31 12:00:48 +02:00
Thilo Graf
47b37d4405
CComponentsButton: disable gradient
...
Not necessary as long not all or most gui buttons can provide gradient
2015-03-29 22:40:15 +02:00
Thilo Graf
45623aa810
CComponentsTimer: move mySleep call into mutex block, seems was not ok so
2015-03-29 22:40:14 +02:00
Thilo Graf
341b142aa0
CComponentsText: add possibilty to set font style
...
Usable with methode setText() and parameter 'style'
provided enums are:
FONT_STYLE_REGULAR
FONT_STYLE_BOLD
FONT_STYLE_ITALIC
2015-03-29 22:40:13 +02:00
Thilo Graf
d2ae57e5b6
CComponentsText: avoid unintentional overwriting of current property values
...
If parameters were not explicitly defined, default values of parameters
overwrite current property values.
2015-03-29 22:40:13 +02:00
Thilo Graf
a9c474e486
CComponentsInfoBox: fix scale height for larger picons
2015-03-29 22:40:12 +02:00
Thilo Graf
592b0025d9
CComponentsInfoBox: remove unnecessary call for kill()
...
partial revert of: CComponentsInfoBox: fix centering of image
2015-03-29 22:40:11 +02:00
Thilo Graf
012c699951
CComponentsTimer: move pthread members into startTimer()
2015-03-29 22:40:10 +02:00
Thilo Graf
4a0975eb90
CComponentsText: expand setTextColor() methode
...
apply color value direct in text box object
2015-03-29 22:40:10 +02:00
Thilo Graf
1b3f5847be
CComponentsSignals: add signals for hide events
2015-03-29 22:40:10 +02:00
Thilo Graf
d33c4911d2
CComponentsButton: fix fit of button icon
...
Scale was broken
2015-03-29 22:40:08 +02:00
Thilo Graf
51aab307c3
CComponentsItem: fix remove gradient buffer on killed item
2015-03-29 22:40:08 +02:00