Commit Graph

179 Commits

Author SHA1 Message Date
Hendi
cc1ada3def Remove all references to unary_function/binary_function
All they do is add some typedefs, which are not required.


Origin commit data
------------------
Commit: e2d850a809
Author: Hendi <hendi48@freenet.de>
Date: 2023-01-25 (Wed, 25 Jan 2023)
2023-01-25 22:37:07 +01:00
vanhofen
0ac0e312cc menue: change case of new separatorline switch
Origin commit data
------------------
Commit: 700601ef19
Author: vanhofen <vanhofen@gmx.de>
Date: 2022-09-14 (Wed, 14 Sep 2022)

Origin message was:
------------------
- menue: change case of new separatorline switch
2022-09-14 20:47:52 +02:00
BPanther
97c37ad7ad fix SeparatorLine
Origin commit data
------------------
Commit: 74d05eb940
Author: BPanther <bpanther_ts@hotmail.com>
Date: 2022-09-14 (Wed, 14 Sep 2022)
2022-09-14 20:47:52 +02:00
Jacek Jendrzej
73b9a4926a menu: typo?
Origin commit data
------------------
Commit: 14c33fef9c
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2021-09-14 (Tue, 14 Sep 2021)
2022-07-12 22:39:47 +02:00
Thilo Graf
d0fa82c005 menu: fix item height calculation
The height of the description was never 0. Switching to std::string
makes handling easier. Locales are secondary because only strings
come out at the end.


Origin commit data
------------------
Commit: 76d5c0c1be
Author: Thilo Graf <dbt@novatux.de>
Date: 2022-04-07 (Thu, 07 Apr 2022)
2022-04-07 21:57:08 +02:00
Thilo Graf
1e164bcd06 menue.cpp/h: modify move behavior of menu window for custom position
MENU_POS_PRESET is replaced with MENU_POS_CUSTOM. This allows
with methode setPos() to any position on screen without preset offset.
Old behavior is untouched.


Origin commit data
------------------
Commit: 8174f094e6
Author: Thilo Graf <dbt@novatux.de>
Date: 2022-03-27 (Sun, 27 Mar 2022)
2022-03-27 21:46:44 +02:00
Thilo Graf
04c946bf0f menue: add members to get dimensions
# Conflicts:
#	src/gui/widget/menue.h


Origin commit data
------------------
Commit: 1fcb4f8950
Author: Thilo Graf <dbt@novatux.de>
Date: 2022-03-27 (Sun, 27 Mar 2022)
2022-03-27 21:46:44 +02:00
Thilo Graf
1388430f68 menue.h: fix type conversion
Wconversion


Origin commit data
------------------
Commit: 39c9baf9ab
Author: Thilo Graf <dbt@novatux.de>
Date: 2021-10-21 (Thu, 21 Oct 2021)
2021-10-21 18:57:35 +02:00
Thilo Graf
4a375e5d9e menue.h/cpp: add member to get item id by name
Origin commit data
------------------
Commit: 02c845370a
Author: Thilo Graf <dbt@novatux.de>
Date: 2021-07-19 (Mon, 19 Jul 2021)
2021-07-19 17:33:58 +02:00
vanhofen
cf94405ed3 menue: simplifying lcd code
Origin commit data
------------------
Commit: b7d9bf55eb
Author: vanhofen <vanhofen@gmx.de>
Date: 2020-07-02 (Thu, 02 Jul 2020)

Origin message was:
------------------
- menue: simplifying lcd code
2020-07-02 00:33:31 +02:00
Jacek Jendrzej
f79b7336a0 use pass by reference
Origin commit data
------------------
Commit: 5ef5580df6
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2020-01-21 (Tue, 21 Jan 2020)
2020-01-21 22:01:42 +01:00
Thilo Graf
0391717c46 widget: reset some object vars to NULL, only for sure
Origin commit data
------------------
Commit: 1d7ce79142
Author: Thilo Graf <dbt@novatux.de>
Date: 2020-01-05 (Sun, 05 Jan 2020)
2020-01-06 22:25:45 +01:00
vanhofen
b0dbd6f602 pick graphlcd support from DDT but include it in another way
Origin commit data
------------------
Commit: 3093f50831
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-10-26 (Sat, 26 Oct 2019)

Origin message was:
------------------
- pick graphlcd support from DDT but include it in another way
2019-10-26 22:37:38 +02:00
Thilo Graf
c2a2b49ae8 menue.h/cpp: add method to override menu position from user settings
Origin commit data
------------------
Commit: 341ce4a9c7
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-06-20 (Thu, 20 Jun 2019)
2019-06-20 21:32:01 +02:00
Thilo Graf
a301eb4741 menue.cpp/h: re add SUB_HEAD option with some samples inside test menu
Origin commit data
------------------
Commit: b1e643e9fb
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-04-03 (Wed, 03 Apr 2019)
2019-04-03 23:24:44 +02:00
Thilo Graf
df19643e5d CMenueWidget: use native header as sub header
Origin commit data
------------------
Commit: 552b1585b6
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-04-02 (Tue, 02 Apr 2019)
2019-04-02 22:10:16 +02:00
Thilo Graf
c7bba69cb4 CMenueWidget: get header height directly from header object
Origin commit data
------------------
Commit: 6de4e58535
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-03-31 (Sun, 31 Mar 2019)
2019-03-31 18:28:26 +02:00
Thilo Graf
7fb564c7b5 CMenueWidget: add overloaded version of addIntroItems()
Allows additional usage of strings as text parameter.


Origin commit data
------------------
Commit: 167531e412
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-03-30 (Sat, 30 Mar 2019)
2019-03-30 00:06:26 +01:00
Thilo Graf
89e3fbf222 menu.cpp: add member to set action key
Origin commit data
------------------
Commit: 80a25840a7
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-03-30 (Sat, 30 Mar 2019)
2019-03-30 00:06:26 +01:00
Thilo Graf
2cf149f073 CMenuOptionStringChooser: remember last item
useful for some cases if needed, default off


Origin commit data
------------------
Commit: d41b2ce0bc
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-03-18 (Mon, 18 Mar 2019)
2019-03-18 16:44:35 +01:00
Thilo Graf
d60c56091f /widget/menue.h/cpp: add missing signal OnAfterChangeOption()
Origin commit data
------------------
Commit: 0462547303
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-03-12 (Tue, 12 Mar 2019)
2019-03-12 22:00:11 +01:00
vanhofen
61febf5dad menu: add possibility to get action state of menu widget
Origin commit data
------------------
Commit: 48b5f1a1f9
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-12-16 (Sun, 16 Dec 2018)

Origin message was:
------------------
- menu: add possibility to get action state of menu widget
2018-12-16 01:17:01 +01:00
vanhofen
9e7da0a837 menu: add condition to enable/disable items in record mode (version 2)
Origin commit data
------------------
Commit: 5246233088
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-08-03 (Fri, 03 Aug 2018)

Origin message was:
------------------
- menu: add condition to enable/disable items in record mode (version 2)
2018-08-03 22:34:14 +02:00
vanhofen
47eb835d7f Revert "- menu: add condition to enable/disable items in record mode"
This reverts commit 76c6584341.
Doesn't work with current disableByCondition-code. This needs more care.


Origin commit data
------------------
Commit: 2154812c84
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-08-02 (Thu, 02 Aug 2018)
2018-08-02 22:00:54 +02:00
vanhofen
76c6584341 menu: add condition to enable/disable items in record mode
Origin commit data
------------------
Commit: 5bc33322c8
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-08-02 (Thu, 02 Aug 2018)

Origin message was:
------------------
- menu: add condition to enable/disable items in record mode
2018-08-02 21:39:17 +02:00
Thilo Graf
8e069bc300 src/gui/widget/menue.h: add plausible alias for disableSaveScreen() method
Origin commit data
------------------
Commit: d2be7e0f4d
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-07-28 (Sat, 28 Jul 2018)
2018-07-28 17:10:23 +02:00
vanhofen
849d77d3c1 menu: fix return value of getSelectedLine() for RC_timeout and RC_setup
This fixes the bahaviour of StartPosSelectionMenu in moviebrowser.
When this menu was closed by its timeout or RC_setup was pressed
the movie starts anyway.


Origin commit data
------------------
Commit: 70cbc65483
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-07-15 (Sun, 15 Jul 2018)

Origin message was:
------------------
- menu: fix return value of getSelectedLine() for RC_timeout and RC_setup

This fixes the bahaviour of StartPosSelectionMenu in moviebrowser.
When this menu was closed by its timeout or RC_setup was pressed
the movie starts anyway.
2018-07-15 00:41:40 +02:00
Thilo Graf
614badcf9e menu: add optional usage of toggle buttons to visualze options
Origin commit data
------------------
Commit: f0f4698984
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-04-11 (Wed, 11 Apr 2018)
2018-04-11 23:58:16 +02:00
Thilo Graf
adab90ab38 src/gui/widget/menue.h: fix possible compile error with older compliers
avoids possible error with extended initializer lists,
only available with -std=c++11 or -std=gnu++11

supplement to:
'CMenuOptionNumberChooser: expand localize functionality for any number'


Origin commit data
------------------
Commit: dc21b3d5da
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-04-05 (Thu, 05 Apr 2018)
2018-04-05 20:52:45 +02:00
Thilo Graf
74862f6ec3 CMenuOptionNumberChooser: expand localize functionality for any number
Origin commit data
------------------
Commit: 5ab92c41a7
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-04-04 (Wed, 04 Apr 2018)
2018-04-05 20:52:30 +02:00
vanhofen
952c6a58f2 Revert "CMenuOptionNumberChooser: expand localize functionality for any number"
This reverts commit 1a68428f80 because of many
bothering compiler warnings:
extended initializer lists only available with -std=c++11 or -std=gnu++11


Origin commit data
------------------
Commit: adb80290ba
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-04-04 (Wed, 04 Apr 2018)
2018-04-04 23:12:16 +02:00
Thilo Graf
1a68428f80 CMenuOptionNumberChooser: expand localize functionality for any number
Origin commit data
------------------
Commit: 3acd36ba71
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-04-04 (Wed, 04 Apr 2018)
2018-04-04 22:55:52 +02:00
Stefan Seyfried
11826623b7 widget/menue: one more forgotten sys/types.h include
Origin commit data
------------------
Commit: 8ffa2adc5c
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2018-01-15 (Mon, 15 Jan 2018)
2018-01-15 19:54:51 +01:00
Stefan Seyfried
cfa463f606 reduce dependencies on driver/rcinput.h
* add new header that only contains neutrino_msg_t and friends, often this
 is all that's needed instead of full rcinput.h
* directly include rcinput.h in some cpp files instead of relying on
 accidental inclusion in some header
* add class forward declarations to avoid dragging in rcinput indirectly
This could use more work to further reduce the impact; maybe separating
the CRCinput::key_* constants from the rcinput class would be good.


Origin commit data
------------------
Commit: 47fbfbed9b
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2018-01-15 (Mon, 15 Jan 2018)

Origin message was:
------------------
reduce dependencies on driver/rcinput.h

* add new header that only contains neutrino_msg_t and friends, often this
 is all that's needed instead of full rcinput.h
* directly include rcinput.h in some cpp files instead of relying on
 accidental inclusion in some header
* add class forward declarations to avoid dragging in rcinput indirectly
This could use more work to further reduce the impact; maybe separating
the CRCinput::key_* constants from the rcinput class would be good.
2018-01-15 19:54:51 +01:00
vanhofen
8e61ad6784 menu: use new marker icons
Origin commit data
------------------
Commit: 7c02d13d2b
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-01-04 (Thu, 04 Jan 2018)

Origin message was:
------------------
- menu: use new marker icons
2018-01-04 16:07:47 +01:00
GetAway
548eaef43f menue.cpp: dont use one-time init of a variable that could be changed on runtime
Origin commit data
------------------
Commit: c1ce74f776
Author: GetAway <get-away@t-online.de>
Date: 2017-11-02 (Thu, 02 Nov 2017)
2017-11-02 13:25:47 +01:00
vanhofen
28058bfc61 menue: add possibility to add localized values in CMenuOptionNumberChooser seperately
Origin commit data
------------------
Commit: 45040b0e14
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-25 (Mon, 25 Sep 2017)

Origin message was:
------------------
- menue: add possibility to add localized values in CMenuOptionNumberChooser seperately
2017-09-25 08:44:21 +02:00
gixxpunk
abee9b0913 Merge branch 'master' of https://github.com/tuxbox-neutrino/gui-neutrino into ni/tuxbox
Origin commit data
------------------
Commit: 315a87f2be
Author: gixxpunk <thomas.harfmann@gmail.com>
Date: 2017-09-18 (Mon, 18 Sep 2017)
2017-09-18 16:31:55 +02:00
Thilo Graf
3c2c889a58 CMenuItem: add members set/get info icon inside menu items
Origin commit data
------------------
Commit: f0660dc66c
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-09-17 (Sun, 17 Sep 2017)
2017-09-17 13:52:43 +02:00
vanhofen
fb0a25d759 Merge branch 'master' of https://github.com/tuxbox-neutrino/gui-neutrino into ni/tuxbox
Conflicts:
	configure.ac
	data/locale/deutsch.locale
	data/locale/english.locale
	src/gui/info_menue.cpp
	src/gui/widget/menue.cpp
	src/nhttpd/yconfig.h
	src/system/helpers.h


Origin commit data
------------------
Commit: 9152c228ed
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-14 (Thu, 14 Sep 2017)
2017-09-14 16:23:15 +02:00
Thilo Graf
b257efcc29 CMenuWidget: use CComponentsFooter for paint footers in menues
Another step for more unified window designs.


Origin commit data
------------------
Commit: 7f7054018b
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-08-13 (Sun, 13 Aug 2017)
2017-09-14 12:14:41 +02:00
vanhofen
883034a60d plugin-code: cleanup from many unused code; ...
* remove intergration conversion because we can use the integer as it is
* update headers

 Do we need /src/plugin.h anymore? Maybe this code could be merged into src/gui/plugins.h.

Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Commit: f2ec46311c
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-08 (Fri, 08 Sep 2017)

Origin message was:
------------------
- plugin-code: cleanup from many unused code; ...

* remove intergration conversion because we can use the integer as it is
* update headers

 Do we need /src/plugin.h anymore? Maybe this code could be merged into src/gui/plugins.h.

Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-09-14 12:14:41 +02:00
vanhofen
54cd0a93e0 menu: always add an offset to menus; not only in round-border-mode
Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Commit: cd5fc80ebe
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-07 (Thu, 07 Sep 2017)

Origin message was:
------------------
- menu: always add an offset to menus; not only in round-border-mode

Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-09-14 12:14:41 +02:00
vanhofen
5dc6e26d36 plugin-code: cleanup from many unused code; ...
* remove intergration conversion because we can use the integer as it is
* update headers

 Do we need /src/plugin.h anymore? Maybe this code could be merged into src/gui/plugins.h.


Origin commit data
------------------
Commit: f0f0c1f55d
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-08 (Fri, 08 Sep 2017)

Origin message was:
------------------
- plugin-code: cleanup from many unused code; ...

* remove intergration conversion because we can use the integer as it is
* update headers

 Do we need /src/plugin.h anymore? Maybe this code could be merged into src/gui/plugins.h.
2017-09-08 10:53:03 +02:00
vanhofen
23ea286fa9 menu: always add an offset to menus; not only in round-border-mode
Origin commit data
------------------
Commit: 65b8a7ae48
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-07 (Thu, 07 Sep 2017)

Origin message was:
------------------
- menu: always add an offset to menus; not only in round-border-mode
2017-09-07 16:18:30 +02:00
vanhofen
d36efaeac5 Revert "neutrino: disable some menus in upnp & ts mode"
This reverts commit 552e7c8777.

Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Commit: 944ad7cb63
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-08-12 (Sat, 12 Aug 2017)
2017-08-12 14:05:17 +02:00
vanhofen
4d0a512b6e Revert "neutrino: disable some menus in upnp & ts mode"
This reverts commit 552e7c8777.


Origin commit data
------------------
Commit: 2e04d34a9c
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-08-12 (Sat, 12 Aug 2017)
2017-08-12 12:47:33 +02:00
vanhofen
e21f270c04 Merge branch 'master' of https://github.com/tuxbox-neutrino/gui-neutrino into ni/tuxbox
Origin commit data
------------------
Commit: 6d49aee959
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-08-07 (Mon, 07 Aug 2017)
2017-08-07 08:20:56 +02:00
GetAway
552e7c8777 neutrino: disable some menus in upnp & ts mode
to prevent inoperability of neutrino


Origin commit data
------------------
Commit: 90de51de38
Author: GetAway <get-away@t-online.de>
Date: 2017-08-06 (Sun, 06 Aug 2017)
2017-08-07 07:52:41 +02:00
vanhofen
56c0ac4ef1 Merge branch 'master' of https://github.com/tuxbox-neutrino/gui-neutrino into ni/tuxbox
Conflicts:
	src/gui/audioplayer.cpp
	src/gui/audioplayer.h


Origin commit data
------------------
Commit: 5433054b38
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-06-18 (Sun, 18 Jun 2017)
2017-06-18 00:52:04 +02:00