Commit Graph

742 Commits

Author SHA1 Message Date
[CST] Focus
0d9a44526b Merge branch 'dvbsi++' of coolstreamtech.de:cst-public-gui-neutrino into dvbsi++
Origin commit data
------------------
Commit: 0a557e4056
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-11-30 (Fri, 30 Nov 2012)
2012-11-30 12:34:29 +04:00
Michael Liebmann
0c43d3449f Moviebrowser: Fix segfault if movie list is empty
Origin commit data
------------------
Commit: 8c5a09712e
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2012-11-27 (Tue, 27 Nov 2012)

Origin message was:
------------------
* Moviebrowser: Fix segfault if movie list is empty
2012-11-27 13:01:19 +01:00
Michael Liebmann
0e46db5e71 Moviebrowser: Show rec icon when recording in progress.
Origin commit data
------------------
Commit: 964c6f9af0
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2012-11-26 (Mon, 26 Nov 2012)

Origin message was:
------------------
* Moviebrowser: Show rec icon when recording in progress.
2012-11-27 01:20:13 +01:00
[CST] Focus
b2cf810929 gui/widget/menue.cpp: fix hintbox color if theme changed;
fix hint paint for page-up button


Origin commit data
------------------
Commit: 6ea053c2e9
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-11-21 (Wed, 21 Nov 2012)
2012-11-21 20:37:54 +04:00
Michael Liebmann
0d8f3b2549 CTextBox: Fix displayed text width in function setText()
Origin commit data
------------------
Commit: 11b2242d2e
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2012-11-08 (Thu, 08 Nov 2012)

Origin message was:
------------------
* CTextBox: Fix displayed text width in function setText()
2012-11-08 22:37:37 +01:00
Thilo Graf
5345b55a58 CTextBox: remove dub allocation of m_pcFontText
Origin commit data
------------------
Commit: 08e66deb75
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-07 (Wed, 07 Nov 2012)
2012-11-08 22:37:18 +01:00
vanhofen
da7908bfad stringinput.cpp: center NEUTRINO_ICON_NUMERIC_PAD horizontally
Origin commit data
------------------
Commit: c9a6a8721b
Author: vanhofen <vanhofen@gmx.de>
Date: 2012-11-07 (Wed, 07 Nov 2012)

Origin message was:
------------------
- stringinput.cpp: center NEUTRINO_ICON_NUMERIC_PAD horizontally
2012-11-07 13:49:01 +01:00
Thilo Graf
8549bf695d CTextBox: remove dub var
revert of c25af575bf


Origin commit data
------------------
Commit: 94a49e3a51
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-05 (Mon, 05 Nov 2012)
2012-11-05 22:04:42 +01:00
Thilo Graf
c25af575bf CTextBox: fix build
merge error, max_width is not declared


Origin commit data
------------------
Commit: 6016c60b4c
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-05 (Mon, 05 Nov 2012)
2012-11-05 21:26:22 +01:00
Thilo Graf
abfc54b3fe CMsgBox: fix build
merge error: mode is not declared


Origin commit data
------------------
Commit: 694d995415
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-05 (Mon, 05 Nov 2012)
2012-11-05 21:26:22 +01:00
Thilo Graf
f1ef3effce CTextBox: modified AUTO_WIDTH, add some printfs and comments
If is set m_nMaxWidth, then use this to calculate m_cFrameTextRel.iWidth.
To set m_nMaxWidth use setWindowMaxDimensions(width) and setText(maxwidth).
This should help, to paint text with clean linebreaks
into defined textboxes.


Origin commit data
------------------
Commit: 474a35a254
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-10-26 (Fri, 26 Oct 2012)
2012-11-05 21:26:22 +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
466164e876 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
------------------
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.
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
656ac34059 CTextBox: fix freezes in channellist and bedit
refreshTextLineArray() was to much in reSizeMainFrameHeight() and
initFramesRel(), caused endless loops under certain circumstances


Origin commit data
------------------
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
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
f6b393fe03 CTextBox: trivial change for better readability in initVar()
Origin commit data
------------------
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()
2012-11-05 21:26:20 +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
ab9dccaa75 CTextBox: style, reworked statements for better readability
Origin commit data
------------------
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
2012-11-05 21:26:20 +01:00
Thilo Graf
8cbe889f50 CTextBox: remove frameBuffer = NULL
already happens in initVar()


Origin commit data
------------------
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()
2012-11-05 21:26:20 +01:00
Thilo Graf
3008ec98bc 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
------------------
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
2012-11-05 21:26:20 +01:00
Thilo Graf
062ec23f6c 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
------------------
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.
2012-11-05 21:26:20 +01:00
Thilo Graf
1e537fe322 CTextBox: some small style clean ups for better readability
Origin commit data
------------------
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
2012-11-05 21:26:19 +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
Thilo Graf
c4dbf75417 CTextBox: remove printf
it' makes osd too slow


Origin commit data
------------------
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
2012-11-05 21:26:18 +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
Jacek Jendrzej
64958af84d src/gui/widget/stringinput.cpp: fix hide Background
Origin commit data
------------------
Commit: 83a4b871d6
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-11-02 (Fri, 02 Nov 2012)
2012-11-02 14:01:43 +01:00
[CST] Focus
a20724d102 gui/widget/menue.cpp:
always call paintHint(-1) in hide() to clear hintbox;
comment additional hintbox w/h from full_width/full_height - CComponents should clear itself;
dont always save/restore menu hint screens - why it was enabled ??
comment GenericMenuBack->setHint() in ::exec - checkHints() do the same


Origin commit data
------------------
Commit: 405ac286e3
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-10-19 (Fri, 19 Oct 2012)
2012-10-19 19:30:28 +04:00
[CST] Focus
fbbcfb67b9 gui/widget/components.cpp: fix CComponentsInfoBox::hide():
call paint() with fullPaint=true to hide frame


Origin commit data
------------------
Commit: 5d055324ec
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-10-19 (Fri, 19 Oct 2012)
2012-10-19 19:22:44 +04:00
[CST] Focus
1100a5ed51 gui/widget/components.h: change paint() do_save_bg arg default to false - save screen used rare
Origin commit data
------------------
Commit: 90d03ede27
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-10-19 (Fri, 19 Oct 2012)
2012-10-19 19:19:55 +04:00
Jacek Jendrzej
313db338c2 buttons.cpp: -fix skip last button txt
Origin commit data
------------------
Commit: 840ba47db1
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-10-18 (Thu, 18 Oct 2012)
2012-10-18 17:11:56 +02:00
gixxpunk
13ba395dc2 Fix daylight saving time bug in timers (backport from tuxbox-cvs)
Origin commit data
------------------
Commit: 636f7cef05
Author: gixxpunk <thomas.harfmann@gmail.com>
Date: 2012-10-13 (Sat, 13 Oct 2012)

Origin message was:
------------------
- Fix daylight saving time bug in timers (backport from tuxbox-cvs)
2012-10-13 21:36:38 +02:00
Jacek Jendrzej
d9f17aa4dc moviebrowser.cpp: -fix2 vfd
Origin commit data
------------------
Commit: e45aa72605
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-09-14 (Fri, 14 Sep 2012)
2012-09-14 20:12:04 +02:00
Jacek Jendrzej
9868a4308b remove doubles include
Origin commit data
------------------
Commit: a3bfab0bcd
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-09-11 (Tue, 11 Sep 2012)
2012-09-11 20:31:33 +02: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
Jacek Jendrzej
57a7091601 fixes strncpy & buf size
Origin commit data
------------------
Commit: 7359504dd7
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-08-07 (Tue, 07 Aug 2012)

Origin message was:
------------------
-fixes strncpy & buf size
2012-08-07 18:51:44 +02:00
Jacek Jendrzej
41e57ce7bc comment out never used
Origin commit data
------------------
Commit: 9124c20f31
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-08-04 (Sat, 04 Aug 2012)
2012-08-04 10:03:19 +02:00
[CST] Focus
54b8229cf7 gui/widget/stringinput_ext.h: add CIntInput method to force char* value update
Origin commit data
------------------
Commit: f363cf7f0e
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-07-31 (Tue, 31 Jul 2012)
2012-07-31 18:17:30 +04:00
Michael Liebmann
6c255d9c7d CComponentsInfoBox: Small display bug fixed
Origin commit data
------------------
Commit: bc8128d8d7
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2012-07-24 (Tue, 24 Jul 2012)

Origin message was:
------------------
* CComponentsInfoBox: Small display bug fixed
2012-07-25 04:37:01 +01:00
[CST] Focus
f5ce12d5d5 gui/widget/menue.cpp: disable 'back' hint, if no other hints present
Origin commit data
------------------
Commit: 04f1e9c3f2
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-07-24 (Tue, 24 Jul 2012)
2012-07-24 15:13:18 +04:00
Michael Liebmann
0cf0d0b4ae src/gui/widget/menue.cpp: Comment paintHint debug output
Origin commit data
------------------
Commit: 1511edb51e
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2012-07-24 (Tue, 24 Jul 2012)

Origin message was:
------------------
* src/gui/widget/menue.cpp: Comment paintHint debug output
2012-07-23 23:49:03 +01:00
Michael Liebmann
32fcf8fc2f CComponentsInfoBox: Optimize display
- 'only body paint' can be switched off


Origin commit data
------------------
Commit: 0c6ab70c27
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2012-07-23 (Mon, 23 Jul 2012)

Origin message was:
------------------
* CComponentsInfoBox: Optimize display

- 'only body paint' can be switched off
2012-07-23 09:07:11 +01:00
Michael Liebmann
978f8406ad CComponentsInfoBox: Switch parameter h and w in constructor
Origin commit data
------------------
Commit: a5d8bd4e13
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2012-07-22 (Sun, 22 Jul 2012)

Origin message was:
------------------
* CComponentsInfoBox: Switch parameter h and w in constructor
2012-07-22 17:16:37 +01:00
Michael Liebmann
e1073714c3 CComponentsInfoBox: Optimize display
- Paint full info box only when activating the menu,
 otherwise only body paint


Origin commit data
------------------
Commit: cb375cc214
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2012-07-22 (Sun, 22 Jul 2012)

Origin message was:
------------------
* CComponentsInfoBox: Optimize display

- Paint full info box only when activating the menu,
 otherwise only body paint
2012-07-22 17:16:37 +01:00
Michael Liebmann
c4e6dfb87e Correct restore the screen to exit menu
Origin commit data
------------------
Commit: ecadf79a8f
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2012-07-20 (Fri, 20 Jul 2012)

Origin message was:
------------------
* Correct restore the screen to exit menu
2012-07-22 17:16:37 +01:00