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
Thilo Graf
e8d46a8a55
CComponentsPicture: fix icon size/scale handling
2015-03-29 22:40:07 +02:00
Thilo Graf
ebc9d28e0e
CComponentsInfoBox: fix centering of image
2015-03-29 22:40:07 +02:00
Thilo Graf
9c85491974
CProgressBarCache: fix compiler warnings wconversion
2015-03-29 22:40:06 +02:00
Thilo Graf
56ea6c140f
CComponentsFooter: Function setButtonLabels() change parameter
...
Performance: parameter 'v_content' should be passed by reference
2015-03-29 22:40:06 +02:00
Thilo Graf
674f2f983a
CComponentsForm: reduce log spam in info mode
2015-03-29 22:40:04 +02:00
Thilo Graf
1d574d93bc
CComponentsTimer: simplify isRun function
2015-03-29 22:40:01 +02:00
Thilo Graf
663c7deef2
CProgressBar: add missing assign of 'allow paint' property
...
Property had no effect.
2015-03-29 22:39:58 +02:00
Thilo Graf
8ebb5f98ca
CComponentsItem: add setXPos/setYPos(), that consider real position
2015-03-29 22:39:58 +02:00
Thilo Graf
d72603665c
CComponentsForm: prevent wrong id parameter if item size out of range
2015-03-29 22:39:57 +02:00
Thilo Graf
52f7c79db8
CComponentsForm: fix init value of getPageCount()
...
value is always 1
2015-03-29 22:39:56 +02:00
Thilo Graf
0f8c1829d8
CComponentsFooter: fix button view with gradient
...
show contour only in gradient mode
2015-03-29 22:39:55 +02:00
Thilo Graf
7ec096fa3d
CComponentsFooter: add optional possibility to switch colored button frame
2015-03-29 22:39:55 +02:00
Thilo Graf
66e5f03c92
CComponentsButton: use unified body colors in gradient mode
...
Some theme controlled colors don't really looks nice in some
combinations with window backgrounds.
2015-03-29 22:39:54 +02:00
Thilo Graf
8929255e9e
CComponentsPicture: don't paint image, if is not available
2015-03-29 22:39:54 +02:00
Thilo Graf
c027412832
CComponentsPIP: fix centering of image
...
auto centering was broken, eg.to see in channellist if radio mode was enabled
2015-03-29 22:39:53 +02:00
Thilo Graf
8227638c06
CComponentsPicture: simplify item init, adapt getHeight/getWidth members
...
Members getHeight/getWidth returns now image related values dependent of
scale mode
2015-03-29 22:39:53 +02:00
Thilo Graf
782c958bde
CComponentsInfoBox: fix applying of properties
...
Some properties were not applied if cctext was already exists, eg. after
changed theme
2015-03-29 22:39:52 +02:00
Thilo Graf
04083bc299
CComponentsButton: use of global button text color
...
Used text color was different to old button handler.
2015-03-29 22:39:52 +02:00
Thilo Graf
23c708b787
CComponentsForm: fix unnecessary try for scroll
...
This avoids unnecessary flicker effects, because no paint is required,
if page count = 1 and also ensures, that this page is defined as current page.
2015-03-29 22:39:51 +02:00
Thilo Graf
09851f3b9f
CComponentsForm: reduce corner radius on frame border
...
If we have a frame around parent item, ensure matching corners
inside of embedded item, this avoids ugly unpainted spaces
between frame and item border.
TODO: other constellations are not considered at the moment!
2015-03-29 22:39:51 +02:00
Thilo Graf
f7faf07ab1
CComponentsForm: fix item offset with enabled frame
...
frame width was not considered
2015-03-29 22:39:50 +02:00
Thilo Graf
8aa2b6a5ab
CComponentsTimer: start timer only if interval > 0
2015-03-29 22:39:50 +02:00
Thilo Graf
eebfc455c6
CComponentsTimer: log output moved
...
Log message was shown on each call of startTimer.
2015-03-29 22:39:50 +02:00
Thilo Graf
28ef6e147e
CComponentsTimer: add slot for auto timer start/stop
...
Connection with OnBeforeRestart ensures closing threads.
Under certain circumstances, eg. running thread, a restart could fail.
2015-03-29 22:39:49 +02:00
[CST] Focus
f50840ac96
gui/components/cc_frm_clock.cpp: set CTextBox save screen and paint background flag;
...
add option to call first paint with save bg - default dont save;
detach clock thread
2015-03-06 14:14:00 +03:00
[CST] Focus
16a1927f4f
gui/components/cc_frm_header.cpp: set CTextBox save screen flag
2015-03-06 14:14:00 +03:00
[CST] Focus
59aca86523
gui/components/cc_item_infobox.cpp: set CTextBox save screen flag
2015-03-06 14:14:00 +03:00
[CST] Focus
86a236bc7e
gui/components/cc_item_text.cpp: set CTextBox save screen flag
2015-03-06 14:14:00 +03:00
[CST] Focus
ee27b6ae6b
gui/components/cc_frm_ext_text.cpp: set CTextBox save screen flag
2015-03-06 14:14:00 +03:00
[CST] Focus
fdd5486714
gui/components/cc_frm_button.cpp: set CTextBox save screen flag
2015-03-06 14:13:59 +03:00
[CST] Focus
ab1b3b9008
gui/components/cc_base.cpp: add flag to control CTextBox screen saving, default is false
2015-03-06 14:13:59 +03:00