Commit Graph

30 Commits

Author SHA1 Message Date
[CST] Focus
2bc184e5f0 CComponentsInfoBox: add switch to enable gradient for info box
Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Branch: ni/coolstream
Commit: 7016a86ca2
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2015-04-27 (Mon, 27 Apr 2015)



------------------
This commit was generated by Migit
2015-04-27 09:54:45 +02:00
Thilo Graf
613869c997 CComponentsInfoBox: fix scale height for larger picons
Origin commit data
------------------
Branch: ni/coolstream
Commit: a9c474e486
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-01-28 (Wed, 28 Jan 2015)


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

------------------
This commit was generated by Migit
2015-03-29 22:40:12 +02:00
Thilo Graf
d5c0951d0b CComponentsInfoBox: remove unnecessary call for kill()
partial revert of: CComponentsInfoBox: fix centering of image


Origin commit data
------------------
Branch: ni/coolstream
Commit: 592b0025d9
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-01-25 (Sun, 25 Jan 2015)

Origin message was:
------------------
CComponentsInfoBox: remove unnecessary call for kill()

partial revert of: CComponentsInfoBox: fix centering of image


------------------
This commit was generated by Migit
2015-03-29 22:40:11 +02:00
Thilo Graf
67fbc72ee8 CComponentsInfoBox: fix centering of image
Origin commit data
------------------
Branch: ni/coolstream
Commit: ebc9d28e0e
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:07 +02:00
Thilo Graf
408e2a2b40 CComponentsInfoBox: fix applying of properties
Some properties were not applied if cctext was already exists, eg. after
changed theme


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



------------------
This commit was generated by Migit
2015-03-29 22:39:52 +02:00
[CST] Focus
bf6c31373d gui/components/cc_item_infobox.cpp: set CTextBox save screen flag
Origin commit data
------------------
Branch: ni/coolstream
Commit: 59aca86523
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2015-03-06 (Fri, 06 Mar 2015)


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

------------------
This commit was generated by Migit
2015-03-06 14:14:00 +03:00
Jacek Jendrzej
5afc24dc67 use empty to check string
Origin commit data
------------------
Branch: ni/coolstream
Commit: 2b5e7b5ba3
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-01-09 (Fri, 09 Jan 2015)


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

------------------
This commit was generated by Migit
2015-01-09 17:15:11 +01:00
Thilo Graf
d32b5f31a6 Revert "gui/components/cc_item_infobox.cpp: enable gradient on request"
This reverts commit 351ddd4a13.

Gradient features are intended for theme related implementations.
It's not ripe at the moment.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 18bc87592b
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-01-03 (Sat, 03 Jan 2015)



------------------
This commit was generated by Migit
2015-01-03 19:18:36 +01:00
[CST] Focus
351ddd4a13 gui/components/cc_item_infobox.cpp: enable gradient on request
Origin commit data
------------------
Branch: ni/coolstream
Commit: b1c31fadd1
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2015-01-02 (Fri, 02 Jan 2015)


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

------------------
This commit was generated by Migit
2015-01-02 15:16:51 +03:00
Thilo Graf
ed8f9d6914 CComponentsInfoBox: small cleanup
Origin commit data
------------------
Branch: ni/coolstream
Commit: 4b73121eef
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-10-07 (Tue, 07 Oct 2014)


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

------------------
This commit was generated by Migit
2014-10-08 14:14:33 +04: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
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
[CST] Focus
94a9bb4141 components: cleanup destructors - remove calls to functions,
already called inside base classes destructors


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



------------------
This commit was generated by Migit
2013-11-29 17:27:10 +04:00
[CST] Focus
9933c38d12 gui/components/cc_item_infobox.cpp: fix memleak:
CComponentsInfoBox ctor -> CComponentsText ctor -> initCCText(), initVarInfobox() -> initVarText() ->
created ct_textbox = NULL, pointer lost;
comment calls in CComponentsInfoBox dtor, which already called from base CComponentsText dtor


Origin commit data
------------------
Branch: ni/coolstream
Commit: 1378ef4ad0
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-11-26 (Tue, 26 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
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
5820028bb9 CComponents: rework position handling
The real position already used here, if item is bound to a parent.
(bound or embedded means: added with addCCItem() to a form)
This causes no separate calculation in paint methodes of embedded
sub items or sub forms and more nested sub forms.

CComponentsForm have also some new members
- exchangeCCItem() to exchange the order items
- setAppendOffset() to set an offset for auto append mode
 Autoappend is enabled if x or y have value -1 (defined also in CC_APPEND)
 x=horizontal, y=vertical
 Is this activated, no separate calculation of incremental offset
 is required.

However items with independent rendered parts, needs
a separate calculation. In some subclasses was this necessary.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 04300f1874
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-16 (Sun, 16 Jun 2013)

Origin message was:
------------------
CComponents: rework position handling

The real position already used here, if item is bound to a parent.
(bound or embedded means: added with addCCItem() to a form)
This causes no separate calculation in paint methodes of embedded
sub items or sub forms and more nested sub forms.

CComponentsForm have also some new members
- exchangeCCItem() to exchange the order items
- setAppendOffset() to set an offset for auto append mode
 Autoappend is enabled if x or y have value -1 (defined also in CC_APPEND)
 x=horizontal, y=vertical
 Is this activated, no separate calculation of incremental offset
 is required.

However items with independent rendered parts, needs
a separate calculation. In some subclasses was this necessary.


------------------
This commit was generated by Migit
2013-06-16 00:34:06 +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
96a9ba0836 CComponentsInfoBox: add missing define for text color
Origin commit data
------------------
Branch: ni/coolstream
Commit: cadb66e225
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-26 (Fri, 26 Apr 2013)


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

------------------
This commit was generated by Migit
2013-04-27 22:20:10 +02:00
Thilo Graf
b11f2f3cd2 CComponentsInfoBox: replace static parameter with inherited member
member value was not looped through


Origin commit data
------------------
Branch: ni/coolstream
Commit: f774eb833f
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-25 (Thu, 25 Apr 2013)



------------------
This commit was generated by Migit
2013-04-27 22:16:15 +02:00
Michael Liebmann
629f010372 CComponentsText: Use 'std::string' instead of 'const char*' for ct_text
Origin commit data
------------------
Branch: ni/coolstream
Commit: 3a19edda45
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-04-20 (Sat, 20 Apr 2013)

Origin message was:
------------------
* CComponentsText: Use 'std::string' instead of 'const char*' for ct_text

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

------------------
This commit was generated by Migit
2013-04-22 15:41:03 +01:00
Thilo Graf
e32f62315e CComponentsInfoBox: move statement for check of image name
Ensure empty pic object otherwise it can be retained on exit
of paintPicture(), if an instance of Infobox already exists.

supplement to e575e91329


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



------------------
This commit was generated by Migit
2013-04-06 08:49:16 +02:00
Michael Liebmann
e575e91329 CComponentsInfoBox: CComponentsPicture not create when no image to draw
Origin commit data
------------------
Branch: ni/coolstream
Commit: 095c0e1b04
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-04-04 (Thu, 04 Apr 2013)

Origin message was:
------------------
* CComponentsInfoBox: CComponentsPicture not create when no image to draw

------------------
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
2a5b1a990c CComponentsInfoBox: prevent background paint in infobox
Background for text is not needed here


Origin commit data
------------------
Branch: ni/coolstream
Commit: 4e7f81a126
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-04 (Thu, 04 Apr 2013)



------------------
This commit was generated by Migit
2013-04-04 09:56:53 +02:00
Thilo Graf
8f6e2ca65a CComponentsInfoBox: ensure new init of picture
Delete causes a clean background because it is possible that remnants are
left after changed font size.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 9af63bdc72
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-03-25 (Mon, 25 Mar 2013)



------------------
This commit was generated by Migit
2013-03-25 20:23:35 +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
20b8c1bcd1 CComponentsInfoBox: delete clean textbox object before create new object
Ensures a clean environment for changed properties of a textbox in infobox.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 0fa2bbc7c9
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-03-18 (Mon, 18 Mar 2013)



------------------
This commit was generated by Migit
2013-03-19 08:10:49 +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