Commit Graph

28 Commits

Author SHA1 Message Date
Thilo Graf
42d3337a05 CComponentsPicture: simplify item init, adapt getHeight/getWidth members
Members getHeight/getWidth returns now image related values dependent of
scale mode


Origin commit data
------------------
Branch: ni/coolstream
Commit: 8227638c06
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-10-12 (Sun, 12 Oct 2014)



------------------
This commit was generated by Migit
2015-03-29 22:39:53 +02:00
Thilo Graf
4366ab349a 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.


Origin commit data
------------------
Branch: ni/coolstream
Commit: f75f0ed6e3
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-10-07 (Tue, 07 Oct 2014)



------------------
This commit was generated by Migit
2014-10-08 14:14:29 +04:00
Michael Liebmann
2795f29339 CComponentsPicture: Add parameter 'transparent'...
...to set the transparency of pictures

- Set default transparency for CComponentsChannelLogo to
 CFrameBuffer::TM_BLACK
 (Transparency when black content -> 'pseudo' transparency)

- Set default transparency for CComponentsPicture to
 CFrameBuffer::TM_NONE (No 'pseudo' transparency)


Origin commit data
------------------
Branch: ni/coolstream
Commit: a182fca81f
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-07-10 (Thu, 10 Jul 2014)

Origin message was:
------------------
CComponentsPicture: Add parameter 'transparent'...

...to set the transparency of pictures

- Set default transparency for CComponentsChannelLogo to
 CFrameBuffer::TM_BLACK
 (Transparency when black content -> 'pseudo' transparency)

- Set default transparency for CComponentsPicture to
 CFrameBuffer::TM_NONE (No 'pseudo' transparency)


------------------
This commit was generated by Migit
2014-07-10 16:38:09 +02:00
Michael Liebmann
02d85fad41 CComponentsChannelLogo: disable paint of logo background, it's not required here
- Fix calculation of logo width & height


Origin commit data
------------------
Branch: ni/coolstream
Commit: 3d805054f4
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-06-28 (Sat, 28 Jun 2014)



------------------
This commit was generated by Migit
2014-06-29 13:25:32 +02:00
Thilo Graf
a78751ea55 CComponentsPicture: use current instance of CPictureViewer
reduce precautionary too much unnecessary impact


Origin commit data
------------------
Branch: ni/coolstream
Commit: e6f6931b72
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-06-25 (Wed, 25 Jun 2014)



------------------
This commit was generated by Migit
2014-06-27 20:38:59 +02:00
Thilo Graf
f2da159bdf CComponentsPicture: structure of class highly simplified
It should be now easier to use images as objects. An initialized
picture object should provide all relevant properties and some
functionalities of picture viewer.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 5eb63b9515
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-06-20 (Fri, 20 Jun 2014)

Origin message was:
------------------
CComponentsPicture: structure of class highly simplified

It should be now easier to use images as objects. An initialized
picture object should provide all relevant properties and some
functionalities of picture viewer.


------------------
This commit was generated by Migit
2014-06-23 18:43:47 +02:00
Thilo Graf
ebd0111d37 CComponents: use neutrino debug mode for debug output
Origin commit data
------------------
Branch: ni/coolstream
Commit: 750691fbbf
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-03-08 (Sat, 08 Mar 2014)


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

------------------
This commit was generated by Migit
2014-04-02 08:40:21 +02: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
Thilo Graf
55de870783 CComponentsInfoBox, CComponentsPicture: add overloaded members setPicture()
Origin commit data
------------------
Branch: ni/coolstream
Commit: c34f25bb7d
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-02-26 (Wed, 26 Feb 2014)


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

------------------
This commit was generated by Migit
2014-03-03 08:54:09 +01:00
Thilo Graf
61ac8d4211 CComponentsPicture: fix item position
x/y position was not assigned here for internal pic_x/pic_y vars.
Therefore x/y was ignored.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 27c6bdccaf
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-02-14 (Fri, 14 Feb 2014)



------------------
This commit was generated by Migit
2014-02-16 19:11:38 +01:00
Thilo Graf
bd622c2e3f CComponentsPicture: add debug output for handled item dimensions and pos
Origin commit data
------------------
Branch: ni/coolstream
Commit: 14a3546b5f
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-02-03 (Mon, 03 Feb 2014)


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

------------------
This commit was generated by Migit
2014-02-05 11:56:48 +01:00
Thilo Graf
4685cc196b CComponentsPicture: rework constructors, clean ups
Origin commit data
------------------
Branch: ni/coolstream
Commit: 34fcdec276
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-02-03 (Mon, 03 Feb 2014)


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

------------------
This commit was generated by Migit
2014-02-05 11:56:48 +01:00
Thilo Graf
7c5efa3e85 CComponentsPicture: show paint mode in debug output
Origin commit data
------------------
Branch: ni/coolstream
Commit: 718824015a
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-02-03 (Mon, 03 Feb 2014)


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

------------------
This commit was generated by Migit
2014-02-05 11:56:48 +01:00
Thilo Graf
66242f7641 CComponents: replace __FUNCTION__ with __func__
__func__ is more suitable for portability


Origin commit data
------------------
Branch: ni/coolstream
Commit: 8442b39c28
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-12-15 (Sun, 15 Dec 2013)



------------------
This commit was generated by Migit
2013-12-18 15:13:19 +01:00
[CST] Focus
a03b97d8a6 components: remove initVarBasic and initVarItem calls from derived classes
Origin commit data
------------------
Branch: ni/coolstream
Commit: 93a326e9eb
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-11-27 (Wed, 27 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
Stefan Seyfried
fa17927b89 fix format string warnings
Origin commit data
------------------
Branch: ni/coolstream
Commit: 630c66330d
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-11-10 (Sun, 10 Nov 2013)


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

------------------
This commit was generated by Migit
2013-11-13 10:38:27 +01: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
f47146c6ea revert e813d9f32b
Was bad idea to rename. Other Classes can also inherit this. See CMenuTarget


Origin commit data
------------------
Branch: ni/coolstream
Commit: 6dd1da0628
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-25 (Fri, 25 Oct 2013)



------------------
This commit was generated by Migit
2013-10-26 23:25:59 +02:00
Thilo Graf
e813d9f32b CComponents: rename hide() to hideCC()
There are too many name conflicts with hide-members in other classes.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 6ee7fac1a5
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-24 (Thu, 24 Oct 2013)



------------------
This commit was generated by Migit
2013-10-24 21:39:04 +02:00
Thilo Graf
77a1002161 CComponentsPicture: add class CComponentsChannelLogo
Origin commit data
------------------
Branch: ni/coolstream
Commit: 992cac1a55
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-05 (Sat, 05 Oct 2013)


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

------------------
This commit was generated by Migit
2013-10-06 17:14:31 +02:00
Thilo Graf
7c0b3ab7f8 CComponentsPicture: add member initPosition()
Origin commit data
------------------
Branch: ni/coolstream
Commit: d88b28445f
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-15 (Sat, 15 Jun 2013)


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

------------------
This commit was generated by Migit
2013-06-16 00:34:06 +02:00
Thilo Graf
04d0a9dc38 CComponentsPicture: add member function paintPicture()
compact calling in paint()


Origin commit data
------------------
Branch: ni/coolstream
Commit: 4df8d1d088
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:04 +02:00
Thilo Graf
fc53c928a3 CComponents: split some header files
CComponentsInfoBox
CComponentsShapeCircle/Square
CComponentsDetailLine
CComponentsPIP
CComponentsText/CComponentsLabel
CComponentsPicture


Origin commit data
------------------
Branch: ni/coolstream
Commit: d39eaa22fc
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-05-26 (Sun, 26 May 2013)



------------------
This commit was generated by Migit
2013-05-27 09:30:50 +02:00
Thilo Graf
fe32cf32f4 CComponentsPicture: add debug output
Origin commit data
------------------
Branch: ni/coolstream
Commit: 3d35a30ecf
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-12 (Fri, 12 Apr 2013)


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

------------------
This commit was generated by Migit
2013-04-16 08:26:55 +02:00
Michael Liebmann
bfab2c1259 CComponentsPicture: initVarPicture() not execute if pic_name is blank
Origin commit data
------------------
Branch: ni/coolstream
Commit: bd47ef2060
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-04-04 (Thu, 04 Apr 2013)

Origin message was:
------------------
* CComponentsPicture: initVarPicture() not execute if pic_name is blank

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

------------------
This commit was generated by Migit
2013-04-04 16:10:15 +01:00
Thilo Graf
6d6cf7e177 fix license text, sorry, was a c&p error
Origin commit data
------------------
Branch: ni/coolstream
Commit: 0dc4686874
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-03-20 (Wed, 20 Mar 2013)


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

------------------
This commit was generated by Migit
2013-03-21 11:37:00 +01:00
Thilo Graf
64afa25a71 CComponentsPicture: fix build
Build can be broken with other build environments


Origin commit data
------------------
Branch: ni/coolstream
Commit: 061700a5f8
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-03-08 (Fri, 08 Mar 2013)



------------------
This commit was generated by Migit
2013-03-08 08:44:05 +01:00
Thilo Graf
5e27da7def CComponents: split cc_base.cpp
It's easier to work with smaller files.
Most files contain only one cc-class and their names are
derived on the particular class that is contained therein.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 3ed9af87ad
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-02-26 (Tue, 26 Feb 2013)



------------------
This commit was generated by Migit
2013-03-06 11:28:18 +01:00