Commit Graph

19 Commits

Author SHA1 Message Date
Thilo Graf
0c6b5c2aa7 CTextBox: set text y position depends of lines count
If we have only one line, text will be painted horizontal centered,
otherwise text begins on top of frame.


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

Origin message was:
------------------
*CTextBox: set text y position depends of lines count

If we have only one line, text will be painted horizontal centered,
otherwise text begins on top of frame.


------------------
This commit was generated by Migit
2012-11-05 21:26:21 +01:00
Thilo Graf
861c1cbb02 CTextbox: add members setWindowMaxDimensions, setWindowMinDimensions
so we can control max an mnin width and height


Origin commit data
------------------
Branch: ni/coolstream
Commit: 130d7bf6c2
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-22 (Sat, 22 Sep 2012)



------------------
This commit was generated by Migit
2012-11-05 21:26:21 +01:00
Thilo Graf
63d6184d73 CTextBox: fix freezes in channellist and bedit
refreshTextLineArray() was to much in reSizeMainFrameHeight() and
initFramesRel(), caused endless loops under certain circumstances


Origin commit data
------------------
Branch: ni/coolstream
Commit: 1244af4666
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-20 (Thu, 20 Sep 2012)

Origin message was:
------------------
*CTextBox: fix freezes in channellist and bedit

refreshTextLineArray() was to much in reSizeMainFrameHeight() and
initFramesRel(), caused endless loops under certain circumstances


------------------
This commit was generated by Migit
2012-11-05 21:26:21 +01:00
Thilo Graf
a5f0e7bd60 CTextBox: trivial change for better readability in initVar()
Origin commit data
------------------
Branch: ni/coolstream
Commit: a7bdf41dfe
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-19 (Wed, 19 Sep 2012)

Origin message was:
------------------
*CTextBox: trivial change for better readability in initVar()

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-11-05 21:26:20 +01:00
Thilo Graf
831e3397a7 CTextBox: add member initFramesAndTextArray(), move max_width into initVar
this combines initFramesRel() and	refreshTextLineArray()


Origin commit data
------------------
Branch: ni/coolstream
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()


------------------
This commit was generated by Migit
2012-11-05 21:26:20 +01:00
Thilo Graf
c6d5efe614 CTextBox: style, reworked statements for better readability
Origin commit data
------------------
Branch: ni/coolstream
Commit: 57cb8cc3e0
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-19 (Wed, 19 Sep 2012)

Origin message was:
------------------
*CTextBox: style, reworked statements for better readability

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-11-05 21:26:20 +01:00
Thilo Graf
064705f276 CTextBox: remove frameBuffer = NULL
already happens in initVar()


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

Origin message was:
------------------
*CTextBox: remove frameBuffer = NULL

already happens in initVar()


------------------
This commit was generated by Migit
2012-11-05 21:26:20 +01:00
Thilo Graf
be2d3834ef CTextBox: add missed init of lineBreakWidth
lineBreakWidth is not initialized, but some othe values also not defined,
here is seems somthing wrong


Origin commit data
------------------
Branch: ni/coolstream
Commit: d7dc44146c
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-18 (Tue, 18 Sep 2012)

Origin message was:
------------------
*CTextBox: add missed init of lineBreakWidth

lineBreakWidth is not initialized, but some othe values also not defined,
here is seems somthing wrong


------------------
This commit was generated by Migit
2012-11-05 21:26:20 +01:00
Thilo Graf
25259790dd CTextBox: move framebuffer define only into initVar
framebuffer = NULL was called in all constructors,
so it should be enough to define this only at one point.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 55896356f1
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-05 (Mon, 05 Nov 2012)

Origin message was:
------------------
*CTextBox: move framebuffer define only into initVar

framebuffer = NULL was called in all constructors,
so it should be enough to define this only at one point.


------------------
This commit was generated by Migit
2012-11-05 21:26:20 +01:00
Thilo Graf
e08f50cf85 CTextBox: some small style clean ups for better readability
Origin commit data
------------------
Branch: ni/coolstream
Commit: 323393548d
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-16 (Sun, 16 Sep 2012)

Origin message was:
------------------
*CTextBox: some small style clean ups for better readability

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-11-05 21:26:19 +01:00
Thilo Graf
1058407ecb CTextBox: remove printf
it' makes osd too slow


Origin commit data
------------------
Branch: ni/coolstream
Commit: 69c22d1594
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-27 (Mon, 27 Aug 2012)

Origin message was:
------------------
*CTextBox: remove printf

it' makes osd too slow


------------------
This commit was generated by Migit
2012-11-05 21:26:18 +01:00
Jacek Jendrzej
f35b64432a initialize not initialized var
Origin commit data
------------------
Branch: ni/coolstream
Commit: 926e0ce141
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-11-05 (Mon, 05 Nov 2012)

Origin message was:
------------------
initialize not initialized var

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-11-05 09:24:51 +01:00
Thilo Graf
7ea4245e91 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
------------------
Branch: ni/coolstream
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()


------------------
This commit was generated by Migit
2012-08-21 09:48:22 +01:00
Thilo Graf
0199babd06 includes: add global.h
Origin commit data
------------------
Branch: ni/coolstream
Commit: d1f22aa20c
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-15 (Wed, 15 Aug 2012)

Origin message was:
------------------
*includes: add global.h

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-08-21 09:48:22 +01:00
[CST] Focus
623386385b gui/widget/textbox.cpp: fix string access outside of its size
Origin commit data
------------------
Branch: ni/coolstream
Commit: b014b965f4
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-05-10 (Thu, 10 May 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-05-10 12:18:11 +04:00
Michael Liebmann
0649921d7e Prevents division by zero.
- In particular text box dimensions was a division by zero.


git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1831 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: b4186edcb8
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2011-11-06 (Sun, 06 Nov 2011)



------------------
This commit was generated by Migit
2011-11-05 23:32:53 +00:00
Jacek Jendrzej
c17f47f698 change 'long long' tom int64_t'; change variable buf to new delete;
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@291 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 8f59cc96ec
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2010-02-07 (Sun, 07 Feb 2010)



------------------
This commit was generated by Migit
2010-02-07 14:32:21 +00:00
mws
860fc16726 fix shadow stuff and initializers....
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@118 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 6e718d8987
Author: mws <mws@e54a6e83-5905-42d5-8d5c-058d10e6a962>
Date: 2009-12-23 (Wed, 23 Dec 2009)



------------------
This commit was generated by Migit
2009-12-23 12:08:43 +00:00
mrcolor
bcecfb6585 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
------------------
Branch: ni/coolstream
Commit: bc5bd4154e
Author: mrcolor <mrcolor@e54a6e83-5905-42d5-8d5c-058d10e6a962>
Date: 2009-12-08 (Tue, 08 Dec 2009)



------------------
This commit was generated by Migit
2009-12-08 11:05:11 +00:00