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