Commit Graph

41 Commits

Author SHA1 Message Date
Thilo Graf
f2bdac723c cc_item_picture.h: fix build warnings
Import base class methods setWidth and setHeight to avoid
-Woverloaded-virtual warnings


Origin commit data
------------------
Branch: ni/coolstream
Commit: f026ec1eb1
Author: Thilo Graf <dbt@novatux.de>
Date: 2025-03-10 (Mon, 10 Mar 2025)



------------------
This commit was generated by Migit
2025-06-10 22:23:21 +02:00
Thilo Graf
8a71d802d3 cc_*_picture: add own file for cc_frm_picture.
Re-adding compatibility with old background behavior.
Should mainly fix behavior with lua plugins whose are using
background paint as default and without explicit enabled background.


Origin commit data
------------------
Branch: ni/coolstream
Commit: dda1574930
Author: Thilo Graf <dbt@novatux.de>
Date: 2021-12-02 (Thu, 02 Dec 2021)



------------------
This commit was generated by Migit
2021-12-02 21:22:38 +01:00
Thilo Graf
c494eb9b4f cc_item_picture: rework for svg-support, simplified structure
- simplified icon and logohandling in headers
- add svg examples, fix some other tests inside test_menu.cpp


Origin commit data
------------------
Branch: ni/coolstream
Commit: 06fac0b58e
Author: Thilo Graf <dbt@novatux.de>
Date: 2021-11-14 (Sun, 14 Nov 2021)



------------------
This commit was generated by Migit
2021-11-14 22:12:27 +01:00
Thilo Graf
e8929e8cbd components: use const bool& parameter in paint methodes
Origin commit data
------------------
Branch: ni/coolstream
Commit: 07d8f07d4d
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-10-27 (Sun, 27 Oct 2019)


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

------------------
This commit was generated by Migit
2019-10-27 22:56:49 +01:00
TangoCash
aeef8cc297 show event logos only in infoviewer
Origin commit data
------------------
Branch: ni/coolstream
Commit: 9433cf88e5
Author: TangoCash <eric@loxat.de>
Date: 2018-12-25 (Tue, 25 Dec 2018)


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

------------------
This commit was generated by Migit
2018-12-25 01:12:16 +01:00
Thilo Graf
dc7b24112d clean up: remove unnecessary virtual declarations from cc classes
Origin commit data
------------------
Branch: ni/coolstream
Commit: 6660f9835f
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-12-08 (Sat, 08 Dec 2018)


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

------------------
This commit was generated by Migit
2018-12-08 23:15:13 +01:00
Thilo Graf
91910a5849 src/gui/components/cc_item_picture.h: remove CComponentsPictureScalable
not longer required


Origin commit data
------------------
Branch: ni/coolstream
Commit: 49bd76271c
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-01-23 (Tue, 23 Jan 2018)



------------------
This commit was generated by Migit
2018-01-23 18:06:28 +01:00
Thilo Graf
2d36f08ca0 cc: expand cc-type with name
Required for internal operations where it is useful to have object
names and for better debugging.


Origin commit data
------------------
Branch: ni/coolstream
Commit: fd55de0ff4
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-01-03 (Wed, 03 Jan 2018)



------------------
This commit was generated by Migit
2018-01-03 22:35:01 +01:00
Thilo Graf
1bd8340f14 cc_item_picture.h: remove virtual declaration from setPicture()
Is not really required.
Avoids possible compile/linker errors like "...no reference..." for some
coming changes.


Origin commit data
------------------
Branch: ni/coolstream
Commit: e9883cbd2d
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-12-03 (Sun, 03 Dec 2017)



------------------
This commit was generated by Migit
2017-12-04 09:35:57 +01:00
Thilo Graf
e01c99e5e8 cc_types: add missing image types
Origin commit data
------------------
Branch: ni/coolstream
Commit: 30b58f4940
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-05-02 (Tue, 02 May 2017)


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

------------------
This commit was generated by Migit
2017-05-02 21:07:52 +02:00
Thilo Graf
bf914a5885 CComponentsPicture: add methode to get real image size
Origin commit data
------------------
Branch: ni/coolstream
Commit: 0aae491ccc
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-25 (Tue, 25 Apr 2017)


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

------------------
This commit was generated by Migit
2017-04-25 11:38:30 +02:00
Thilo Graf
43519e858d CComponentsPicture: add explicit methodes to set image position
Origin commit data
------------------
Branch: ni/coolstream
Commit: 5361296ff4
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-16 (Sun, 16 Apr 2017)


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

------------------
This commit was generated by Migit
2017-04-16 16:53:06 +02:00
Stefan Seyfried
c6eae66341 reduce impact of driver/pictureviewer.h header file
before, more than 175 files depended on it, now it's about 35


Origin commit data
------------------
Branch: ni/coolstream
Commit: 47b1a8b642
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-06 (Mon, 06 Feb 2017)



------------------
This commit was generated by Migit
2017-02-07 18:38:45 +01:00
Thilo Graf
b337697b1e CCDraw: add function for blink effect for cc items
NOTE: experimental, for examples see CTestMenu class


Origin commit data
------------------
Branch: ni/coolstream
Commit: 717dec02c5
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-20 (Sun, 20 Nov 2016)



------------------
This commit was generated by Migit
2016-11-20 14:09:19 +01:00
Thilo Graf
5db54fc647 Try to rework footer
* try to fix enableButtonShadow(), seems an init is missing
* shadow fixed


Origin commit data
------------------
Branch: ni/coolstream
Commit: 2e631fd0ce
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-09-24 (Sat, 24 Sep 2016)



------------------
This commit was generated by Migit
2016-10-24 10:31:25 +02:00
vanhofen
5987637998 colors: add COL_FRAME wrapper
Origin commit data
------------------
Branch: ni/coolstream
Commit: 75fe6e407d
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)

Origin message was:
------------------
- colors: add COL_FRAME wrapper

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

------------------
This commit was generated by Migit
2016-10-10 14:19:54 +02:00
vanhofen
9ed55c28e3 ccomponents: use COL_SHADOW for shadows
Origin commit data
------------------
Branch: ni/coolstream
Commit: 1f60557e0b
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-08-16 (Tue, 16 Aug 2016)

Origin message was:
------------------
- ccomponents: use COL_SHADOW for shadows

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

------------------
This commit was generated by Migit
2016-08-16 08:37:54 +02:00
Thilo Graf
79c713928f CComponentsPicture: use clearCache() in destructor for unified handling
Origin commit data
------------------
Branch: ni/coolstream
Commit: 1e646734f3
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-02-05 (Fri, 05 Feb 2016)


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

------------------
This commit was generated by Migit
2016-02-16 10:28:23 +01:00
Thilo Graf
00b19ad88a CComponentsPicture: try to rework init behavior inside object
need_init var shoul help to avoid not required inits.
Size of cached image are packed into own vars, should avoid possible
overwriting with current dimensions.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 93777853f0
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-02-05 (Fri, 05 Feb 2016)



------------------
This commit was generated by Migit
2016-02-16 10:27:50 +01:00
Thilo Graf
c1517e2cef CComponentsPicture: add member to get current image name
Origin commit data
------------------
Branch: ni/coolstream
Commit: 65fe634e85
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-02-03 (Wed, 03 Feb 2016)


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

------------------
This commit was generated by Migit
2016-02-16 09:39:04 +01:00
Thilo Graf
4852414416 CComponentsPicture: move SetTransparent() to public
Origin commit data
------------------
Branch: ni/coolstream
Commit: c11ea8f50b
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-01-04 (Mon, 04 Jan 2016)


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

------------------
This commit was generated by Migit
2016-01-05 15:06:18 +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
620e25d442 CComponentsPicture: fix and simplify image scale handling
Aspect ratio was not considered in some constallations, To see on button
icons and oversized custom channellogos in channllist.
Now this is handeled on init of image object and setters for width and height.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 53a350d5af
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-07-11 (Sat, 11 Jul 2015)



------------------
This commit was generated by Migit
2015-07-17 15:35:18 +02:00
Thilo Graf
8ddfb1beda CComponentsPicture: add sub classes for scalable images and channel logos
This could replace call of CComponentsPicture objects with explicit
dimension values = 0


Origin commit data
------------------
Branch: ni/coolstream
Commit: 80457beaf6
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-04-04 (Sat, 04 Apr 2015)



------------------
This commit was generated by Migit
2015-04-04 22:35:57 +02:00
Thilo Graf
ef521d955f CComponentsPicture: fix icon size/scale handling
Origin commit data
------------------
Branch: ni/coolstream
Commit: e8d46a8a55
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-01-14 (Wed, 14 Jan 2015)


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

------------------
This commit was generated by Migit
2015-03-29 22:40:07 +02:00
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
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
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
56e1a2abed CComponentsPicture: add comment to isPicPainted()
Not to confuse with isPainted(). Because isPicPainted() is related to
internal image.


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



------------------
This commit was generated by Migit
2014-03-03 08:54:11 +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
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
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
cbc2b193af CComponents: add unfied header file for general include of cc classes
Provides a unified header file, so it is not required to select a
certain header file.


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



------------------
This commit was generated by Migit
2013-10-24 21:19:07 +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