Commit Graph

63 Commits

Author SHA1 Message Date
Thilo Graf
2025d92dbe CComponentsText: init CComponentsText without paint of text background
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)
2013-04-28 16:48:08 +02:00
Thilo Graf
5e92bd4cb6 CComponentsText: paint text only on text change, add members to handle this
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)
2013-04-27 22:20:10 +02:00
Thilo Graf
be86748e20 CComponentsText: add bool as return value for setTextFromFile()
Origin commit data
------------------
Commit: cc63773920
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-24 (Wed, 24 Apr 2013)
2013-04-24 19:56:00 +02:00
Thilo Graf
f25a1ef797 CComponentsText: add member to use file as text source
Origin commit data
------------------
Commit: cdfc544809
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-22 (Mon, 22 Apr 2013)
2013-04-24 19:48:39 +02:00
Michael Liebmann
4c87ca5fea CComponentsText: Use 'std::string' instead of 'const char*' for ct_text
Origin commit data
------------------
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
2013-04-22 15:41:03 +01:00
Thilo Graf
325a23b058 CComponentsText: add debug output, changes name of arg in iToString()
Origin commit data
------------------
Commit: dc373666e0
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-12 (Fri, 12 Apr 2013)
2013-04-16 08:26:55 +02:00
Thilo Graf
be1c95266b CComponentsText: add overloaded member setText() for int vars
Origin commit data
------------------
Commit: fb64fb5d35
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-10 (Wed, 10 Apr 2013)
2013-04-16 08:26:55 +02:00
Thilo Graf
dbc9c1e08f CComponentsText: add helper to convert integer to string
Origin commit data
------------------
Commit: 546b04b846
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-10 (Wed, 10 Apr 2013)
2013-04-16 08:26:54 +02:00
Thilo Graf
6004ccf321 CComponentsText: add member to control background paint on textbox objects
Origin commit data
------------------
Commit: 3a4543b8d2
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-04 (Thu, 04 Apr 2013)
2013-04-04 09:56:53 +02:00
Thilo Graf
3c0d3d4279 CComponentsText: paint always background before painting text
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)
2013-04-04 09:56:52 +02:00
Thilo Graf
0e9ff3d23c fix license text, sorry, was a c&p error
Origin commit data
------------------
Commit: 0dc4686874
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-03-20 (Wed, 20 Mar 2013)
2013-03-21 11:37:00 +01:00
Thilo Graf
c3ec552f46 CComponentsText: move overloaded setText() from header into main file
Origin commit data
------------------
Commit: eee2cd0d41
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-03-15 (Fri, 15 Mar 2013)
2013-03-18 12:04:50 +01:00
Thilo Graf
de00ec3d5e 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
------------------
Commit: 3ed9af87ad
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-02-26 (Tue, 26 Feb 2013)
2013-03-06 11:28:18 +01:00