Commit Graph

742 Commits

Author SHA1 Message Date
Thilo Graf
e6be3e3c53 CShellWindow: add debug output for error ident
Origin commit data
------------------
Commit: 3896d7ceec
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-28 (Sun, 28 Dec 2014)
2015-12-28 12:13:37 +01:00
Thilo Graf
8805f5d07d CShellWindow: use full screen for shell window
Origin commit data
------------------
Commit: 9f565a2dd0
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-05-22 (Fri, 22 May 2015)
2015-12-28 12:13:36 +01:00
Thilo Graf
58ab2d52e4 CShellWindow: use internal debug functionality, set init value for pid
Origin commit data
------------------
Commit: cd7f4bc79c
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-25 (Tue, 25 Nov 2014)
2015-12-28 12:13:36 +01:00
Thilo Graf
b49751bbf6 CShellWindow: optimize error review after error message
Show close button in window, give user possibility to read error listing
before close the window!


Origin commit data
------------------
Commit: 04ad939ea7
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-24 (Mon, 24 Nov 2014)
2015-12-28 12:13:36 +01:00
Thilo Graf
6091f9c155 CShellWindow: evaluate error output for plausible message output
Origin commit data
------------------
Commit: 14779cce55
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-24 (Mon, 24 Nov 2014)
2015-12-28 12:13:35 +01:00
Thilo Graf
a11d4719a3 CShellWindow: clean up constructor/destructor
Most tasks of this class were dispersed in the constructor and destructor.
Tasks are better placed in Members.


Origin commit data
------------------
Commit: dbfa0859cf
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-10-05 (Sun, 05 Oct 2014)
2015-12-28 12:13:33 +01:00
Thilo Graf
942006e6e7 CShellWindow: remove useless framebuffer callings
Not to see here a reason for call of framebuffer methods.
This is already done by textbox object.


Origin commit data
------------------
Commit: f41d4cd973
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-10-05 (Sun, 05 Oct 2014)
2015-12-28 12:13:32 +01:00
Thilo Graf
4848747bb4 CShellWindow: add new enum option ACKNOWLEDGE_MSG
allows to show a messagebox instead a small ok button


Origin commit data
------------------
Commit: 3408dbd833
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-10-05 (Sun, 05 Oct 2014)
2015-12-28 12:13:25 +01:00
Thilo Graf
93dca289a6 CShellWindow: visualize of 'ready'status and simplify paint of 'ok' button
Origin commit data
------------------
Commit: 3f6eaa11a3
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-10-04 (Sat, 04 Oct 2014)
2015-12-28 12:13:25 +01:00
Thilo Graf
42210fb77c CShellWindow: handle dynamic window position, additional paint window only if not painted
Origin commit data
------------------
Commit: c8a4d7f6b9
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-10-04 (Sat, 04 Oct 2014)
2015-12-28 12:13:24 +01:00
Thilo Graf
8f0b51bc58 CShellWindow: apply clearer enum format declaration
Origin commit data
------------------
Commit: 305511a395
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-10-04 (Sat, 04 Oct 2014)
2015-12-28 12:13:24 +01:00
Thilo Graf
f04da41440 CMenuWidget: rework cc modules implementation
- don't create header instance on every widget paint.
- remove parameters from hide(), not needed anymore
- add signal/slot OnBeforePaint(), OnAfterHide()
- try to fix infoclock handling
- add member ResetModules()
- allow separator to paint with gradient


Origin commit data
------------------
Commit: 77518102f8
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-11-18 (Wed, 18 Nov 2015)
2015-12-27 14:42:28 +01:00
Thilo Graf
72a289a90c components: rework classes
- outsourced some classes cc_item.cpp/h, cc_draw.cpp/h
- added extra methodes for simple use of some basic components extra.cpp/h
- rework clock handling: use timer class, reworked members for
 enable/disable clock with external timer events,
 tryed to fix some display issues related with infoclock and
 time osd clock in moviebrowser, channellist, menuus
- reworked hide/kill handling, removed parameter for hide(), try to use
 cached backgrounds for other constallations, paint cache, image cache (all beta)
- reworked shadow/frame handling, add shadow modes for left/right
 arrangement, TODO: repaint for existant instances required
- reworked color gradient assignment (beta)

... Note: I had a data crash in my local git tree
and i tryed to restore my historie, but most was lost. Therefore here
the commit is large


Origin commit data
------------------
Commit: 0146511f38
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-11-18 (Wed, 18 Nov 2015)

Origin message was:
------------------
components: rework classes

- outsourced some classes cc_item.cpp/h, cc_draw.cpp/h
- added extra methodes for simple use of some basic components extra.cpp/h
- rework clock handling: use timer class, reworked members for
 enable/disable clock with external timer events,
 tryed to fix some display issues related with infoclock and
 time osd clock in moviebrowser, channellist, menuus
- reworked hide/kill handling, removed parameter for hide(), try to use
 cached backgrounds for other constallations, paint cache, image cache (all beta)
- reworked shadow/frame handling, add shadow modes for left/right
 arrangement, TODO: repaint for existant instances required
- reworked color gradient assignment (beta)

... Note: I had a data crash in my local git tree
and i tryed to restore my historie, but most was lost. Therefore here
the commit is large
2015-12-27 14:42:27 +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
vanhofen
70170c6791 menue: fix format warning 'too many arguments'
Origin commit data
------------------
Commit: 92abb85a9d
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-12-21 (Mon, 21 Dec 2015)

Origin message was:
------------------
- menue: fix format warning 'too many arguments'
2015-12-22 13:14:18 +01:00
vanhofen
02d4c8e674 menue: don't paint hotkey icons on deactivated items; use dummy icon
Origin commit data
------------------
Commit: 809274d750
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-12-21 (Mon, 21 Dec 2015)

Origin message was:
------------------
- menue: don't paint hotkey icons on deactivated items; use dummy icon
2015-12-22 13:14:18 +01:00
Thilo Graf
e5e740fcf7 Main Menu: try to add dynamic possibility to disable items on runtime
The issue is that it's not really possible to disable/enable menu items on
runtime with an existant menu widget instance eg with personalized menu items.

Here we need a dynamic solution to disable items depends on stb-mode (mode_ts, mode_tv etc)
This should be solved here with an additional parameter for personalized items.

New paramter is named: disable_condition
Possible alvailable values at the moment are:

 DCOND_MODE_NONE as default

 DCOND_MODE_TV
 DCOND_MODE_RADIO
 DCOND_MODE_TS

includes some improvements by Sven

- menue: remove old_iconName handling
 ... icons should be painted on deactivated items too

- menue: try to fix position <-> selection missmatch


Origin commit data
------------------
Commit: 1f95f38d32
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-12-13 (Sun, 13 Dec 2015)

Origin message was:
------------------
Main Menu: try to add dynamic possibility to disable items on runtime

The issue is that it's not really possible to disable/enable menu items on
runtime with an existant menu widget instance eg with personalized menu items.

Here we need a dynamic solution to disable items depends on stb-mode (mode_ts, mode_tv etc)
This should be solved here with an additional parameter for personalized items.

New paramter is named: disable_condition
Possible alvailable values at the moment are:

 DCOND_MODE_NONE as default

 DCOND_MODE_TV
 DCOND_MODE_RADIO
 DCOND_MODE_TS

includes some improvements by Sven

- menue: remove old_iconName handling
 ... icons should be painted on deactivated items too

- menue: try to fix position <-> selection missmatch
2015-12-22 13:14:18 +01:00
Michael Liebmann
54e7e45ab9 Disable multimedia plugins and video functions...
...(movie player & upnp browser) when movieplayer is in use


Origin commit data
------------------
Commit: 189b2e0fb0
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-08 (Tue, 08 Dec 2015)
2015-12-08 12:01:25 +01:00
vanhofen
fce301541b listbox and upnpbrowser: fix pagedown logic
Origin commit data
------------------
Commit: d422e7e649
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-11-08 (Sun, 08 Nov 2015)

Origin message was:
------------------
- listbox and upnpbrowser: fix pagedown logic
2015-11-08 19:46:35 +01:00
Michael Liebmann
1d5f135331 Apollo/Kronos: Use backup with readmtdJFFS2() also for var partition
Origin commit data
------------------
Commit: 6121e57fbc
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-09-22 (Tue, 22 Sep 2015)
2015-09-22 13:41:13 +02:00
Michael Liebmann
548838742c Display[Error|Info]Message: Add optional parameter 'Caption'
Origin commit data
------------------
Commit: 8ad20d4513
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-09-17 (Thu, 17 Sep 2015)
2015-09-17 12:12:26 +02:00
Thilo Graf
27de6c182d CMenuWidget: remove double assignment of info box color
Origin commit data
------------------
Commit: 89cc6628ca
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-07-17 (Fri, 17 Jul 2015)
2015-07-17 17:31:57 +02:00
Thilo Graf
323357fcb1 CTextBox: fix calculated but not used parameter
Origin commit data
------------------
Commit: 638832f535
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-07-17 (Fri, 17 Jul 2015)
2015-07-17 17:30:41 +02:00
Thilo Graf
6ca27a836d CTextBox: fix calculated but not used parameter
Origin commit data
------------------
Commit: 672ae3fdb1
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-07-17 (Fri, 17 Jul 2015)
2015-07-17 17:07:14 +02:00
Thilo Graf
81935b504c CTextBox: consider utf8 mode parameter for correct render width, if required
Origin commit data
------------------
Commit: 4e002bdf66
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-07-13 (Mon, 13 Jul 2015)
2015-07-17 16:01:20 +02: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
vanhofen
2e3fc2b18d menue: allow brief hints in all introItems
Origin commit data
------------------
Commit: 524563f448
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-05-19 (Tue, 19 May 2015)

Origin message was:
------------------
- menue: allow brief hints in all introItems
2015-05-19 12:28:28 +02:00
vanhofen
f466617ce5 menu: use brief hint in start_wizards first steps
Origin commit data
------------------
Commit: c87ccae290
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-05-14 (Thu, 14 May 2015)

Origin message was:
------------------
- menu: use brief hint in start_wizards first steps
2015-05-15 03:46:50 +02:00
vanhofen
7882347718 start_wizard: use a global enum; switch detection from bool to int
Origin commit data
------------------
Commit: af90286a30
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-05-15 (Fri, 15 May 2015)

Origin message was:
------------------
- start_wizard: use a global enum; switch detection from bool to int
2015-05-15 03:46:50 +02:00
vanhofen
16cbca020e menu: add hint-icon and hint-text to "continue" menu items
Origin commit data
------------------
Commit: d9b3e9420a
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-05-15 (Fri, 15 May 2015)

Origin message was:
------------------
- menu: add hint-icon and hint-text to "continue" menu items
2015-05-15 03:46:50 +02:00
vanhofen
3429bd79b2 fix and use ICONSDIR variable; move ICONSSDIR_VAR to global.h
Origin commit data
------------------
Commit: 89a11de651
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-05-06 (Wed, 06 May 2015)

Origin message was:
------------------
- fix and use ICONSDIR variable; move ICONSSDIR_VAR to global.h
2015-05-06 22:58:54 +02:00
Thilo Graf
508deaac79 CProgressWindow: fix background fragments on text paint
Permanent screen saving was disabled by default since commit
8a1f71604a. In this case it can be substituted if enabled
bg paint.


Origin commit data
------------------
Commit: d5bad0ac36
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-04-23 (Thu, 23 Apr 2015)
2015-05-04 10:37:03 +02:00
Thilo Graf
1204dc95f7 CTextBox: ensure save screen only if dimensions are valid
0 values are critical


Origin commit data
------------------
Commit: 87cbb564a3
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-04-13 (Mon, 13 Apr 2015)
2015-05-04 10:37:03 +02:00
vanhofen
5d50b79002 menue: small color changes for a smoother view
Origin commit data
------------------
Commit: 3ece820b07
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-05-04 (Mon, 04 May 2015)

Origin message was:
------------------
- menue: small color changes for a smoother view
2015-05-04 09:42:07 +02:00
Thilo Graf
61656865d0 Merge branch 'cst-next.pre' into cst-next
Origin commit data
------------------
Commit: a58f1621b4
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-04-30 (Thu, 30 Apr 2015)
2015-04-30 09:20:43 +02:00
Thilo Graf
6261b3b869 themes: use hintbox and header gradient option in theme settings
Color gradient feature was originally intended for use
inside theme settings and it's not really suitable for
generally use as default in all themes at the moment, so it makes more
sense to have options in theme settings and let the user decide
to customize this, unless enough other gui parts can use this feature.


Origin commit data
------------------
Commit: 01516cf943
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-04-29 (Wed, 29 Apr 2015)

Origin message was:
------------------
themes: use hintbox and header gradient option in theme settings

Color gradient feature was originally intended for use
inside theme settings and it's not really suitable for
generally use as default in all themes at the moment, so it makes more
sense to have options in theme settings and let the user decide
to customize this, unless enough other gui parts can use this feature.
2015-04-29 10:16:55 +02:00
[CST] Focus
189f094afe CMenueWidget: add color gradient to menue hints
Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Commit: 8a41089a92
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2015-04-27 (Mon, 27 Apr 2015)
2015-04-27 09:55:26 +02:00
Stefan Seyfried
d9354e847f global.h: Use forward-declarations to reduce number of dependencies
Origin commit data
------------------
Commit: 5ab6b53054
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-04-16 (Thu, 16 Apr 2015)
2015-04-16 13:39:35 +02:00
Thilo Graf
b871f66399 CTextBox: catching error if position has signed values
Wrong position assignments can trigger crash. Prevent segfaults.
Error log should indicate this.


Origin commit data
------------------
Commit: 459c120060
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-03-19 (Thu, 19 Mar 2015)
2015-03-29 22:40:15 +02:00
Thilo Graf
553bff50e8 CProgressWindow: reassign y position of body items on disabled header
Origin commit data
------------------
Commit: 32af48cc80
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-30 (Sun, 30 Nov 2014)
2015-03-29 22:40:01 +02:00
Thilo Graf
5f5943b144 CMenuWidget: move include of neutrino_menue.h to menue.h
makes explicit include unnecessary if it is needed by a widget, eg: widget id's are
parameter of constructor and is one of required widget elements.


Origin commit data
------------------
Commit: d3f9aa33f7
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-08 (Mon, 08 Dec 2014)
2015-03-29 22:40:00 +02:00
Thilo Graf
0a21f82bb5 CMenuWidget: fix getSelected() member
preselected was not suitable as return value


Origin commit data
------------------
Commit: 930b40588c
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-05 (Fri, 05 Dec 2014)
2015-03-29 22:39:59 +02:00
Thilo Graf
bbb94b0b79 CProgressWindow: add member showStatus()
This displays only one progress bar instead two and shows the global
status. That's senseful , if only one progress bar is required.


Origin commit data
------------------
Commit: 7e084c2531
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-30 (Sun, 30 Nov 2014)

Origin message was:
------------------
CProgressWindow: add member showStatus()

This displays only one progress bar instead two and shows the global
status. That's senseful , if only one progress bar is required.
2015-03-29 22:39:59 +02:00
Thilo Graf
9ea6768452 CMenuWidget: fix applying of hintbox text color after changed theme
Origin commit data
------------------
Commit: 20180b5b83
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-10-26 (Sun, 26 Oct 2014)
2015-03-29 22:39:52 +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
vanhofen
f3fdaafa15 menue.cpp: fix details_line hight
* former code matches only by chance and will fail, when another
 value than 2 is set in INFO_BOX_Y_OFFSET (cc_item_infobox.h)


Origin commit data
------------------
Commit: 13d7ec55a5
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-02-20 (Fri, 20 Feb 2015)

Origin message was:
------------------
- menue.cpp: fix details_line hight

* former code matches only by chance and will fail, when another
 value than 2 is set in INFO_BOX_Y_OFFSET (cc_item_infobox.h)
2015-02-20 08:23:07 +01:00
Jacek Jendrzej
5d05d521d2 menue.cpp fix CMenuForwarder::setOption set option_string_ptr
Origin commit data
------------------
Commit: 721cb9bd74
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-02-14 (Sat, 14 Feb 2015)
2015-02-14 18:42:40 +01:00
Stefan Seyfried
4f0aa4d103 shellwindow: don't update screen if not necessary
Origin commit data
------------------
Commit: 701cb24f45
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-02-01 (Sun, 01 Feb 2015)
2015-02-09 13:47:31 +01:00
Stefan Seyfried
52fbb87595 shellwindow: fix line reading code
In case of partially read lines, the last complete line before was
discarded. Fix this, simplify the code and make it code work at all
for lines longer than 1023 bytes (went into endless loop before).


Origin commit data
------------------
Commit: 27124e72e1
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-02-01 (Sun, 01 Feb 2015)

Origin message was:
------------------
shellwindow: fix line reading code

In case of partially read lines, the last complete line before was
discarded. Fix this, simplify the code and make it code work at all
for lines longer than 1023 bytes (went into endless loop before).
2015-02-09 13:47:31 +01:00