_Popup::_Popup(void)
: _titleState(false)
- , _ownerEnableState(false)
, _titleText(L"")
, _bgColor(Color(0xFFFFFFFF))
, _titleTextColor(Color(0xFFFFFFFF))
}
}
- _Control* pOwner = GetOwner();
-
- if (pOwner != null)
- {
- pOwner->LockInputEvent();
- }
-
_Window::OnActivated();
}
return __pPopupPresenter->OnTouchReleased(source, touchinfo);
}
+void
+_Popup::OnOwnerChanged(_Control* pOldOwner)
+{
+ _Control* pOwner = GetOwner();
+
+ if (pOldOwner != null)
+ {
+ pOldOwner->UnlockInputEvent();
+ }
+
+ if (pOwner != null)
+ {
+ pOwner->LockInputEvent();
+ }
+}
}}} // Tizen::Ui::Controls
virtual void OnBoundsChanged(void);
virtual result OnBoundsChanging(const Tizen::Graphics::Rectangle& bounds);
virtual bool IsLayoutChangable(void) const;
+ virtual void OnOwnerChanged(_Control* pOldOwner);
// Accessor
public:
// Attribute
protected:
bool _titleState;
- bool _ownerEnableState;
Tizen::Base::String _titleText;