CMenus
to CUI
to remove yet another dependency of the UI elements on the menus.
The ConsumeHotkey
method will purge the flag for that particular hotkey, so this change will also prevent any potential cases of a hotkey being handled twice.CUI
to get rid of duplicated code and the usage of CLineInput::Manipulate
.
Add a IButtonColorFunction
interface to allow editboxes in editor to look the same as before.
Most CLineInput
instances are initialized with their buffers once using the constructor, but some have dynamic buffer locations which must be set using SetBuffer
.