Commit Graph

511 Commits

Author SHA1 Message Date
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
Thilo Graf
e1b9f0a184 CComponentsForm: add member to get pointer to selected items 2014-09-25 11:02:17 +04:00
Thilo Graf
0ab881b338 CComponentsForm: avoid segfault, if id is out of range 2014-09-25 11:02:13 +04:00
Thilo Graf
67a42c3e96 CComponents: add members to handle object tags
This can help to handle some useful values for any functions
2014-09-25 11:02:00 +04:00
Thilo Graf
ec7d5772f0 CComponentsForm: add members to set or get selected items 2014-09-25 11:01:54 +04:00
Thilo Graf
cc5b17a620 CComponentsFooter: add members to set or get select a defined button 2014-09-25 11:01:49 +04:00
Thilo Graf
1a38c23340 CComponentsSignals: ad signal OnSelect 2014-09-25 11:01:45 +04:00
Thilo Graf
9f902af587 CComponentsFooter: add member to add button labels via vector 2014-09-25 11:01:39 +04:00
Thilo Graf
6ed7df9498 CComponentsSignals: add signal OnError 2014-09-25 10:58:30 +04:00
Thilo Graf
4731521070 CComponents: add new header file cc_signals.h with some basic members 2014-09-25 10:58:22 +04:00
Thilo Graf
221bb9be33 CComponentsShape/CComponentsShapeCircle: don't use CC_SHADOW_ON as default
It has been shown, most shapes don't require any shadow.
2014-09-14 00:01:07 +02:00
Thilo Graf
6842dc530a CComponentsText: fix missing refresh of text mode
assign of text mode was without any effect
2014-09-14 00:01:04 +02:00
martii
b21cb152b5 system/settings: move theme colors to dedicated struct
Conflicts:
	src/driver/pictureviewer/pictureviewer.cpp
	src/gui/epgview.cpp
	src/gui/osd_setup.cpp
	src/gui/pluginlist.cpp
	src/neutrino.cpp
2014-09-12 18:29:21 +04:00
martii
84cf3865b5 gui/components/cc_frm_clock.cpp: add method to enable/disable auto-blit()
Conflicts:
	src/gui/components/cc_frm_clock.cpp
2014-09-11 18:12:51 +04:00
martii
1c39a6edf4 [experimental] gui/components/cc_frm_clock: use a mutex around unsetting/evaluating paintClock. This may or may not help with the clock-still-showing-when-leaving-the-channellist problem. Pretty much untested, as that issue is quite irreproducible. 2014-09-11 18:12:51 +04:00
martii
13118c1148 gui/components/cc_frm_clock: simplify; setClockFormat/setClockBlink has now impact on running thread
Conflicts:
	src/gui/components/cc_frm_clock.cpp
	src/gui/timeosd.cpp
2014-09-11 18:12:51 +04:00
martii
9472155b88 gui/components/cc_frm_clock: disable thread idle timeout; clear clock when thread exits 2014-09-11 18:12:51 +04:00
martii
be29f644f0 gui/components: use COL_BACKGROUND_PLUS_0 instead of COL_BACKGROUND 2014-09-11 18:12:51 +04:00
[CST] Focus
a473fe8194 webtv channels integration port,
initial code (C) martii,
initial patch from jacek
2014-08-27 17:32:26 +04:00
Thilo Graf
4e65078335 CComponentsWindow: add missing comment for allignment options 2014-08-26 17:27:30 +04:00
Thilo Graf
62acbb47ab CComponentsItem: fix percentage dimensions setters
heigth and width were swapped, parameter "real" was false
2014-07-18 13:31:29 +04:00
Thilo Graf
556b2cccb2 CComponentsHeader: add methode getCaptionFont() 2014-07-18 13:31:22 +04:00