예제 #1
0
void
JXWidget::NotifyFocusLost()
{
	HandleUnfocusEvent();
	if (itsFocusColor != itsBackColor)
		{
		Refresh();
		}
	Broadcast(LostFocus());
}
void ui::UIRadioButtonGroup::NotifyFocusObtained(const std::shared_ptr<UIBase> &uiBase) {
  for (size_t i = 0; i < GetNumberOfElements(); ++i) {
    auto child = GetElement(i);
    if (uiBase != child) {
      child->LostFocus();
    }
  }
  if (!GetParentContainer().expired()) {
    GetParentContainer().lock()->NotifyFocusObtained(shared_from_this());
  }
}
예제 #3
0
void MkWindowBaseNode::SendNodeCommandTypeEvent(ePA_SceneNodeEvent eventType, MkDataNode* argument)
{
	switch (eventType)
	{
	case ePA_SNE_Activate: Activate(); break;
	case ePA_SNE_Deactivate: Deactivate(); break;
	case ePA_SNE_OnFocus: OnFocus(); break;
	case ePA_SNE_LostFocus: LostFocus(); break;
	}
	
	MkWindowThemedNode::SendNodeCommandTypeEvent(eventType, argument);
}
예제 #4
0
//=================================================================================================
void TeamPanel::Hide()
{
	LostFocus();
	visible = false;
}
예제 #5
0
			void Control::OnLostFocus(RoutedEventArgs* e)
			{
				LostFocus(this, e);
			}
예제 #6
0
void MutIconShapeClass<T>::OnKillFocus(wxFocusEvent & event)
{
	TRACEC;
	LostFocus();
	event.Skip();
}
예제 #7
0
void RenderWidget::focusOutEvent(QFocusEvent* /*event*/)
{
    LostFocus();
}