Commit Graph

548 Commits

Author SHA1 Message Date
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
Stefan Seyfried
cf0b9f944a CC-Clock: remove unnecessary cast
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
2015-02-22 15:58:30 +01:00
Jacek Jendrzej
051fb7c008 some enum warrnings compil fixes 2015-02-15 22:16:47 +01:00
Jacek Jendrzej
2b5e7b5ba3 use empty to check string 2015-01-09 17:15:11 +01:00
Thilo Graf
18bc87592b Revert "gui/components/cc_item_infobox.cpp: enable gradient on request"
This reverts commit b1c31fadd1.

Gradient features are intended for theme related implementations.
It's not ripe at the moment.
2015-01-03 19:18:36 +01:00
Stefan Seyfried
a92eb8f8e7 add CFLAGS for libsigc 2015-01-02 21:00:18 +01:00
[CST] Focus
b1c31fadd1 gui/components/cc_item_infobox.cpp: enable gradient on request 2015-01-02 15:16:51 +03:00
[CST] Focus
f75fadd29c gui/components/cc_item_progressbar.cpp: limit pb_value to max value 2014-10-10 15:26:32 +04:00
Thilo Graf
4b73121eef CComponentsInfoBox: small cleanup 2014-10-08 14:14:33 +04:00
Thilo Graf
f75f0ed6e3 CComponentsPicture: rework scale behavior
Scaling mode not longer only dependent from image name.
Now also evaluated parameters.
Image objects with defined dimensions will be scaled.
Icons without defined path and file type, will be scaled as before.
2014-10-08 14:14:29 +04:00
M. Liebmann
862a724a3d Fix background paint header clock in channellist 2014-09-26 14:22:30 +04:00
M. Liebmann
58224099fd CColorGradient::gradientOneColor: Adjustment for min/max brightness...
...and color saturation added
- Use only the hue of base color for gradient
2014-09-25 11:08:22 +04:00
Thilo Graf
de2aebcebc CComponentsButton: apply color gradiant to buttons 2014-09-25 11:08:16 +04:00
Thilo Graf
d6bf51a593 CComponentsScrollBar: add color gradient to scrollbar 2014-09-25 11:08:12 +04:00
Thilo Graf
f9147d185a CComponents: add setColBodyGradient() to set gradient properties
This provides possibility to set relevant gradiant properties in cc sub classes
2014-09-25 11:08:08 +04:00
Thilo Graf
581405e076 CComponentsItem: move initBodyGradient() into base class
This provides functinality for all sub classes too
2014-09-25 11:08:04 +04:00