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
Thilo Graf
11c9d0780a
CComponentsText: move setTextRenderModeFullBG() to text object
...
This is mostly required here
2014-09-25 11:08:00 +04:00
Thilo Graf
83070da483
CComponents: rename gradient variables
...
Use convention for cc classes.
paintGradient probaly too general and
is related to body, other fb types can be also handled with gradient.
2014-09-25 11:07:55 +04:00
Thilo Graf
64c84fb490
CComponents: move variable cc_gradientData, paintGradient into base class
...
Variable now usable via g_settings in all subclasses. enable/disable.
TODO: gradient type handling
2014-09-25 11:07:45 +04:00
M. Liebmann
8762d4b871
CComponentsHeader: Use Font::FULLBG for rendering string...
...
...when text is painted on a color gradient
2014-09-25 11:07:37 +04:00
Thilo Graf
c1f70dbbb8
CComponentsWindow, CMenuWidget: apply gradiant settings to header
2014-09-25 11:07:28 +04:00
M. Liebmann
bfc1c04d83
CComponentsHeader: Use color gradient for paint header
...
Conflicts:
src/gui/widget/menue.cpp
2014-09-25 11:07:12 +04:00
M. Liebmann
db6fd8480d
CComponents: Add color gradient for CC_FBDATA_TYPE_BOX
2014-09-25 11:06:01 +04:00
M. Liebmann
4c2704fb2f
CComponentsForm: Fix compiler warning (-Wsign-compare)
2014-09-25 11:05:18 +04:00
M. Liebmann
d25fe1438c
Change CComponents::clearSavedScreen() from protected to public
...
Signed-off-by: Thilo Graf <dbt@novatux.de >
Conflicts:
src/gui/components/cc_base.h
2014-09-25 11:03:34 +04:00
Thilo Graf
cfd1510a5c
CComponentsTimer: add mutex handling, use neutrino log
2014-09-25 11:03:03 +04:00
Thilo Graf
88ce62ea84
CComponentsForm/CComponentsWindow: add page scroll handling
...
This provides page scroll with up/down, left/right or combined.
Usage of exec() methods with implemented signals allows a
generic implematation of button or other message handling with
signal/slot solutions.
still to do: page cache
2014-09-25 11:02:55 +04:00
Thilo Graf
4e5df866bd
CComponentsSignals: add signals for exec handlers
2014-09-25 11:02:51 +04:00
Thilo Graf
ec132906cd
cc_types: add truct type for rc messages with related icon
2014-09-25 11:02:45 +04:00
Thilo Graf
0c0e0e85ff
CComponentsItem/CComponentsForm: add property focus
...
Specifies that some certain operations especially eg. exec events for
that item are possible.
2014-09-25 11:02:32 +04:00
Thilo Graf
5ae495716e
CComponentsFooter: expand button label structs
...
Allows assigning of result, msg and alias values with label struct.
NOTE: Old button label struct are compatible but limited only and
not recommended for usage!
Old parameters 'struct button_label' doesn't provide newer parameters.
Missing parameters are filled with default values and must be assigned
afterward, if required.
2014-09-25 11:02:27 +04:00
Thilo Graf
706ed0f31f
CComponentsButton: add extended properties for button objects
...
Allows to assign values for events, msg, results. So it is possible
to evaluate/use these properties eg. directly in exec routines.
2014-09-25 11:02:22 +04:00