Commit Graph

42 Commits

Author SHA1 Message Date
Thilo Graf
4a2a66399d CTextBox: add static function to get largest line of passed text
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)
2016-11-10 11:19:09 +01:00
Thilo Graf
1523582d35 CTextBox: add static function to get count of lines from passed text
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)
2016-11-10 11:15:43 +01:00
vanhofen
eba7ee1d70 textbox: add clear() function
Origin commit data
------------------
Commit: 0b504f8c60
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-31 (Mon, 31 Oct 2016)

Origin message was:
------------------
- textbox: add clear() function
2016-10-31 23:06:47 +01:00
vanhofen
bdec73fbc2 textbox: add member to get background-radius
Origin commit data
------------------
Commit: 3f28e50c84
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-29 (Sat, 29 Oct 2016)

Origin message was:
------------------
- textbox: add member to get background-radius
2016-10-29 10:00:25 +02:00
vanhofen
892603fe68 rename customcolor.h -> color_custom.h; reduce unneeded inludes
Origin commit data
------------------
Commit: 104d21e784
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)

Origin message was:
------------------
- rename customcolor.h -> color_custom.h; reduce unneeded inludes
2016-10-10 14:19:55 +02:00
Thilo Graf
bbeb88d18f CTextBox: add signal handler into scroll methodes
Origin commit data
------------------
Commit: 35a08fc5dd
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-01-17 (Sun, 17 Jan 2016)
2016-01-17 23:37:31 +01:00
Thilo Graf
d5ce36ab27 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


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
2015-12-27 14:42:26 +01:00
Thilo Graf
215d6c1e46 CComponentsText: add switch for utf8 disable/enable
Origin commit data
------------------
Commit: ccdaacb0a0
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-07-12 (Sun, 12 Jul 2015)
2015-07-12 21:08:25 +02:00
Thilo Graf
c86b9a47f9 CTextBox: add switch for utf8 disable/enable
Origin commit data
------------------
Commit: 37c863d141
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-07-12 (Sun, 12 Jul 2015)
2015-07-12 21:08:25 +02:00
[CST] Focus
8a1f71604a gui/widget/textbox.cpp: add flag to control screen save, default is false;
disable hide in desctructor


Origin commit data
------------------
Commit: 72997591a0
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2015-03-06 (Fri, 06 Mar 2015)
2015-03-06 14:13:59 +03:00
Thilo Graf
76c467e353 CTextBox: add member to get text mode
Origin commit data
------------------
Commit: e606484575
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-08-14 (Thu, 14 Aug 2014)
2014-09-14 00:01:01 +02:00
Thilo Graf
fec91793d8 CTextBox: fix return value of getMaxLineWidth()
m_nMaxLineWidth was never used


Origin commit data
------------------
Commit: f902c7a1e3
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-08-03 (Sun, 03 Aug 2014)
2014-08-26 17:26:55 +04:00
Michael Liebmann
7135b7649d CTextBox: Add Flag m_renderMode (Font::FULLBG) for RenderString()
Origin commit data
------------------
Commit: 1b9037e8e8
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-06-27 (Fri, 27 Jun 2014)
2014-06-29 13:25:32 +02:00
Thilo Graf
e5b967a37f CBox:remove unused members
Origin commit data
------------------
Commit: 9bba42a3d9
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-03 (Sat, 03 May 2014)
2014-05-16 09:08:23 +02:00
Thilo Graf
5acfff5968 CTextBox: use member getFontTextHeight() as public
Origin commit data
------------------
Commit: 172383b6bb
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-07 (Thu, 07 Nov 2013)
2013-11-11 00:19:47 +01:00
Thilo Graf
c59a486f11 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.


Origin commit data
------------------
Commit: 7e91fecc02
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-31 (Thu, 31 Oct 2013)
2013-11-11 00:19:45 +01:00
Thilo Graf
81a24f8717 CTextBox: fix repaint of background of textbox on scroll and changed text
suplement to c3ecec9612


Origin commit data
------------------
Commit: 5c7e926a86
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-27 (Sun, 27 Oct 2013)
2013-10-27 14:53:59 +01:00
Michael Liebmann
1e6c8d4420 CTextBox: Add function getLinesPerPage()
- 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
2013-10-24 21:19:06 +02:00
Thilo Graf
be503ea748 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.


Origin commit data
------------------
Commit: adba310c1c
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-21 (Mon, 21 Oct 2013)
2013-10-24 21:19:06 +02:00
Thilo Graf
b7ea3c3f76 CTextBox: ensure paint of background to avoid overlapped letters
Origin commit data
------------------
Commit: 08e23a917c
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-09-16 (Mon, 16 Sep 2013)
2013-09-19 08:24:40 +02:00
Thilo Graf
510240d2b8 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.


Origin commit data
------------------
Commit: a6c43a62bd
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-07-12 (Fri, 12 Jul 2013)
2013-07-21 22:02:43 +02:00
FlatTV
43a759358d 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>


Origin commit data
------------------
Commit: 153d2f3c78
Author: FlatTV <FlatTV@gmx.de>
Date: 2013-07-01 (Mon, 01 Jul 2013)
2013-07-07 14:24:02 +02:00
Michael Liebmann
8ed53286e8 CTextBox: rename setFontTextHeight() => getFontTextHeight()
Origin commit data
------------------
Commit: 2c740f1db8
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-05-01 (Wed, 01 May 2013)

Origin message was:
------------------
* CTextBox: rename setFontTextHeight() => getFontTextHeight()
2013-05-04 21:42:10 +02:00
Thilo Graf
96e8ced8a3 CTextBox: user CORNER_ALL for corner type parameter to paint text background
Origin commit data
------------------
Commit: a7d8597f05
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-28 (Sun, 28 Apr 2013)
2013-04-28 16:48:11 +02:00
Michael Liebmann
b8a04490f4 CTextBox: When using only digits to display:
- Use for calculating digit height
 font->getDigitHeight() / font->getDigitOffset()


Origin commit data
------------------
Commit: fccb07cfc9
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-04-24 (Wed, 24 Apr 2013)

Origin message was:
------------------
* 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
ee2b0d5c34 CTextBox/CMsgBox: reduce data type conflicts
Origin commit data
------------------
Commit: e1a586a9b1
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-14 (Fri, 14 Sep 2012)
2013-03-06 11:28:04 +01:00
Thilo Graf
b005a658bb CTextBox: add methodes setTextMode() and setBackGroundColor()
Origin commit data
------------------
Commit: 1d6bf7397e
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-14 (Fri, 14 Sep 2012)
2013-03-06 11:28:04 +01:00
Thilo Graf
82ff6f298d CTextBox: initialize variables in constructor (style)
Origin commit data
------------------
Commit: 4007cf4a6d
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-26 (Sun, 26 Aug 2012)
2013-03-06 11:27:57 +01:00
Thilo Graf
813249a861 CTextBox: add option BOTTOM
BOTTOM was missed


Origin commit data
------------------
Commit: fee315f642
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-24 (Mon, 24 Sep 2012)

Origin message was:
------------------
*CTextBox: add option BOTTOM

BOTTOM was missed
2012-11-05 21:26:22 +01:00
Thilo Graf
def1c260ab CTextBox: add optional text align TOP
Origin commit data
------------------
Commit: 33e684bc20
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-22 (Sat, 22 Sep 2012)

Origin message was:
------------------
*CTextBox: add optional text align TOP
2012-11-05 21:26:21 +01:00
Thilo Graf
9dfacfc01b CTextbox: add text align option RIGHT
This supports paint of text on the right side of frame and
also considers scroll bar width.


Origin commit data
------------------
Commit: c25edc0b74
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-22 (Sat, 22 Sep 2012)

Origin message was:
------------------
*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
b22d086526 CTextBox: add missing textmode comments
Origin commit data
------------------
Commit: 07fa858d6c
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-22 (Sat, 22 Sep 2012)

Origin message was:
------------------
*CTextBox: add missing textmode comments
2012-11-05 21:26:21 +01:00
Thilo Graf
5384692aec CTextbox: add members setWindowMaxDimensions, setWindowMinDimensions
so we can control max an mnin width and height


Origin commit data
------------------
Commit: 130d7bf6c2
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-22 (Sat, 22 Sep 2012)
2012-11-05 21:26:21 +01:00
Thilo Graf
61c9429840 CTextbox: add Member setWindowPos()
Origin commit data
------------------
Commit: 550300078e
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-19 (Wed, 19 Sep 2012)

Origin message was:
------------------
*CTextbox: add Member setWindowPos()
2012-11-05 21:26:21 +01:00
Thilo Graf
b556c305a5 CTextBox: add member initFramesAndTextArray(), move max_width into initVar
this combines initFramesRel() and	refreshTextLineArray()


Origin commit data
------------------
Commit: ed3be21ebd
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-19 (Wed, 19 Sep 2012)

Origin message was:
------------------
*CTextBox: add member initFramesAndTextArray(), move max_width into initVar

this combines initFramesRel() and	refreshTextLineArray()
2012-11-05 21:26:20 +01:00
Thilo Graf
053ae5f20b CTextBox/CMsgBox: reduce data type conflicts
Origin commit data
------------------
Commit: 342fa5f88a
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-14 (Fri, 14 Sep 2012)

Origin message was:
------------------
*CTextBox/CMsgBox: reduce data type conflicts
2012-11-05 21:26:19 +01:00
Thilo Graf
61ff4888e9 CTextBox: add methodes setTextMode() and setBackGroundColor()
Origin commit data
------------------
Commit: d2b9429669
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-14 (Fri, 14 Sep 2012)

Origin message was:
------------------
*CTextBox: add methodes setTextMode() and setBackGroundColor()
2012-11-05 21:26:19 +01:00
Jacek Jendrzej
d74377dd47 initialize not initialized var
Origin commit data
------------------
Commit: 926e0ce141
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-11-05 (Mon, 05 Nov 2012)

Origin message was:
------------------
initialize not initialized var
2012-11-05 09:24:51 +01:00
Thilo Graf
ed6438b87d 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()


Origin commit data
------------------
Commit: 39306221b1
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-16 (Thu, 16 Aug 2012)

Origin message was:
------------------
*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
0c31abbf1e includes: add global.h
Origin commit data
------------------
Commit: d1f22aa20c
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-15 (Wed, 15 Aug 2012)

Origin message was:
------------------
*includes: add global.h
2012-08-21 09:48:22 +01:00
[CST] Focus
ab18912676 indent
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1969 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: 8ed0fe202a
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2011-12-13 (Tue, 13 Dec 2011)
2011-12-13 16:43:30 +00:00
mrcolor
cb8dd3394d our current experimental Neutrino branch
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@27 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: bc5bd4154e
Author: mrcolor <mrcolor@e54a6e83-5905-42d5-8d5c-058d10e6a962>
Date: 2009-12-08 (Tue, 08 Dec 2009)
2009-12-08 11:05:11 +00:00