Commit Graph

1212 Commits

Author SHA1 Message Date
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
Stefan Seyfried
92fcc879b4 Merge remote-tracking branch 'test/cst-next' 2015-03-07 20:09:44 +01: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
Stefan Seyfried
a229a56e12 CC-Progressbar: mark framebuffer region dirty 2015-02-21 16:04:51 +01:00
Stefan Seyfried
2e73e4c940 CC-Clock: remove unnecessary cast 2015-02-21 15:58:45 +01:00
Stefan Seyfried
48fdfc5e5e Merge remote-tracking branch 'test/cst-next'
Conflicts:
	src/gui/osdlang_setup.cpp
2015-02-19 14:10:26 +01:00
Jacek Jendrzej
051fb7c008 some enum warrnings compil fixes 2015-02-15 22:16:47 +01:00
Stefan Seyfried
b5a64e6887 Merge remote-tracking branch 'check/cst-next'
*needs buildfixing*

Conflicts:
	src/daemonc/Makefile.am
	src/daemonc/remotecontrol.cpp
	src/driver/Makefile.am
	src/driver/audiodec/Makefile.am
	src/driver/pictureviewer/Makefile.am
	src/driver/vfd.cpp
	src/gui/bedit/Makefile.am
	src/gui/components/Makefile.am
	src/gui/luainstance.cpp
	src/gui/widget/Makefile.am
	src/nhttpd/tuxboxapi/coolstream/Makefile.am
	src/system/Makefile.am
2015-01-26 17:26:26 +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
Stefan Seyfried
daeefa9757 components: fix format strings 2014-12-26 20:00:42 +01:00
Stefan Seyfried
41dd237498 add CFLAGS for libsigc 2014-12-25 18:11:36 +01:00
Stefan Seyfried
69c4dbbdba Merge remote-tracking branch 'check/cst-next'
needs build- and functional fixes

Conflicts:
	configure.ac
	data/icons/shutdown.jpg
	data/icons/start.jpg
	data/locale/deutsch.locale
	data/locale/english.locale
	lib/libmd5sum/md5.c
	src/driver/scanepg.cpp
	src/driver/streamts.cpp
	src/driver/vfd.cpp
	src/driver/vfd.h
	src/driver/volume.cpp
	src/eitd/dmx.cpp
	src/eitd/xmlutil.cpp
	src/gui/Makefile.am
	src/gui/audiomute.cpp
	src/gui/channellist.cpp
	src/gui/dboxinfo.cpp
	src/gui/epgview.cpp
	src/gui/eventlist.cpp
	src/gui/filebrowser.cpp
	src/gui/hdd_menu.cpp
	src/gui/infoviewer.cpp
	src/gui/infoviewer_bb.cpp
	src/gui/infoviewer_bb.h
	src/gui/keybind_setup.cpp
	src/gui/luainstance.cpp
	src/gui/luainstance.h
	src/gui/miscsettings_menu.cpp
	src/gui/moviebrowser.cpp
	src/gui/movieplayer.cpp
	src/gui/osd_progressbar_setup.cpp
	src/gui/osd_progressbar_setup.h
	src/gui/osd_setup.cpp
	src/gui/osdlang_setup.cpp
	src/gui/personalize.cpp
	src/gui/plugins.cpp
	src/gui/plugins.h
	src/gui/scan.cpp
	src/gui/scan_setup.cpp
	src/gui/update_settings.cpp
	src/gui/user_menue.cpp
	src/gui/user_menue_setup.cpp
	src/gui/videosettings.cpp
	src/gui/widget/buttons.cpp
	src/gui/widget/menue.cpp
	src/gui/widget/menue.h
	src/gui/widget/progresswindow.cpp
	src/neutrino.cpp
	src/neutrino_menue.cpp
	src/nhttpd/yhttpd.cpp
	src/system/helpers.cpp
	src/system/locals.h
	src/system/locals_intern.h
	src/system/setting_helpers.cpp
	src/zapit/lib/zapitclient.cpp
	src/zapit/src/fastscan.cpp
	src/zapit/src/frontend.cpp
	src/zapit/src/getservices.cpp
	src/zapit/src/scan.cpp
	src/zapit/src/scannit.cpp
	src/zapit/src/scanpmt.cpp
	src/zapit/src/transponder.cpp
	src/zapit/src/zapit.cpp
2014-12-25 18:03:08 +01: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