Gnash
0.8.11dev
|
Helper to generate mouse events, given mouse state & history. More...
#include <MouseButtonState.h>
Public Member Functions | |
MouseButtonState () | |
void | markReachableResources () const |
Mark reachable objects (active and topmost entities) More... | |
Public Attributes | |
InteractiveObject * | activeEntity |
entity that currently owns the mouse pointer More... | |
InteractiveObject * | topmostEntity |
what's underneath the mouse right now More... | |
bool | wasDown |
previous state of mouse button More... | |
bool | isDown |
current state of mouse button More... | |
bool | wasInsideActiveEntity |
whether mouse was inside the active_entity last frame More... | |
Helper to generate mouse events, given mouse state & history.
|
inline |
|
inline |
Mark reachable objects (active and topmost entities)
References activeEntity, gnash::GcResource::setReachable(), and topmostEntity.
Referenced by gnash::movie_root::markReachableResources().
InteractiveObject* gnash::MouseButtonState::activeEntity |
entity that currently owns the mouse pointer
Referenced by gnash::movie_root::getActiveEntityUnderPointer(), and markReachableResources().
bool gnash::MouseButtonState::isDown |
current state of mouse button
Referenced by gnash::movie_root::mouseClick().
InteractiveObject* gnash::MouseButtonState::topmostEntity |
what's underneath the mouse right now
Referenced by markReachableResources().
bool gnash::MouseButtonState::wasDown |
previous state of mouse button
bool gnash::MouseButtonState::wasInsideActiveEntity |
whether mouse was inside the active_entity last frame