Thilo Graf
9735c670fd
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().
2013-04-28 16:48:08 +02:00
Thilo Graf
dfc6e2069e
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.
2013-04-27 22:20:10 +02:00
Thilo Graf
cc63773920
CComponentsText: add bool as return value for setTextFromFile()
2013-04-24 19:56:00 +02:00
Thilo Graf
cdfc544809
CComponentsText: add member to use file as text source
2013-04-24 19:48:39 +02:00
Michael Liebmann
3a19edda45
* CComponentsText: Use 'std::string' instead of 'const char*' for ct_text
2013-04-22 15:41:03 +01:00
Thilo Graf
dc373666e0
CComponentsText: add debug output, changes name of arg in iToString()
2013-04-16 08:26:55 +02:00
Thilo Graf
fb64fb5d35
CComponentsText: add overloaded member setText() for int vars
2013-04-16 08:26:55 +02:00
Thilo Graf
546b04b846
CComponentsText: add helper to convert integer to string
2013-04-16 08:26:54 +02:00
Thilo Graf
3a4543b8d2
CComponentsText: add member to control background paint on textbox objects
2013-04-04 09:56:53 +02:00
Thilo Graf
e23b03fde9
CComponentsText: paint always background before painting text
...
Ensures erase of old text, usefully to avoid often
repaints of embedded textbox objects or text items
2013-04-04 09:56:52 +02:00
Thilo Graf
0dc4686874
fix license text, sorry, was a c&p error
2013-03-21 11:37:00 +01:00
Thilo Graf
eee2cd0d41
CComponentsText: move overloaded setText() from header into main file
2013-03-18 12:04:50 +01:00
Thilo Graf
3ed9af87ad
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.
2013-03-06 11:28:18 +01:00