Commit Graph

15 Commits

Author SHA1 Message Date
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
57cb8cc3e0 *CTextBox: style, reworked statements for better readability 2012-11-05 21:26:20 +01:00
Thilo Graf
ad72c62471 *CTextBox: remove frameBuffer = NULL
already happens in initVar()
2012-11-05 21:26:20 +01:00
Thilo Graf
d7dc44146c *CTextBox: add missed init of lineBreakWidth
lineBreakWidth is not initialized, but some othe values also not defined,
here is seems somthing wrong
2012-11-05 21:26:20 +01:00
Thilo Graf
55896356f1 *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.
2012-11-05 21:26:20 +01:00
Thilo Graf
323393548d *CTextBox: some small style clean ups for better readability 2012-11-05 21:26:19 +01:00
Thilo Graf
69c22d1594 *CTextBox: remove printf
it' makes osd too slow
2012-11-05 21:26:18 +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
[CST] Focus
b014b965f4 gui/widget/textbox.cpp: fix string access outside of its size 2012-05-10 12:18:11 +04:00
micha-bbg
b4186edcb8 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
2011-11-05 23:32:53 +00:00
satbaby
8f59cc96ec 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
2010-02-07 14:32:21 +00:00
mws
6e718d8987 fix shadow stuff and initializers....
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@118 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-23 12:08:43 +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