Hasty Badger
Small UI library (a branch of Turbo Badger)
 All Classes Namespaces Functions Variables Enumerations Enumerator Friends Groups Pages
tb::TBWidgetsAnimationManager Class Reference
Inheritance diagram for tb::TBWidgetsAnimationManager:
tb::TBWidgetListener tb::TBLinkOf< TBWidgetListener > tb::TBWidgetListenerGlobalLink tb::TBLink tb::TBLinkOf< TBWidgetListenerGlobalLink > tb::TBLink

Static Public Member Functions

static void Init ()
 Init the widgets animation manager. More...
 
static void Shutdown ()
 Shutdown the widgets animation manager. More...
 
static void AbortAnimations (TBWidget *widget)
 Abort all animations that are running for the given widget. More...
 
static void AbortAnimations (TBWidget *widget, TB_TYPE_ID type_id)
 Abort all animations matching the given type that are running for the given widget. More...
 
- Static Public Member Functions inherited from tb::TBWidgetListener
static void AddGlobalListener (TBWidgetListener *listener)
 Add a listener to all widgets. More...
 
static void RemoveGlobalListener (TBWidgetListener *listener)
 

Additional Inherited Members

- Public Member Functions inherited from tb::TBWidgetListener
virtual void OnWidgetFocusChanged (TBWidget *, bool)
 Called when widget focus has changed on a widget. More...
 
virtual bool OnWidgetInvokeEvent (TBWidget *, const TBWidgetEvent &)
 Called when a event is about to be invoked on a widget. More...
 

Member Function Documentation

void tb::TBWidgetsAnimationManager::AbortAnimations ( TBWidget widget)
static

Abort all animations that are running for the given widget.

void tb::TBWidgetsAnimationManager::AbortAnimations ( TBWidget widget,
TB_TYPE_ID  type_id 
)
static

Abort all animations matching the given type that are running for the given widget.

This example will abort all opacity animations: AbortAnimations(widget, TBTypedObject::GetTypeId<TBWidgetAnimationOpacity>())

void tb::TBWidgetsAnimationManager::Init ( )
static

Init the widgets animation manager.

void tb::TBWidgetsAnimationManager::Shutdown ( )
static

Shutdown the widgets animation manager.


The documentation for this class was generated from the following files: