Gnash  0.8.10
Public Member Functions | Public Attributes
gnash::SWF::ButtonAction Class Reference

A class for parsing an ActionRecord. More...

#include <DefineButtonTag.h>

List of all members.

Public Member Functions

 ButtonAction (SWFStream &in, TagType t, unsigned long endPos, movie_definition &mdef)
bool triggeredBy (const event_id &ev) const
 Return true if this action should be triggered by the given event.
bool triggeredByKeyPress () const
 Return true if this action is triggered by a keypress.

Public Attributes

action_buffer _actions

Detailed Description

A class for parsing an ActionRecord.


Constructor & Destructor Documentation

gnash::SWF::ButtonAction::ButtonAction ( SWFStream in,
TagType  t,
unsigned long  endPos,
movie_definition mdef 
)

Member Function Documentation

bool gnash::SWF::ButtonAction::triggeredBy ( const event_id ev) const

Return true if this action should be triggered by the given event.

References gnash::event_id::id(), gnash::key::codeMap, gnash::event_id::keyCode(), and gnash::key::SWF.

bool gnash::SWF::ButtonAction::triggeredByKeyPress ( ) const [inline]

Return true if this action is triggered by a keypress.

Referenced by gnash::SWF::DefineButtonTag::hasKeyPressHandler().


Member Data Documentation

Referenced by ButtonAction().


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