Commit Graph

21 Commits

Author SHA1 Message Date
Jacek Jendrzej
e460a317af src/gui/components/cc_item_progressbar.cpp fix possible memleak
Origin commit data
------------------
Branch: ni/coolstream
Commit: 1e38d90b23
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-04-15 (Fri, 15 Apr 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-04-15 20:58:04 +02:00
Thilo Graf
cf0939316a CProgressBar: ensure also repaint of progressbar if item is not painted
Origin commit data
------------------
Branch: ni/coolstream
Commit: 33089b9bc0
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-02-10 (Wed, 10 Feb 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-02-16 09:39:05 +01:00
Stefan Seyfried
73d5dc76c0 fix debug output printf type warnings
Origin commit data
------------------
Branch: ni/coolstream
Commit: fa05d6a415
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-12-28 (Mon, 28 Dec 2015)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-01-14 22:28:59 +01:00
Thilo Graf
9e3882b7bc 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
------------------
Branch: ni/coolstream
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


------------------
This commit was generated by Migit
2015-12-27 14:42:27 +01:00
Thilo Graf
35e39e2efe CProgressBar: remove unused include
Origin commit data
------------------
Branch: ni/coolstream
Commit: a29b8e7982
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-04-13 (Mon, 13 Apr 2015)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2015-05-04 10:37:03 +02:00
Thilo Graf
715aa9d9d7 CProgressBarCache: fix compiler warnings wconversion
Origin commit data
------------------
Branch: ni/coolstream
Commit: 9c85491974
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-01-13 (Tue, 13 Jan 2015)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2015-03-29 22:40:06 +02:00
Thilo Graf
0fd109fa58 CProgressBar: add missing assign of 'allow paint' property
Property had no effect.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 663c7deef2
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-30 (Sun, 30 Nov 2014)



------------------
This commit was generated by Migit
2015-03-29 22:39:58 +02:00
[CST] Focus
e4d705ea96 gui/components/cc_item_progressbar.cpp: limit pb_value to max value
Origin commit data
------------------
Branch: ni/coolstream
Commit: f75fadd29c
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-10-09 (Thu, 09 Oct 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-10-10 15:26:32 +04:00
[CST] Focus
1613427042 merge neutrino-mp progressbar code, (C) martii
Origin commit data
------------------
Branch: ni/coolstream
Commit: 416646bbff
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-07-17 (Thu, 17 Jul 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-07-17 17:02:37 +04:00
Thilo Graf
7c70aaa6df 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
------------------
Branch: ni/coolstream
Commit: 23d7b62cf0
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-03-03 (Mon, 03 Mar 2014)



------------------
This commit was generated by Migit
2014-03-03 09:43:39 +01:00
[CST] Focus
76b57bdbca cc_item_progressbar.cpp: fix attempt to draw box with width=0
Origin commit data
------------------
Branch: ni/coolstream
Commit: 1e5e36b7c8
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-11-28 (Thu, 28 Nov 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-11-29 17:27:10 +04:00
[CST] Focus
15d9ce7e03 cc_item_progressbar.cpp: for advanced paint, replace paintShapes with paintBoxRel:
too much overhead to replace single paintBoxRel call


Origin commit data
------------------
Branch: ni/coolstream
Commit: 9897b9045c
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-11-27 (Wed, 27 Nov 2013)



------------------
This commit was generated by Migit
2013-11-29 17:27:10 +04:00
Thilo Graf
dd2d167dfe 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
------------------
Branch: ni/coolstream
Commit: 8ae491a994
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-08 (Fri, 08 Nov 2013)



------------------
This commit was generated by Migit
2013-11-11 00:19:48 +01:00
Thilo Graf
53bb6a12d4 CProgressBar: remove comment
Origin commit data
------------------
Branch: ni/coolstream
Commit: eee3b5d78e
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-08-28 (Wed, 28 Aug 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-08-30 22:14:35 +02:00
Thilo Graf
9ea3a071b8 CZapitChannel: use unsigned char instead size_t
This removes some annoying warnings with specific compiler flags.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 71423089b0
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-07-11 (Thu, 11 Jul 2013)



------------------
This commit was generated by Migit
2013-07-21 22:03:27 +02:00
Thilo Graf
7c5313ef9a CProgressBar: add member paintShapes()
paintShapes() replaces paintBoxRel()
TODO: paint v-lines with CComponents


Origin commit data
------------------
Branch: ni/coolstream
Commit: 44759766af
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-15 (Sat, 15 Jun 2013)



------------------
This commit was generated by Migit
2013-06-16 00:34:05 +02:00
Thilo Graf
5544536a52 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
------------------
Branch: ni/coolstream
Commit: fb812f38e8
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-02 (Sun, 02 Jun 2013)



------------------
This commit was generated by Migit
2013-06-03 22:12:48 +02:00
Thilo Graf
d78cc8df20 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
------------------
Branch: ni/coolstream
Commit: f01a9071d2
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-12 (Fri, 12 Apr 2013)



------------------
This commit was generated by Migit
2013-04-16 08:26:55 +02:00
Thilo Graf
17aad85d79 CProgressBar: use already calculated position var for diagonal line
Origin commit data
------------------
Branch: ni/coolstream
Commit: cd1a4c89a8
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-08 (Mon, 08 Apr 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-04-16 08:26:54 +02:00
Thilo Graf
e6a024d11e CProgressBar: remove wrong intital value for frame thickness
Default value is 0, and should remain as specified in the base class.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 210ae1491d
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-05 (Fri, 05 Apr 2013)



------------------
This commit was generated by Migit
2013-04-06 08:33:51 +02:00
Thilo Graf
71248e0dc7 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
------------------
Branch: ni/coolstream
Commit: 860be9a412
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-01 (Mon, 01 Apr 2013)



------------------
This commit was generated by Migit
2013-04-02 09:31:05 +02:00