Commit Graph

33 Commits

Author SHA1 Message Date
[CST] Focus
72997591a0 gui/widget/textbox.cpp: add flag to control screen save, default is false;
disable hide in desctructor
2015-03-06 14:13:59 +03:00
Thilo Graf
e606484575 CTextBox: add member to get text mode 2014-09-14 00:01:01 +02:00
Thilo Graf
f902c7a1e3 CTextBox: fix return value of getMaxLineWidth()
m_nMaxLineWidth was never used
2014-08-26 17:26:55 +04:00
M. Liebmann
1b9037e8e8 CTextBox: Add Flag m_renderMode (Font::FULLBG) for RenderString() 2014-06-29 13:25:32 +02:00
Thilo Graf
9bba42a3d9 CBox:remove unused members 2014-05-16 09:08:23 +02:00
Thilo Graf
172383b6bb CTextBox: use member getFontTextHeight() as public 2013-11-11 00:19:47 +01:00
Thilo Graf
7e91fecc02 CTextBox: add new parameter to setText() force_repaint
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.
2013-11-11 00:19:45 +01:00
Thilo Graf
5c7e926a86 CTextBox: fix repaint of background of textbox on scroll and changed text
suplement to ca22cb9241
2013-10-27 14:53:59 +01:00
Michael Liebmann
3d404afc7f CTextBox: Add function getLinesPerPage()
- Add AUTO_LINEBREAK_NO_BREAKCHARS to textbox_modes for
  auto linebreak without '-' and '.' char
2013-10-24 21:19:06 +02:00
Thilo Graf
adba310c1c CTextBox: ensure paint of text and background only if required
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.
2013-10-24 21:19:06 +02:00
Thilo Graf
08e23a917c CTextBox: ensure paint of background to avoid overlapped letters 2013-09-19 08:24:40 +02:00
Thilo Graf
a6c43a62bd CComponentsText: try to use an inherited version of CBox class
It's a partial solution to use full functionality for size handling
of CTextBox in CComponentsText.
2013-07-21 22:02:43 +02:00
FlatTV
153d2f3c78 CTextBox: expand parameters of member setTextBorderWidth()
This allows to use different horizontal and vertical width of borders
in text boxes.

Signed-off-by: Thilo Graf <dbt@novatux.de>
2013-07-07 14:24:02 +02:00
Michael Liebmann
2c740f1db8 * CTextBox: rename setFontTextHeight() => getFontTextHeight() 2013-05-04 21:42:10 +02:00
Thilo Graf
a7d8597f05 CTextBox: user CORNER_ALL for corner type parameter to paint text background 2013-04-28 16:48:11 +02:00
Michael Liebmann
fccb07cfc9 * CTextBox: When using only digits to display:
- Use for calculating digit height
  font->getDigitHeight() / font->getDigitOffset()
2013-04-28 16:48:09 +02:00
Thilo Graf
e1a586a9b1 CTextBox/CMsgBox: reduce data type conflicts 2013-03-06 11:28:04 +01:00
Thilo Graf
1d6bf7397e CTextBox: add methodes setTextMode() and setBackGroundColor() 2013-03-06 11:28:04 +01:00
Thilo Graf
4007cf4a6d CTextBox: initialize variables in constructor (style) 2013-03-06 11:27:57 +01:00
Thilo Graf
fee315f642 *CTextBox: add option BOTTOM
BOTTOM was missed
2012-11-05 21:26:22 +01:00
Thilo Graf
33e684bc20 *CTextBox: add optional text align TOP 2012-11-05 21:26:21 +01:00
Thilo Graf
c25edc0b74 *CTextbox: add text align option RIGHT
This supports paint of text on the right side of frame and
also considers scroll bar width.
2012-11-05 21:26:21 +01:00
Thilo Graf
07fa858d6c *CTextBox: add missing textmode comments 2012-11-05 21:26:21 +01:00
Thilo Graf
130d7bf6c2 CTextbox: add members setWindowMaxDimensions, setWindowMinDimensions
so we can control max an mnin width and height
2012-11-05 21:26:21 +01:00
Thilo Graf
550300078e *CTextbox: add Member setWindowPos() 2012-11-05 21:26:21 +01:00
Thilo Graf
ed3be21ebd *CTextBox: add member initFramesAndTextArray(), move max_width into initVar
this combines initFramesRel() and	refreshTextLineArray()
2012-11-05 21:26:20 +01:00
Thilo Graf
342fa5f88a *CTextBox/CMsgBox: reduce data type conflicts 2012-11-05 21:26:19 +01:00
Thilo Graf
d2b9429669 *CTextBox: add methodes setTextMode() and setBackGroundColor() 2012-11-05 21:26:19 +01:00
satbaby
926e0ce141 initialize not initialized var 2012-11-05 09:24:51 +01:00
Thilo Graf
39306221b1 *CTextbox: Required functions for CCompoments
- Add member to disable background box
- Add setter for text an background color
- Add setTextBorderWidth() & setTextFont()
- Calculate y-position of text in refreshText()
2012-08-21 09:48:22 +01:00
Thilo Graf
d1f22aa20c *includes: add global.h 2012-08-21 09:48:22 +01:00
focus
8ed0fe202a indent
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1969 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-12-13 16:43:30 +00:00
mrcolor
bc5bd4154e our current experimental Neutrino branch
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@27 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-08 11:05:11 +00:00