URL:
<http://gna.org/bugs/?19768>
Summary: add custom menu items to menus using ThemeWML
Project: Battle for Wesnoth
Submitted by: crendgrim
Submitted on: Mo 28 Mai 2012 15:18:41 GMT
Category: Feature Request
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: WML
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 1.11
Operating System: -
_______________________________________________________
Details:
It would be nice if one, as a WML author, could add custom menu items to the
menus. The only way to add menu items right now is to define them via
[set_menu_item]. However, they will only show up in the context menu. Adding
"wml" as an item to any other menu in a [theme] tag will have no result.
What I'd like to have is the possibility to add certain custom menu items to a
menu. If we have a menu item defined with [set_menu_item] using the id
"custom_item", it would be nice to be able to add it to a menu like so:
[menu]
...
items=custom_item,undo,redo
...
[/menu]
If there might be problems with having custom menu items "overriding" standard
ones (such as undo or redo), it might be feasible to prefix them with "wml_".
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?19768>
_______________________________________________
Nachricht gesendet von/durch Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs