Michael Liebmann
ba1e514747
CTextBox: Remove workaround for minimally text_border_width
...
- Default value is now 1 in CComponentsText
2013-06-12 01:32:24 +02:00
FlatTV
96da2f95b8
- CComponentsText: add possibility to set a text border
2013-06-06 22:08:46 +02:00
svenhoefer
b318c15895
- cc_frm_header: rework positions/dimensions calculations
2013-05-30 21:51:12 +02:00
Thilo Graf
d39eaa22fc
CComponents: split some header files
...
CComponentsInfoBox
CComponentsShapeCircle/Square
CComponentsDetailLine
CComponentsPIP
CComponentsText/CComponentsLabel
CComponentsPicture
2013-05-27 09:30:50 +02:00
Thilo Graf
76a2c44014
CComponentsText: force text paint after hide
...
After hide()it was not possible to paint text without forceTextPaint()
and define of ct_old_text in setText() was not enough.
2013-04-28 16:48:11 +02:00
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