25 #ifndef IMG_GUI_OVERLAY_MANAGER_OBSERVER_H
26 #define IMG_GUI_OVERLAY_MANAGER_OBSERVER_H
30 namespace ost {
namespace img {
namespace gui {
Abstract observer base class for the OverlayManager.
virtual void OnVisibilityChange(OverlayManager *m, int id, bool is_visible)
called on overlay visibility change
virtual void OnRemoveOverlay(OverlayManager *m, int id)
called on removal of an overlay
virtual void OnRelease(OverlayManager *m)
called if observed manager will go out of scope
virtual void OnLockChange(OverlayManager *m, int id, bool lock)
called on overlay lock change
virtual void OnAddOverlay(OverlayManager *m, int id)
called on addition of an overlay
virtual ~OverlayManagerObserver()
virtual void OnActivate(OverlayManager *m, int id)
called on overlay activation