// overload: AzukiTextBox version void SetFocusedTextBox(AzukiTextBox _azukiTextBox) { if (_azukiTextBox.Focused) { _focusedAzukiTextBox = _azukiTextBox; } else // !textBox.Focused { _focusedAzukiTextBox = null; } _focusedNormalTextBox = null; }
void GetFocusedTextBox(out TextBox _textBox, out AzukiTextBox _azukiTextBox) { _textBox = null; _azukiTextBox = null; if (_focusedNormalTextBox != null) { _textBox = _focusedNormalTextBox; } else if (_focusedAzukiTextBox != null) { _azukiTextBox = _focusedAzukiTextBox; } }