Commit Graph

422 Commits

Author SHA1 Message Date
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
M. Liebmann
abfb02aa47 Merge branch 'master' into pu/mp 2017-09-21 09:07:15 +02:00
svenhoefer
6ee3e54741 - add and use FRAME_WIDTH defines; ...
replace other fixed frame widths with OFFSET defines

Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-09-20 21:29:53 +02:00
Jacek Jendrzej
ef0154a89b Merge branch 'master' into pu/mp 2017-09-19 18:16:14 +02:00
vanhofen
57a17472a6 - menue: use getItemColors() to get item colors 2017-09-19 18:10:56 +02:00
Jacek Jendrzej
74be1f7b5b Merge branch 'master' into pu/mp 2017-09-19 16:24:38 +02:00
max_10
af3a61cb96 mediaplayer: fixes form Duckbox git 2017-09-19 15:12:53 +02:00
Jacek Jendrzej
a23737a626 Merge branch 'master' into pu/mp 2017-09-18 10:53:42 +02:00
Thilo Graf
f0660dc66c CMenuItem: add members set/get info icon inside menu items 2017-09-17 13:52:43 +02:00
Jacek Jendrzej
e3998c1ced Merge branch 'master' into pu/mp 2017-09-15 20:44:49 +02:00
vanhofen
d873aef1e8 - rename SLIDER defines 2017-09-15 20:17:48 +02:00
vanhofen
0a748de445 - menu: rework slider; ...
* rename some variables
* use paintBoxFrame() instead of background-icon; this avoids scaling
  issues on higher resolutions; scaled icons are ugly
2017-09-15 20:16:13 +02:00
Jacek Jendrzej
2ebb47f519 Merge branch 'master' into pu/mp 2017-09-14 13:54:04 +02:00
Thilo Graf
5678da177e CMenuWidget: replace paintBoxRel() calls with single PaintBoxRel()
Paints background and shadow at once. Shadow is painted only on
reqiured parts of screen. This avoids possible flicker effects e.g.
with footer paint, on changing buttons, was to see with opkg_manager.
2017-09-14 12:14:41 +02:00
Thilo Graf
7f7054018b CMenuWidget: use CComponentsFooter for paint footers in menues
Another step for more unified window designs.
2017-09-14 12:14:41 +02:00