svenhoefer
856c676430
- rename g_PluginList to g_Plugins; this isn't a list of plugins
2017-03-01 13:03:50 +01:00
Thilo Graf
0435ca20a3
CMenuWidget: remove dub code from init
2017-02-09 16:35:03 +01:00
Thilo Graf
2dda93ed2b
CMenuWidget: use only nameString as container for widget name
...
neutrino_locale_t name could be transformed always to real string to
unify this container
2017-02-09 15:52:39 +01:00
Thilo Graf
a2f9d4b462
Revert "CMenuWidget: ensure repaint of all header content if it is already painted"
...
This reverts commit 97ed7cdaf7
.
2017-02-02 11:18:27 +01:00
Thilo Graf
97ed7cdaf7
CMenuWidget: ensure repaint of all header content if it is already painted
...
TODO: This should be controlled inside header base class.
paint() method seems suitable.
I Will try to implement it soon.
2017-01-31 16:36:43 +01:00
Thilo Graf
76008371ff
CMenuWidget: add missing hide() for details line
...
Details_line was not removed in all constellations when menu was closed.
Sample: open main menue and select an entry with connect-line, eg. plugins,
press key to come into submenu, then go back to main menue and close
menu with home key, result: it's possible that line is still on screen.
2017-01-31 16:36:42 +01:00
Thilo Graf
6a3778ba93
CMenuWidget: Forcing removal of details line during removing of hint box.
2017-01-30 11:27:55 +01:00
Jacek Jendrzej
f76dda36df
fix uninitialised values
2017-01-29 20:54:35 +01:00
Thilo Graf
114bba2ab7
CMenuWidget: add menu name reinit
...
Ensures correct display of menu name while runtime.
For example: it's required on changed language settings, otherwise we have
old language in menu head.
2016-12-22 23:49:01 +01:00
svenhoefer
97cfb36041
- menue: use SCROLLBAR_WIDTH define
2016-12-20 10:26:59 +01:00
Thilo Graf
644e8196db
CMenuWidget: add external methode to paint scrollbar
2016-12-17 22:39:14 +01:00
Jacek Jendrzej
91e0f8070b
supplement to a8ea7c60d5
2016-11-25 16:45:26 +01:00
Jacek Jendrzej
a8ea7c60d5
src/gui/widget/menue.cpp try to fix widget segfault menu with keyboard and background restore
2016-11-24 19:21:14 +01:00
Thilo Graf
aa40d88300
Merge branch 'master' into pu/msgbox
2016-11-14 20:38:01 +01:00
Jacek Jendrzej
99c57d3075
src/gui/widget/menue.cpp try fix hide info_box (in channellist)
2016-11-14 19:27:09 +01:00
Thilo Graf
96ffa4778a
Merge branch 'master' into pu/msgbox
2016-11-11 00:51:20 +01:00
Thilo Graf
30f231c801
CMenuWidget: move signal before render methodes
...
At start of methode, unusual behavior could occur.
2016-11-11 00:48:37 +01:00
Thilo Graf
9b9d2542e6
Merge branch 'master' into pu/msgbox
2016-10-28 08:05:34 +02:00
Jacek Jendrzej
83976f40b4
src/gui/widget/menue.cpp fix segfault if items is empty
2016-10-27 17:06:12 +02:00
Thilo Graf
28acb0fefa
Merge branch 'master' into pu/msgbox
2016-10-27 10:13:45 +02:00
M. Liebmann
a3e0a0e917
CMenuWidget::saveScreen: Fix segfault
2016-10-26 15:16:11 +02:00
Thilo Graf
a17d61de8c
Shadow: try to optimize shadow areas
...
* cleanup inner part of box on round corners, frames considered
* adopt implementations in some gui classes
* some debug lines removed
* test menu adopted
* try to fix corner caluculation to avoid transparent holes
2016-10-24 10:31:25 +02:00
svenhoefer
957b1e05df
- various: use DARK text color on DARK background
2016-10-19 14:35:38 +02:00
svenhoefer
870981c889
- menue: fix listModeKey handling
2016-10-19 14:06:24 +02:00
svenhoefer
98500fdeb6
- add and use OFFSET_INTER definition
2016-10-10 14:19:55 +02:00
svenhoefer
5d450c60d3
- rename SHADOW_OFFSET -> OFFSET_SHADOW
2016-10-10 14:19:55 +02:00
vanhofen
6629b64d6c
- colors: add COL_SCROLLBAR_PASSIVE wrapper
2016-10-10 14:19:54 +02:00
vanhofen
7e7d4e5fc1
- colors: add COL_SCROLLBAR_ACTIVE wrapper
2016-10-10 14:19:54 +02:00
svenhoefer
75fe6e407d
- colors: add COL_FRAME wrapper
2016-10-10 14:19:54 +02:00
Thilo Graf
264366c792
CMenuItem: use reasonable radius
...
In some views the large radius looks too chunky.
2016-09-24 20:59:49 +02:00
svenhoefer
974ef11d5b
- detailsline: remove unneeded position/dimension additions
2016-09-12 12:11:04 +02:00
svenhoefer
2911e638c7
- add listModeKey() function to simplify these calls
2016-09-09 10:42:46 +02:00
Thilo Graf
41ed6513bd
CMenuWidget: assign all layer colors out of header init
...
This fixes missing applying of possible changes of
colour settings in color setup for frame.
2016-08-22 21:16:58 +02:00
Jacek Jendrzej
a29f433ded
src/gui/widget/menue.cpp check if pointer is not NULL
2016-08-17 17:23:08 +02:00
Thilo Graf
1306a7c1a3
CMenuWidget: adopt shadow color to newer color macros
2016-08-17 10:55:12 +02:00
svenhoefer
cc5258e6d5
- colors: make footer background color configurable
...
TODO: footer text color and maybe footer font
2016-08-15 00:14:47 +02:00
svenhoefer
bc39d1e14e
- colors: some internal renamings
...
* INFOBAR_SHADOW to SHADOW because it's not only used in infoviewer
* INFOBAR_SHADOW_TEXT to MENUFOOT_TEXT because it's the proper name
This is in preparation to make footer colors configurable
2016-08-14 21:55:18 +02:00
Thilo Graf
5788d744c6
CMenuWidget: use real paint mode of info box
2016-08-12 17:39:11 +02:00
Jacek Jendrzej
5be8af9890
src/gui/widget/menue.cpp fix possible heap-buffer-overflow
2016-07-21 15:38:34 +02:00
Thilo Graf
91729dc48a
CMenuWidget: avoid dangling pointer after delete
2016-06-26 15:32:31 +02:00
Jacek Jendrzej
0d9fbd5378
some never read compil warning fixes
2016-04-24 17:18:37 +02:00
Jacek Jendrzej
a918ca56b6
pass by reference
2016-04-20 12:52:16 +02:00
[CST] Focus
302642cee7
neutrino: add webtv channel list mode
2016-03-23 16:36:00 +03:00
M. Liebmann
6c72fe94bc
CCDraw: Set cc_gradient_bg_cleanup to true
...
Except menu headers: Disable cleanup when save screen is disabled
2016-01-29 15:31:12 +01:00
Jacek Jendrzej
5a338357fc
CMenuWidget: try to fix possible overlength of details line
...
Signed-off-by: Thilo Graf <dbt@novatux.de >
2016-01-26 20:00:22 +01:00
M. Liebmann
ef9246d892
CMenuWidget: Enable cleanup gradient background for menu hints...
...
... and for menu headers when save screen is enabled
2016-01-26 09:51:48 +01:00
Thilo Graf
77518102f8
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
2015-12-27 14:42:28 +01:00
svenhoefer
92abb85a9d
- menue: fix format warning 'too many arguments'
2015-12-22 13:14:18 +01:00
svenhoefer
809274d750
- menue: don't paint hotkey icons on deactivated items; use dummy icon
2015-12-22 13:14:18 +01:00
Thilo Graf
1f95f38d32
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