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)
__func__ is more suitable for portability
Origin commit data
------------------
Commit: 8442b39c28
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-12-15 (Sun, 15 Dec 2013)
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
------------------
Commit: 8ae491a994
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-08 (Fri, 08 Nov 2013)
this provides a combining form, that contains a text object with label
Origin commit data
------------------
Commit: d8514b19ee
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-01 (Fri, 01 Nov 2013)
Was bad idea to rename. Other Classes can also inherit this. See CMenuTarget
Origin commit data
------------------
Commit: 6dd1da0628
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-25 (Fri, 25 Oct 2013)
There are too many name conflicts with hide-members in other classes.
Origin commit data
------------------
Commit: 6ee7fac1a5
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-24 (Thu, 24 Oct 2013)
- Function is used for determine the number of lines
in a text box in AUTO_HIGH mode.
Signed-off-by: Thilo Graf <dbt@novatux.de>
Origin commit data
------------------
Commit: ad630c5acb
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-10-23 (Wed, 23 Oct 2013)
Origin message was:
------------------
CComponentsText: Add function getTextLinesAutoHeight()
- Function is used for determine the number of lines
in a text box in AUTO_HIGH mode.
Signed-off-by: Thilo Graf <dbt@novatux.de>
It's a partial solution to use full functionality for size handling
of CTextBox in CComponentsText.
Origin commit data
------------------
Commit: a6c43a62bd
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-07-12 (Fri, 12 Jul 2013)
Obtain of one instance of CBox() should working
just as like a new instance.
Origin commit data
------------------
Commit: 25c40a63dd
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-07-07 (Sun, 07 Jul 2013)
- If necessary, Correct data types of the color values
Origin commit data
------------------
Commit: c60c5c5ce3
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-07-11 (Thu, 11 Jul 2013)
This allows to use different horizontal and vertical width of borders
in text boxes.
Signed-off-by: Thilo Graf <dbt@novatux.de>
Origin commit data
------------------
Commit: 153d2f3c78
Author: FlatTV <FlatTV@gmx.de>
Date: 2013-07-01 (Mon, 01 Jul 2013)
- Default value is now 1 in CComponentsText
Origin commit data
------------------
Commit: ba1e514747
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-06-12 (Wed, 12 Jun 2013)
Origin commit data
------------------
Commit: 96da2f95b8
Author: FlatTV <FlatTV@gmx.de>
Date: 2013-06-06 (Thu, 06 Jun 2013)
Origin message was:
------------------
- CComponentsText: add possibility to set a text border
After hide()it was not possible to paint text without forceTextPaint()
and define of ct_old_text in setText() was not enough.
Origin commit data
------------------
Commit: 76a2c44014
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-27 (Sat, 27 Apr 2013)
This avoids unnecessary render of backgrounds in textboxes. If it does,
so it's possible to enable it subsequently with doPaintTextBoxBg().
Origin commit data
------------------
Commit: 9735c670fd
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-26 (Fri, 26 Apr 2013)
It can be usefull to hold unchanged text to avoid unnecessary text
paintings. It's also also possible to force paint of text,
use forceTextPaint(). Use textChanged(), to evaluate current text changes.
Origin commit data
------------------
Commit: dfc6e2069e
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-26 (Fri, 26 Apr 2013)
Ensures erase of old text, usefully to avoid often
repaints of embedded textbox objects or text items
Origin commit data
------------------
Commit: e23b03fde9
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-03 (Wed, 03 Apr 2013)
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
------------------
Commit: 3ed9af87ad
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-02-26 (Tue, 26 Feb 2013)