Thilo Graf
40cd758bcd
menue.cpp: fix possible render errors after changed font settings
...
Positions of some menu parts, e.g. headers...
were not updated after changed font scale settings.
2019-11-09 11:05:06 +01:00
Thilo Graf
d46645ec93
menue.h/cpp: add method to override menu position from user settings
2019-06-20 20:41:19 +02:00
Thilo Graf
057d458f96
osd_setup/menue.cpp: remove slot OnAfterChangeOption from OsdSetup class
...
Effect was right only for the osd_menu widget but not for all the
other opened menu widget instances. This was watched if user the osd setup menu
has lefted with the 'Setup' ('Menu') button. The main menu was not touched.
Thx GetAway for hint.
The use of slot in context with the OsdHelpers class should solve this
issue for all new generated menu widget instances.
2019-04-06 23:58:32 +02:00
Thilo Graf
8eb418617b
menue.cpp/h: re add SUB_HEAD option with some samples inside test menu
2019-04-03 15:35:29 +02:00
Thilo Graf
f0ca7e37f1
menue.cpp: apply gradient modes for sub header
2019-04-02 16:34:56 +02:00
Thilo Graf
3f84d53b05
CMenueWidget: use native header as sub header
2019-04-02 16:34:56 +02:00
Thilo Graf
ef0cb42b85
CMenuWidget: ensure applying of changed header width while runtime
...
Width was not applied after changed osd settings e.g. changed corner types
2019-04-02 16:34:56 +02:00
Thilo Graf
756968ab97
CMenueWidget: get header height directly from header object
2019-03-31 18:18:00 +02:00
Thilo Graf
3db81f0396
widget/menue.cpp: allow IDE's find include header file
2019-03-31 18:17:55 +02:00
Thilo Graf
06e968df78
CMenueWidget: add overloaded version of addIntroItems()
...
Allows additional usage of strings as text parameter.
2019-03-29 23:29:51 +01:00
Jacek Jendrzej
54885c0f56
fix segfault with static item, supplement to 69ae7d89e3
2019-03-23 11:33:50 +01:00
Jacek Jendrzej
69ae7d89e3
widget/menue fix memleak, CMenuWidget::removeItem
2019-03-20 12:41:48 +01:00
Thilo Graf
e8bc676f76
CMenuOptionStringChooser: remember last item
...
useful for some cases if needed, default off
2019-03-18 15:53:21 +01:00
Thilo Graf
43f77618be
/widget/menue.h/cpp: add missing signal OnAfterChangeOption()
2019-03-12 10:49:56 +01:00
Thilo Graf
289e167462
themes: move rounded corners to theme section
2019-02-11 11:14:12 +01:00
GetAway
99a6ab267d
add lcd4linux support, ported from
...
defans and vanhofen, modded by TangoCash
2018-12-26 20:04:32 +01:00
svenhoefer
47105169e1
- menu: add condition to enable/disable items in record mode (version 2)
...
Signed-off-by: Thilo Graf <dbt@novatux.de >
Unused but useful if conditions are required to disable
or enable items depends of record mode.
2018-08-04 00:18:27 +02:00
svenhoefer
28fab3c6da
- 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.
Signed-off-by: Thilo Graf <dbt@novatux.de >
2018-07-18 11:56:46 +02:00
Thilo Graf
e4cd53bc90
widget/menue.cpp: avoid paint of toggle buttons with more than 2 opts
2018-04-28 08:54:26 +02:00
Thilo Graf
3301be5484
menu: add optional usage of toggle buttons to visualze options
2018-04-11 17:03:11 +02:00
Thilo Graf
fdbddce9dd
CMenuOptionNumberChooser: expand localize functionality for any number
2018-04-04 15:28:57 +02:00
Thilo Graf
d04c0d09e2
widget/menue.cpp: use larger version of dummy button
2018-03-12 20:14:32 +01:00
Stefan Seyfried
70428a896c
menue: initialize height variable
2018-01-13 20:08:24 +01:00
svenhoefer
da3957b735
- icons: add default hint icon
...
Signed-off-by: Thilo Graf <dbt@novatux.de >
2017-12-18 22:24:48 +01:00
svenhoefer
c367c80335
- menu: fix right offset for very long right texts
...
Signed-off-by: Thilo Graf <dbt@novatux.de >
2017-12-15 18:42:14 +01:00
Thilo Graf
7b55de6ae7
CMenuWidget: ensure use of unified data type const char*
...
This should avoid possible compiler errors for this overloaded method.
2017-12-10 22:04:26 +01:00
svenhoefer
0fc3e793a4
- neutrino: unify modes handling; ...
...
remove double enum from CNeutrinoApp and move mostly used enum from NeutrinoMessages to new NeutrinoModes
Signed-off-by: Thilo Graf <dbt@novatux.de >
2017-11-22 15:42:09 +01:00
GetAway
002ef3a1c9
menue.cpp: add reverse search to find selectable item
2017-11-05 22:33:23 +01:00
Jacek Jendrzej
ec10cd64e5
remove pinentered script , revert 9dbdfcf5c7
2017-11-03 12:25:14 +01:00
GetAway
7c9bf1df92
menue.cpp: dont use one-time init of a variable that could be changed on runtime
...
Signed-off-by: Thilo Graf <dbt@novatux.de >
2017-11-02 21:31:12 +01:00
Jacek Jendrzej
4b8cf23d70
Merge branch 'master' into pu/mp
2017-10-16 13:17:17 +02:00
Thilo Graf
35f048a735
CMenuWidget: don't use parameter for label width calculation
...
Footer object does this itself.
2017-10-13 12:35:59 +02:00
Jacek Jendrzej
2661fa4287
Merge branch 'master' into pu/mp
2017-10-08 18:03:01 +02:00
Thilo Graf
4ad5ce65e2
CMenuWidget: small clean ups
2017-10-08 17:48:32 +02:00
Jacek Jendrzej
08dc0d7561
Merge branch 'master' into pu/mp
2017-09-30 13:22:29 +02:00
Stefan Seyfried
ab3434e278
CMenuWidget: fix "left" key for menuchoosers where
...
the "decrement menu function" got lost by the last "simplify code and
add missing break" commit. The implicit fallthrough actually was used to
execute the "left" function.
Reorganize the code so that it works even without the implicit
fallthrough.
2017-09-30 13:14:57 +02:00
Jacek Jendrzej
4fc73acffc
Merge branch 'master' into pu/mp
2017-09-29 10:49:27 +02:00
svenhoefer
99cc7f850a
- rcinput: simplify calcTimeoutEnd() calls; 0 is "off" by default now
2017-09-29 10:34:23 +02:00
Jacek Jendrzej
7ae7765460
Merge branch 'master' into pu/mp
2017-09-27 14:30:28 +02:00
svenhoefer
58e05cfd99
- menue: only add hint_height to full_height, if we really have a hint
2017-09-27 14:29:51 +02:00
Jacek Jendrzej
1fc8437a34
Merge branch 'master' into pu/mp
2017-09-27 11:56:03 +02:00
Jacek Jendrzej
1deaebf1cf
Revert "CMenuWidget: simplify menu_left_exit code, add missing break"
...
This reverts commit aa0863f0c3
.
2017-09-27 11:11:12 +02:00
Jacek Jendrzej
0abeb742bd
Merge branch 'master' into pu/mp
2017-09-26 13:38:07 +02:00
svenhoefer
96bb48b281
- menue: fix coordinates for savescreen function
2017-09-26 13:36:33 +02:00
Jacek Jendrzej
e4d0065909
Merge branch 'master' into pu/mp
2017-09-26 13:02:04 +02:00
svenhoefer
77643f3b3b
- menue: add missing delete
2017-09-26 13:00:49 +02:00
Jacek Jendrzej
b7ceb705a0
Merge branch 'master' into pu/mp
2017-09-26 12:52:04 +02:00
svenhoefer
33a596d175
- menue: user smaller vertical offset for hintboxes to keep it in sync with other vertical offsets
...
* get bottom menu offset from CMenuSeparator()->getHeight()
2017-09-26 12:41:05 +02:00
Stefan Seyfried
aa0863f0c3
CMenuWidget: simplify menu_left_exit code, add missing break
2017-09-26 12:41:05 +02:00
Stefan Seyfried
971f3703a6
add comments to suppres -Wimplicit-fallthrough warnings
2017-09-26 12:41:05 +02:00