Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

FlashMovie Struct Reference

#include </home/clem/local/src/opie/core/multimedia/opieplayer/libflash/movie.h>

Collaboration diagram for FlashMovie:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 FlashMovie ()
 ~FlashMovie ()
int processMovie (GraphicDevice *gd, SoundMixer *sm)
int handleEvent (GraphicDevice *gd, SoundMixer *sm, FlashEvent *event)
void renderMovie ()
void renderFocus ()

Public Attributes

int buttons_updated
DisplayListEntrycur_focus
long mouse_active
long mouse_x
long mouse_y
int button_pressed
Buttonlost_over
FlashEvent scheduledEvent
timeval scheduledTime
int refresh
CInputScriptmain
long msPerFrame
GraphicDevicegd
SoundMixersm
void(* getUrl )(char *, char *, void *)
void * getUrlClientData
void(* getSwf )(char *url, int level, void *clientData)
void * getSwfClientData
void(* cursorOnOff )(int, void *)
void * cursorOnOffClientData

Constructor & Destructor Documentation

FlashMovie::FlashMovie  ) 
 

Definition at line 24 of file movie.cc.

References button_pressed, buttons_updated, cur_focus, cursorOnOff, gd, getSwf, getUrl, lost_over, mouse_active, mouse_x, mouse_y, msPerFrame, NULL, refresh, scheduledTime, and sm.

FlashMovie::~FlashMovie  ) 
 

Definition at line 45 of file movie.cc.

References gd, main, CInputScript::next, NULL, and sm.


Member Function Documentation

int FlashMovie::handleEvent GraphicDevice gd,
SoundMixer sm,
FlashEvent event
 

Definition at line 80 of file movie.cc.

References SoundMixer::playSounds(), and renderMovie().

Referenced by FlashExec().

int FlashMovie::processMovie GraphicDevice gd,
SoundMixer sm
 

Definition at line 60 of file movie.cc.

References Program::nbFrames, CInputScript::next, NULL, SoundMixer::playSounds(), Program::processMovie(), CInputScript::program, and renderMovie().

Referenced by FlashExec().

void FlashMovie::renderFocus  ) 
 

Definition at line 98 of file movie.cc.

References GraphicDevice::adjust, DisplayListEntry::character, cur_focus, GraphicDevice::drawBox(), gd, Character::getBoundingBox(), mouse_active, DisplayListEntry::renderMatrix, and transformBoundingBox().

Referenced by renderMovie().

void FlashMovie::renderMovie  ) 
 

Definition at line 116 of file movie.cc.

References DisplayList::bbox, GraphicDevice::clearCanvas(), Program::dl, gd, CInputScript::level, main, CInputScript::next, NULL, CInputScript::program, DisplayList::render(), Program::render, renderFocus(), Rect::reset(), transformBoundingBox(), GraphicDevice::updateClippingRegion(), Rect::xmax, Rect::xmin, Rect::ymax, and Rect::ymin.

Referenced by handleEvent(), and processMovie().


Member Data Documentation

int FlashMovie::button_pressed
 

Definition at line 36 of file movie.h.

Referenced by FlashMovie().

int FlashMovie::buttons_updated
 

Definition at line 27 of file movie.h.

Referenced by FlashMovie(), DisplayList::placeObject(), and Program::runFrame().

DisplayListEntry* FlashMovie::cur_focus
 

Definition at line 30 of file movie.h.

Referenced by addButton(), deleteButton(), FlashMovie(), Program::handleEvent(), and renderFocus().

void(* FlashMovie::cursorOnOff)(int, void *)
 

Referenced by FlashMovie(), and FlashSetCursorOnOffMethod().

void* FlashMovie::cursorOnOffClientData
 

Definition at line 58 of file movie.h.

Referenced by FlashSetCursorOnOffMethod().

GraphicDevice* FlashMovie::gd
 

Definition at line 48 of file movie.h.

Referenced by button_hit(), computeBBox(), FlashExec(), FlashGraphicInit(), FlashMovie(), FlashOffset(), FlashZoom(), renderFocus(), renderMovie(), and ~FlashMovie().

void(* FlashMovie::getSwf)(char *url, int level, void *clientData)
 

Referenced by FlashMovie(), and FlashSetGetSwfMethod().

void* FlashMovie::getSwfClientData
 

Definition at line 55 of file movie.h.

Referenced by FlashSetGetSwfMethod().

void(* FlashMovie::getUrl)(char *, char *, void *)
 

Referenced by Program::doAction(), FlashMovie(), and FlashSetGetUrlMethod().

void* FlashMovie::getUrlClientData
 

Definition at line 52 of file movie.h.

Referenced by Program::doAction(), and FlashSetGetUrlMethod().

Button* FlashMovie::lost_over
 

Definition at line 38 of file movie.h.

Referenced by addButton(), deleteButton(), and FlashMovie().

CInputScript* FlashMovie::main
 

Definition at line 46 of file movie.h.

Referenced by FlashExec(), FlashGetInfo(), FlashGraphicInit(), FlashNew(), FlashParse(), FlashSettings(), renderMovie(), and ~FlashMovie().

long FlashMovie::mouse_active
 

Definition at line 33 of file movie.h.

Referenced by addButton(), deleteButton(), FlashMovie(), Program::handleEvent(), DisplayList::render(), and renderFocus().

long FlashMovie::mouse_x
 

Definition at line 34 of file movie.h.

Referenced by button_hit(), FlashMovie(), and Program::handleEvent().

long FlashMovie::mouse_y
 

Definition at line 35 of file movie.h.

Referenced by button_hit(), FlashMovie(), and Program::handleEvent().

long FlashMovie::msPerFrame
 

Definition at line 47 of file movie.h.

Referenced by FlashExec(), and FlashMovie().

int FlashMovie::refresh
 

Definition at line 44 of file movie.h.

Referenced by FlashMovie().

FlashEvent FlashMovie::scheduledEvent
 

Definition at line 41 of file movie.h.

Referenced by FlashExec(), and Program::handleEvent().

struct timeval FlashMovie::scheduledTime
 

Definition at line 42 of file movie.h.

Referenced by FlashExec(), FlashMovie(), and Program::handleEvent().

SoundMixer* FlashMovie::sm
 

Definition at line 49 of file movie.h.

Referenced by FlashExec(), FlashMovie(), FlashSoundInit(), and ~FlashMovie().


The documentation for this struct was generated from the following files:
Generated on Sat Nov 5 17:32:57 2005 for OPIE by  doxygen 1.4.2