Commit Graph

25 Commits

Author SHA1 Message Date
vanhofen
65cf83258c Merge branch 'master' of https://github.com/tuxbox-neutrino/gui-neutrino into ni/tuxbox
Conflicts:
	src/gui/themes.cpp
	src/neutrino.cpp
	src/system/settings.h
	version_pseudo.h


Origin commit data
------------------
Commit: 4f2d36fe3e
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-12-29 (Thu, 29 Dec 2016)
2016-12-29 00:59:00 +01:00
vanhofen
ff22643691 themes: allow progressbar-settings in themes
Origin commit data
------------------
Commit: 888bfb6687
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-12-29 (Thu, 29 Dec 2016)

Origin message was:
------------------
- themes: allow progressbar-settings in themes
2016-12-29 00:47:34 +01:00
vanhofen
dffca87dfa minor alignments to cst-git; no binary changes
Origin commit data
------------------
Commit: 750c779f9f
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-05-21 (Sat, 21 May 2016)

Origin message was:
------------------
- minor alignments to cst-git; no binary changes
2016-05-21 22:21:08 +02:00
vanhofen
4cf2b60722 NI \o/
Origin commit data
------------------
Commit: d6b3754c6f
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-05-19 (Thu, 19 May 2016)
2016-05-19 22:59:54 +02:00
Jacek Jendrzej
c20774f8d4 src/gui/components/cc_item_progressbar.cpp fix possible memleak
Origin commit data
------------------
Commit: 1e38d90b23
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-04-15 (Fri, 15 Apr 2016)
2016-04-15 20:58:04 +02:00
Thilo Graf
4e5d4c83de CProgressBar: ensure also repaint of progressbar if item is not painted
Origin commit data
------------------
Commit: 33089b9bc0
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-02-10 (Wed, 10 Feb 2016)
2016-02-16 09:39:05 +01:00
Stefan Seyfried
ad28aac339 fix debug output printf type warnings
Origin commit data
------------------
Commit: fa05d6a415
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-12-28 (Mon, 28 Dec 2015)
2016-01-14 22:28:59 +01:00
Thilo Graf
72a289a90c components: rework classes
- outsourced some classes cc_item.cpp/h, cc_draw.cpp/h
- added extra methodes for simple use of some basic components extra.cpp/h
- rework clock handling: use timer class, reworked members for
 enable/disable clock with external timer events,
 tryed to fix some display issues related with infoclock and
 time osd clock in moviebrowser, channellist, menuus
- reworked hide/kill handling, removed parameter for hide(), try to use
 cached backgrounds for other constallations, paint cache, image cache (all beta)
- reworked shadow/frame handling, add shadow modes for left/right
 arrangement, TODO: repaint for existant instances required
- reworked color gradient assignment (beta)

... Note: I had a data crash in my local git tree
and i tryed to restore my historie, but most was lost. Therefore here
the commit is large


Origin commit data
------------------
Commit: 0146511f38
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-11-18 (Wed, 18 Nov 2015)

Origin message was:
------------------
components: rework classes

- outsourced some classes cc_item.cpp/h, cc_draw.cpp/h
- added extra methodes for simple use of some basic components extra.cpp/h
- rework clock handling: use timer class, reworked members for
 enable/disable clock with external timer events,
 tryed to fix some display issues related with infoclock and
 time osd clock in moviebrowser, channellist, menuus
- reworked hide/kill handling, removed parameter for hide(), try to use
 cached backgrounds for other constallations, paint cache, image cache (all beta)
- reworked shadow/frame handling, add shadow modes for left/right
 arrangement, TODO: repaint for existant instances required
- reworked color gradient assignment (beta)

... Note: I had a data crash in my local git tree
and i tryed to restore my historie, but most was lost. Therefore here
the commit is large
2015-12-27 14:42:27 +01:00
Thilo Graf
457ce777cb CProgressBar: remove unused include
Origin commit data
------------------
Commit: a29b8e7982
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-04-13 (Mon, 13 Apr 2015)
2015-05-04 10:37:03 +02:00
Thilo Graf
c32d56aa7d CProgressBarCache: fix compiler warnings wconversion
Origin commit data
------------------
Commit: 9c85491974
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-01-13 (Tue, 13 Jan 2015)
2015-03-29 22:40:06 +02:00
Thilo Graf
ebb57c96ac CProgressBar: add missing assign of 'allow paint' property
Property had no effect.


Origin commit data
------------------
Commit: 663c7deef2
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-30 (Sun, 30 Nov 2014)
2015-03-29 22:39:58 +02:00
[CST] Focus
2945a56e38 gui/components/cc_item_progressbar.cpp: limit pb_value to max value
Origin commit data
------------------
Commit: f75fadd29c
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-10-09 (Thu, 09 Oct 2014)
2014-10-10 15:26:32 +04:00
[CST] Focus
17c40a5d6e merge neutrino-mp progressbar code, (C) martii
Origin commit data
------------------
Commit: 416646bbff
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-07-17 (Thu, 17 Jul 2014)
2014-07-17 17:02:37 +04:00
Thilo Graf
f33efdbdc4 CComponents: add new parameter 'parent'
Use strictly CComponentsForm as parent parameter in constructors.
Some parts have been cleaned up (Constructors, init methodes removed)

New parameter makes it possible already add current item in constructor.
So in mostly situations is it not necessary to use explicit addCCItem(),
but addCCItem()is still valid and necessary in certain situations.

Affected are all cc-classes and their derivates.
Some classes must or can be adapted later. The function is
not currently restricted, because usage of parent parameter is not explicit
defined in constructors, see CImageInfo, here yet are used addCCItem()
methodes.

Generally this parameter is located in the constructors before bool has_shadow,
but it is not sure whether it would be better to use this parameter as the first.
That remains to be clarified.


Origin commit data
------------------
Commit: 23d7b62cf0
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-03-03 (Mon, 03 Mar 2014)
2014-03-03 09:43:39 +01:00
[CST] Focus
92a0da51a1 cc_item_progressbar.cpp: fix attempt to draw box with width=0
Origin commit data
------------------
Commit: 1e5e36b7c8
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-11-28 (Thu, 28 Nov 2013)
2013-11-29 17:27:10 +04:00
[CST] Focus
a77269ffc3 cc_item_progressbar.cpp: for advanced paint, replace paintShapes with paintBoxRel:
too much overhead to replace single paintBoxRel call


Origin commit data
------------------
Commit: 9897b9045c
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-11-27 (Wed, 27 Nov 2013)
2013-11-29 17:27:10 +04:00
Thilo Graf
1f85322357 CComponents: add property to allow/disallow paint of items
This causes initialization of all properties, but
affects the behavior of item paint.
This can be understood as a counterpart to isPainted().


Origin commit data
------------------
Commit: 8ae491a994
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-08 (Fri, 08 Nov 2013)
2013-11-11 00:19:48 +01:00
Thilo Graf
541271086f CProgressBar: remove comment
Origin commit data
------------------
Commit: eee3b5d78e
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-08-28 (Wed, 28 Aug 2013)
2013-08-30 22:14:35 +02:00
Thilo Graf
4f239ed628 CZapitChannel: use unsigned char instead size_t
This removes some annoying warnings with specific compiler flags.


Origin commit data
------------------
Commit: 71423089b0
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-07-11 (Thu, 11 Jul 2013)
2013-07-21 22:03:27 +02:00
Thilo Graf
bedc468943 CProgressBar: add member paintShapes()
paintShapes() replaces paintBoxRel()
TODO: paint v-lines with CComponents


Origin commit data
------------------
Commit: 44759766af
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-15 (Sat, 15 Jun 2013)
2013-06-16 00:34:05 +02:00
Thilo Graf
55512682b0 CProgressBar/CVolumeBar: fix position of active/passive bar
Assign real position values to progressbar if is bound (embedded) in a form.
This is dependently from its own parent status. Status of cc_parent==NULL
means, it's not bound and without parent form so we use x/y, otherwise
we use real values stored by cc_xr/cc_yr.
Values in cc_xr/cc_yr and cc_parent were assigned with addCCItem().

Signed-off-by: Michael Liebmann <tuxcode.bbg@gmail.com>


Origin commit data
------------------
Commit: fb812f38e8
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-02 (Sun, 02 Jun 2013)
2013-06-03 22:12:48 +02:00
Thilo Graf
efeecf0c07 CProgressBar: replace x/y position with real position on screen
Important to paint related to screen within form dimensions

btw: small cleanups


Origin commit data
------------------
Commit: f01a9071d2
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-12 (Fri, 12 Apr 2013)
2013-04-16 08:26:55 +02:00
Thilo Graf
8a4b24c4eb CProgressBar: use already calculated position var for diagonal line
Origin commit data
------------------
Commit: cd1a4c89a8
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-08 (Mon, 08 Apr 2013)
2013-04-16 08:26:54 +02:00
Thilo Graf
ff40ada214 CProgressBar: remove wrong intital value for frame thickness
Default value is 0, and should remain as specified in the base class.


Origin commit data
------------------
Commit: 210ae1491d
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-05 (Fri, 05 Apr 2013)
2013-04-06 08:33:51 +02:00
Thilo Graf
03b22f2d23 CComponents: add progressbar class to cc-items
CProgressbar moved into components sub directory and adapt includes.
Progressbar objects are now usable as cc-item

TODO:
-some color and size corrections
-found some dub codes for sig and snr-bars, needs rework


Origin commit data
------------------
Commit: 860be9a412
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-01 (Mon, 01 Apr 2013)
2013-04-02 09:31:05 +02:00