Commit Graph

225 Commits

Author SHA1 Message Date
vanhofen
979e85ff5b plugins: allow hinticons for plugins
Default is <plugin>_hint.png; an entry 'hinticon=another_name' in
<plugin>.cfg overrides this; use icon in plugindir first; if not found
use icon in one of the other wellknown neutrino icon directories.


Origin commit data
------------------
Commit: ebbed374af
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-10-06 (Mon, 06 Oct 2014)

Origin message was:
------------------
- plugins: allow hinticons for plugins

Default is <plugin>_hint.png; an entry 'hinticon=another_name' in
<plugin>.cfg overrides this; use icon in plugindir first; if not found
use icon in one of the other wellknown neutrino icon directories.
2014-10-07 13:19:15 +04:00
vanhofen
2921437216 menue.cpp: don't integrate hidden plugins
Origin commit data
------------------
Commit: ee9d08a3ee
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-09-30 (Tue, 30 Sep 2014)

Origin message was:
------------------
- menue.cpp: don't integrate hidden plugins
2014-09-30 14:04:54 +04:00
vanhofen
62f47c6f59 add function to integrate plugins
TODO: maybe find a solution without void *pluginsExec
Thanks to micha-bbg and SatBaby


Origin commit data
------------------
Commit: 1b5a30c326
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-09-28 (Sun, 28 Sep 2014)

Origin message was:
------------------
- add function to integrate plugins

TODO: maybe find a solution without void *pluginsExec
Thanks to micha-bbg and SatBaby
2014-09-29 14:38:43 +04:00
Thilo Graf
def1a3c5b9 CComponents: move variable cc_gradientData, paintGradient into base class
Variable now usable via g_settings in all subclasses. enable/disable.
TODO: gradient type handling


Origin commit data
------------------
Commit: 64c84fb490
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-09-20 (Sat, 20 Sep 2014)
2014-09-25 11:07:45 +04:00
Thilo Graf
68e23a1720 CComponentsWindow, CMenuWidget: apply gradiant settings to header
Origin commit data
------------------
Commit: c1f70dbbb8
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-09-20 (Sat, 20 Sep 2014)
2014-09-25 11:07:28 +04:00
Michael Liebmann
a29b3035e8 CComponentsHeader: Use color gradient for paint header
Conflicts:
	src/gui/widget/menue.cpp


Origin commit data
------------------
Commit: bfc1c04d83
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-09-20 (Sat, 20 Sep 2014)
2014-09-25 11:07:12 +04:00
martii
547d900fee system/settings: move theme colors to dedicated struct
Conflicts:
	src/driver/pictureviewer/pictureviewer.cpp
	src/gui/epgview.cpp
	src/gui/osd_setup.cpp
	src/gui/pluginlist.cpp
	src/neutrino.cpp


Origin commit data
------------------
Commit: b21cb152b5
Author: martii <m4rtii@gmx.de>
Date: 2014-01-06 (Mon, 06 Jan 2014)
2014-09-12 18:29:21 +04:00
martii
713ec7e846 gui/menue: simplify height calculation
Origin commit data
------------------
Commit: c1db7b2852
Author: martii <m4rtii@gmx.de>
Date: 2014-07-14 (Mon, 14 Jul 2014)
2014-07-22 12:27:54 +04:00
[CST] Focus
17c40a5d6e merge neutrino-mp progressbar code, (C) martii
Origin commit data
------------------
Commit: 416646bbff
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-07-17 (Thu, 17 Jul 2014)
2014-07-17 17:02:37 +04:00
[CST] Focus
958139cd31 merge neutrino-mp menu/buttons/icons changes, (C) martii
Origin commit data
------------------
Commit: cf91f2eccb
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-07-17 (Thu, 17 Jul 2014)
2014-07-17 17:02:25 +04:00
Thilo Graf
03914a6687 CMenuWidget: add member to suppress paint of details line
In some situations is it more senseful to suppress painting of details line.
Required if menu window is painted over another window.
The hide() functionality of detailsline paints only an empty background on screen so we have
blank parts on screen. That looks bad. For example, this is to observe
on context menu in channellist.

We should see this as a workaround. It is not certain whether the
details line is really needed in the future.


Origin commit data
------------------
Commit: 793230e9a7
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-06-09 (Mon, 09 Jun 2014)
2014-06-23 18:43:47 +02:00
Thilo Graf
f271c801de COSDFader: rename member functions, adapt implementations
Stop() is not exactly attributable if fader class used as inherited and
Fade() don't tell really what done and related to return value 'bool'...
especially as the fader class members have been not documented.


Origin commit data
------------------
Commit: 69e2debb02
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-30 (Fri, 30 May 2014)
2014-06-23 18:43:47 +02:00
vanhofen
98c0a441d8 change RenderString() default to UTF8
Origin commit data
------------------
Commit: 649d1b1f9d
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-06-11 (Wed, 11 Jun 2014)

Origin message was:
------------------
- change RenderString() default to UTF8
2014-06-11 23:07:13 +02:00
vanhofen
3bba3094e2 change getRenderWidth() default to UTF8
Origin commit data
------------------
Commit: 8b91cda918
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-06-11 (Wed, 11 Jun 2014)

Origin message was:
------------------
- change getRenderWidth() default to UTF8
2014-06-11 23:07:00 +02:00
Thilo Graf
de71f1f361 CMenuWidget: implement CComponentsFooter, remove paintButtons
Origin commit data
------------------
Commit: d87807af67
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-02 (Fri, 02 May 2014)
2014-05-22 21:50:51 +02:00
[CST] Focus
6e938c81d0 gui/widget/menue.cpp: show right-side item icon for inactive items, too
Origin commit data
------------------
Commit: 4d0cacbd61
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-05-01 (Thu, 01 May 2014)
2014-05-01 17:31:29 +04:00
[CST] Focus
e4e3ade565 gui/widget/menue.cpp: fix selected in case saved one do not match new menu size
Origin commit data
------------------
Commit: 4a1ac9b55c
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-04-14 (Mon, 14 Apr 2014)
2014-04-14 14:18:58 +04:00
vanhofen
d7545ddf1f menu: add possibility to add a footer to the menus; fix alignment of menus
add footer-keys to testmenu

 (some of this code is based on code by martii; thx)


Origin commit data
------------------
Commit: 4fba818cc2
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-04-11 (Fri, 11 Apr 2014)

Origin message was:
------------------
- menu: add possibility to add a footer to the menus; fix alignment of menus

 add footer-keys to testmenu

 (some of this code is based on code by martii; thx)
2014-04-11 00:26:52 +02:00
Thilo Graf
a6ff7e0f01 CMenuItem: reduce scope of str, trivial
Origin commit data
------------------
Commit: 9dc59ec556
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-04-09 (Wed, 09 Apr 2014)
2014-04-09 19:02:38 +02:00
Thilo Graf
f25a2d58df /gui/widget/menue.cpp: rework constructors, use methodes for init
Many redundant code lines were never been refactored or reduced,
but instead came many in with some of last changes e.g. 1918153c0a


Origin commit data
------------------
Commit: 5f7f453bd7
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-04-07 (Mon, 07 Apr 2014)
2014-04-09 19:02:38 +02:00
[CST] Focus
8b880a8221 gui/widget/menue.cpp: add CMenuOptionChooser::setOptions
Origin commit data
------------------
Commit: b36a66db34
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-03-21 (Fri, 21 Mar 2014)
2014-03-21 17:18:21 +04:00
Thilo Graf
f33efdbdc4 CComponents: add new parameter 'parent'
Use strictly CComponentsForm as parent parameter in constructors.
Some parts have been cleaned up (Constructors, init methodes removed)

New parameter makes it possible already add current item in constructor.
So in mostly situations is it not necessary to use explicit addCCItem(),
but addCCItem()is still valid and necessary in certain situations.

Affected are all cc-classes and their derivates.
Some classes must or can be adapted later. The function is
not currently restricted, because usage of parent parameter is not explicit
defined in constructors, see CImageInfo, here yet are used addCCItem()
methodes.

Generally this parameter is located in the constructors before bool has_shadow,
but it is not sure whether it would be better to use this parameter as the first.
That remains to be clarified.


Origin commit data
------------------
Commit: 23d7b62cf0
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-03-03 (Mon, 03 Mar 2014)
2014-03-03 09:43:39 +01:00
Thilo Graf
5c8006256e CMenuItem: remove redundant member for background paint
It seems this method came with more functionality in past,
but it's currently not required in that Form.


Origin commit data
------------------
Commit: 8a39f01a79
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-02-26 (Wed, 26 Feb 2014)
2014-03-03 08:54:10 +01:00
martii
8aa16fc376 gui/widget/menue, gui/osdlang_setup: drop CMenuOptionLanguageChooser class
Origin commit data
------------------
Commit: eb206ae523
Author: martii <m4rtii@gmx.de>
Date: 2014-03-02 (Sun, 02 Mar 2014)
2014-03-02 21:31:26 +01:00
vanhofen
ec8f4a8913 menue-hints: fix display of nonlocalized hints
Origin commit data
------------------
Commit: e24e68dddf
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-02-07 (Fri, 07 Feb 2014)

Origin message was:
------------------
- menue-hints: fix display of nonlocalized hints
2014-02-07 22:14:32 +01:00
Michael Liebmann
f45ae5cab4 CMenuForwarder: Fix options handling
Origin commit data
------------------
Commit: 08130328a0
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-01-30 (Thu, 30 Jan 2014)
2014-01-30 09:13:51 +01:00
Thilo Graf
5ad73f09aa CComponentsHeader: rework constructors, add CComponentsHeaderLocalized
Member initVarHeader() now used with parameters, so it's possible
to remove multiple code in constructors, but some class must be
renamed to CComponentsHeaderLocalized.


Origin commit data
------------------
Commit: 5ea7ec48df
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-01-18 (Sat, 18 Jan 2014)

Origin message was:
------------------
CComponentsHeader: rework constructors, add CComponentsHeaderLocalized

Member initVarHeader() now used with parameters, so it's possible
to remove multiple code in constructors, but some class must be
renamed to CComponentsHeaderLocalized.
2014-01-24 23:09:56 +01:00
Michael Liebmann
2056b4ed80 Add a --enable-lua switch to enable LUA support
Origin commit data
------------------
Commit: 82d4832013
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-01-21 (Tue, 21 Jan 2014)
2014-01-21 17:05:24 +01:00
Michael Liebmann
01de5acc30 Preparing the input classes for Lua
- Add non locale variants for CExtendedInput, CStringInput,
 CStringInputSMS, CPINInput
 THX Martii


Origin commit data
------------------
Commit: 31842369cc
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-01-18 (Sat, 18 Jan 2014)

Origin message was:
------------------
Preparing the input classes for Lua

- Add non locale variants for CExtendedInput, CStringInput,
 CStringInputSMS, CPINInput
 THX Martii
2014-01-19 20:57:38 +01:00
Michael Liebmann
b6b44d9088 Preparing the menu classes for Lua Part #3
- Add non locale variants for CMenuOptionNumberChooser and
 CMenuOptionChooser
- Adaptation of CMenuOptionStringChooser, CChangeObserver
 THX Martii


Origin commit data
------------------
Commit: afbd87083b
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-01-18 (Sat, 18 Jan 2014)

Origin message was:
------------------
Preparing the menu classes for Lua Part #3

- Add non locale variants for CMenuOptionNumberChooser and
 CMenuOptionChooser
- Adaptation of CMenuOptionStringChooser, CChangeObserver
 THX Martii
2014-01-19 20:57:37 +01:00
Michael Liebmann
1918153c0a Preparing the menu classes for Lua Part #2
- Remove CMenuForwarderNonLocalized
- Add overloaded function CMenuForwarder for non local
 THX Martii


Origin commit data
------------------
Commit: b41819190d
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-01-16 (Thu, 16 Jan 2014)

Origin message was:
------------------
Preparing the menu classes for Lua Part #2

- Remove CMenuForwarderNonLocalized
- Add overloaded function CMenuForwarder for non local
 THX Martii
2014-01-19 20:57:37 +01:00
Michael Liebmann
37e4b0bda8 Preparing the menu classes for Lua Part #1
- Remove CNonLocalizedMenuSeparator
- Add overloaded function CMenuSeparator for non local
 THX Martii


Origin commit data
------------------
Commit: 2c9c9debcc
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-01-16 (Thu, 16 Jan 2014)

Origin message was:
------------------
Preparing the menu classes for Lua Part #1

- Remove CNonLocalizedMenuSeparator
- Add overloaded function CMenuSeparator for non local
 THX Martii
2014-01-19 20:57:37 +01:00
Michael Liebmann
44f780650a CMenuOptionChooser: Fix multiple menu items, when using sort option
Origin commit data
------------------
Commit: 9af1cdb318
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-01-04 (Sat, 04 Jan 2014)
2014-01-04 15:25:28 +01:00
Michael Liebmann
b93a3da743 CMenuOptionChooser: Add alphanumeric sort option
- default is false
- Activate by OptionsSort = true


Origin commit data
------------------
Commit: 8832b803bd
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-01-04 (Sat, 04 Jan 2014)
2014-01-04 13:08:48 +01:00
Jacek Jendrzej
ccdb8209fb CMenuOptionStringChooser:: optionValueString mismatch, supplement to ce44d1641a
Origin commit data
------------------
Commit: 98c7d07246
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2014-01-03 (Fri, 03 Jan 2014)
2014-01-03 12:36:54 +01:00
Gaucho316
c34729cfa7 Neutrino menu forwarder: add possibility to show value from jump target
based on idea by martii <m4rtii@gmx.de> in Neutrino-MP Git


Origin commit data
------------------
Commit: 7d04113307
Author: Gaucho316 <Gaucho316@hotmail.com>
Date: 2013-12-30 (Mon, 30 Dec 2013)
2013-12-30 23:25:26 +01:00
Michael Liebmann
a4a01994dd CMenuItem: Set right_bgcol as inactiv, when menu item not active
Origin commit data
------------------
Commit: ec01f884fd
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-12-25 (Wed, 25 Dec 2013)
2013-12-25 18:32:01 +01:00
martii
ce44d1641a convert most char[...] configuration values to std::string
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>


Origin commit data
------------------
Commit: cbc9299df8
Author: martii <m4rtii@gmx.de>
Date: 2013-06-11 (Tue, 11 Jun 2013)
2013-12-25 12:08:14 +01:00
martii
abc5f1bc00 gui/scan_setup: show unit for motor speed
Origin commit data
------------------
Commit: a0f2960501
Author: martii <m4rtii@gmx.de>
Date: 2013-12-21 (Sat, 21 Dec 2013)
2013-12-22 16:36:13 +01:00
martii
6aaa91242a gui/widget/menu: CMenuOptionNumberChooser: add option to show units
Origin commit data
------------------
Commit: 86221de3d9
Author: martii <m4rtii@gmx.de>
Date: 2013-12-21 (Sat, 21 Dec 2013)
2013-12-21 22:04:24 +01:00
vanhofen
fdadff0e2d menu: don't add a separatorline ...
... when no button and no section text is given


Origin commit data
------------------
Commit: 5591e81a2b
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-12-19 (Thu, 19 Dec 2013)

Origin message was:
------------------
- menu: don't add a separatorline ...

 ... when no button and no section text is given
2013-12-19 15:06:12 +01:00
[CST] Focus
3d3db00e8a gui/widget/menue.cpp: revert testing changes
Origin commit data
------------------
Commit: 5cc2620008
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-12-15 (Sun, 15 Dec 2013)
2013-12-15 14:56:12 +04:00
[CST] Focus
226368a957 gui/widget/menue.cpp: fix menu hint kill vs hide
Origin commit data
------------------
Commit: 6a62051032
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-12-12 (Thu, 12 Dec 2013)
2013-12-15 14:46:44 +04:00
martii
4a90b00f76 gui/widget/menue: clear old menue hint if none is set for current item
Origin commit data
------------------
Commit: c954efc59f
Author: martii <m4rtii@gmx.de>
Date: 2013-12-06 (Fri, 06 Dec 2013)
2013-12-13 16:43:53 +01:00
[CST] Focus
a7b986c270 gui/widget/menue.cpp: fix 4c2c559da3
Origin commit data
------------------
Commit: e904c1deda
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-12-01 (Sun, 01 Dec 2013)
2013-12-01 15:36:28 +04:00
martii
4c2c559da3 remove widest_number definition and usage, add Font::getMaxDigitWidth() method instead
Signed-off-by: M. Liebmann <tuxcode.bbg@gmail.com>


Origin commit data
------------------
Commit: 15b2b2ec05
Author: martii <m4rtii@gmx.de>
Date: 2013-11-29 (Fri, 29 Nov 2013)
2013-11-29 23:02:50 +01:00
[CST] Focus
74b1a181c5 gui/widget/menue.cpp: try to disable 'always save/restore menu hint screens' (again)
Origin commit data
------------------
Commit: 8aa819642d
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-11-29 (Fri, 29 Nov 2013)
2013-11-29 17:27:10 +04:00
[CST] Focus
7839c53283 gui/widget/menue.cpp: cleanup unused code
Origin commit data
------------------
Commit: 4a07492765
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-11-28 (Thu, 28 Nov 2013)
2013-11-29 17:27:10 +04:00
[CST] Focus
a26e1c09e7 gui/widget/menue.cpp: add CMenuDForwarderNonLocalized
Origin commit data
------------------
Commit: ac773ea896
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-11-27 (Wed, 27 Nov 2013)
2013-11-29 17:27:10 +04:00
vanhofen
82168342a2 Revert "- add missing include of vfd header"
This reverts commit 81d56f75fc.


Origin commit data
------------------
Commit: 014dd3ac7b
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-11-13 (Wed, 13 Nov 2013)
2013-11-13 23:39:55 +01:00