Commit Graph

10 Commits

Author SHA1 Message Date
Thilo Graf
2afd15ea32 components: use const bool& parameter in paint methodes
Origin commit data
------------------
Commit: 07d8f07d4d
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-10-27 (Sun, 27 Oct 2019)
2019-10-27 22:56:49 +01:00
Thilo Graf
234d1d785f 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
------------------
Commit: fd55de0ff4
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-01-03 (Wed, 03 Jan 2018)
2018-01-03 22:35:01 +01:00
vanhofen
0a5d4a6bdb rename SLIDER defines
Origin commit data
------------------
Commit: 978d72ac00
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-14 (Thu, 14 Sep 2017)

Origin message was:
------------------
- rename SLIDER defines
2017-09-14 22:00:41 +02: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
46495cbf40 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
------------------
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.
2014-06-23 18:43:47 +02: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
Thilo Graf
39306fc99e CComponentsSlider: fix vertical arrangement for slider body
Centering was broken.


Origin commit data
------------------
Commit: 72cb72695f
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-01-12 (Sun, 12 Jan 2014)
2014-01-12 13:57:11 +01:00
Thilo Graf
871324ec19 CComponentsSlider: fix debug output
Origin commit data
------------------
Commit: 2ca246a30d
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-01-12 (Sun, 12 Jan 2014)
2014-01-12 13:57:10 +01:00
Thilo Graf
a17e73a494 CComponentsSlider: fix possible null pointer dereference
csl_body_obj, csl_slider_obj,
otherwise it is redundant to check it against null.


Origin commit data
------------------
Commit: 0079782696
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-12-25 (Wed, 25 Dec 2013)
2013-12-25 19:50:31 +01:00
Thilo Graf
1378fccb47 CComponents: add new class CComponentsSlider()
Provides a slider item


Origin commit data
------------------
Commit: 28e344d600
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-12-22 (Sun, 22 Dec 2013)
2013-12-23 23:55:43 +01:00