local
DEFAULT_EDIT_BOX_ENABLED_COLOR
=
ZO_ColorDef
:
New
(
1
,
)
DEFAULT_EDIT_BOX_DISABLED_COLOR
GetInterfaceColor
INTERFACE_COLOR_TYPE_TEXT_COLORS
INTERFACE_TEXT_COLOR_DISABLED
function
ZO_DefaultEdit_SetEnabled
editBox
enabled
if
then
SetHandler
"OnMouseDown"
TakeFocus
end
SetColor
UnpackRGBA
else
LoseFocus
nil