CORNER_ALL is not the same like CORNER_NONE.
Could cause problems in the evaluation.
Origin commit data
------------------
Commit: 8142ed47cc
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-27 (Sun, 27 Nov 2016)
supplement to: - textbox: fix box width in round corners mode
Radius was always subtracted in all text modes.
TODO: value of m_nBgRadius itself is not considered at the moment.
Origin commit data
------------------
Commit: 7031dc1da4
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-21 (Mon, 21 Nov 2016)
This could be useful eg. for size calculations.
Origin commit data
------------------
Commit: 91c7588aa6
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-10 (Thu, 10 Nov 2016)
I'm missing a function that returns current line count outside
of a CTextBox object. This could be useful eg. for size calculations
before object init etc
Origin commit data
------------------
Commit: ac8d05f5e1
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-09 (Wed, 09 Nov 2016)
error: declaration of ‘clear’ shadows a member of 'this'
Origin commit data
------------------
Commit: 0f5aa73033
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-11-02 (Wed, 02 Nov 2016)
Origin message was:
------------------
- textbox: fix compilation for generic hardware
error: declaration of ‘clear’ shadows a member of 'this'
and add VISUAL_DEBUG define. That paints beautiful colored boxes
to see what's going on.
Origin commit data
------------------
Commit: c074f1365f
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Origin message was:
------------------
- textbox: fix text position in mode CENTER and mode RIGHT; ...
and add VISUAL_DEBUG define. That paints beautiful colored boxes
to see what's going on.
Check of text change is not enough. Scrollboxes could have some problems.
Dimension changes must be considered too and this is to much effort at
the moment. Use of OnAfterScrollPage is much easier.
this reverts: 47b4ea481c
Origin commit data
------------------
Commit: 8afe4495e7
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-02-18 (Thu, 18 Feb 2016)
Avoids possible usage of wrong color after init.
Origin commit data
------------------
Commit: 4d1780486d
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-02-02 (Tue, 02 Feb 2016)
Screen save now always disabled by default and can be controlled
outside of relevant objects.
Origin commit data
------------------
Commit: 9d72b086a2
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-01-21 (Thu, 21 Jan 2016)
- split hasChanged() into hasChangedPos(), hasChangedDim()
- add return value bool to enableBackgroundPaint(), enableSaveScreen()
- add clearScreenBuffer(), for unified usage in destructor and functions
- add OnAfterRefresh() as a signal/slot handler, this allows to use
external methodes as callbacks after painted text
Origin commit data
------------------
Commit: a2171dad4a
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-11-18 (Wed, 18 Nov 2015)
Origin message was:
------------------
CTextBox: add/modify methodes for screen handlings
- split hasChanged() into hasChangedPos(), hasChangedDim()
- add return value bool to enableBackgroundPaint(), enableSaveScreen()
- add clearScreenBuffer(), for unified usage in destructor and functions
- add OnAfterRefresh() as a signal/slot handler, this allows to use
external methodes as callbacks after painted text
- The x position of the text could assume negative values,
when the text length was greater than the specified range.
Origin commit data
------------------
Commit: a6487fd951
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-10-16 (Thu, 16 Oct 2014)
Origin message was:
------------------
CTextBox: Fix center / right text display
- The x position of the text could assume negative values,
when the text length was greater than the specified range.
m_nMaxLineWidth was never used
Origin commit data
------------------
Commit: f902c7a1e3
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-08-03 (Sun, 03 Aug 2014)
Paint routine of text has changed, so it can be useful to affect the old
behavior of text repaint beacause of text is painted only if
text or some other properties have changed.
Default value of force_repaint is true, so we have the same behavior like
before changes.
Origin commit data
------------------
Commit: 7e91fecc02
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-31 (Thu, 31 Oct 2013)
- Add AUTO_LINEBREAK_NO_BREAKCHARS to textbox_modes for
auto linebreak without '-' and '.' char
Origin commit data
------------------
Commit: 3d404afc7f
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-10-18 (Fri, 18 Oct 2013)
Origin message was:
------------------
CTextBox: Add function getLinesPerPage()
- Add AUTO_LINEBREAK_NO_BREAKCHARS to textbox_modes for
auto linebreak without '-' and '.' char
It's not new, but this involves also other properties,
like color or position...
It's possible that more properties are required, maybe needs to be watched
and evaluation of comparison might require further revisions.
Origin commit data
------------------
Commit: adba310c1c
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-21 (Mon, 21 Oct 2013)
This may prevent undefined behavior or even possible segfaults
Origin commit data
------------------
Commit: 302649eca4
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-20 (Sun, 20 Oct 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