DarkRadiant: master 5739fc5e
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
orbweaver | orbweaver | master | 22.06.2022 19:58 | master dfbe8e41 |
Affected Issues | 0000410: Grey-out menu entries that are not applicable | |||
Changeset | 0000410: add mechanism to grey out invalid menu entries Connect to the wxEVT_MENU_OPEN event to detect when a menu is about to be opened, and use the event handler to enable or disable menu items according to the value returned by ICommandSystem::canExecute(). Currently the only visible change is in the Brush/CSG submenu, since these are the only items for which canExecute() is implemented. |
|||
mod - radiant/eventmanager/EventManager.cpp | Diff File | |||
mod - radiant/eventmanager/EventManager.h | Diff File | |||
mod - radiantcore/commandsystem/CommandSystem.cpp | Diff File |