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

DisplayList Struct Reference

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

Collaboration diagram for DisplayList:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DisplayList (FlashMovie *movie)
 ~DisplayList ()
DisplayListEntrygetList ()
void clearList ()
void placeObject (GraphicDevice *gd, Character *character, long depth, Matrix *matrix=0, Cxform *cxform=0, char *name=0)
CharacterremoveObject (GraphicDevice *gd, Character *character, long depth)
int render (GraphicDevice *gd, Matrix *m=0, Cxform *cxform=0)
void updateBoundingBox (DisplayListEntry *)
void updateButtons (FlashMovie *)
void getBoundary (Rect *bb)
int updateSprites ()

Public Attributes

DisplayListEntrylist
FlashMoviemovie
Rect bbox
int isSprite

Constructor & Destructor Documentation

DisplayList::DisplayList FlashMovie movie  ) 
 

Definition at line 58 of file displaylist.cc.

References bbox, isSprite, list, NULL, and Rect::reset().

DisplayList::~DisplayList  ) 
 

Definition at line 66 of file displaylist.cc.

References clearList().


Member Function Documentation

void DisplayList::clearList  ) 
 

Definition at line 72 of file displaylist.cc.

References DisplayListEntry::character, deleteButton(), Character::isButton(), list, movie, DisplayListEntry::next, and updateBoundingBox().

Referenced by Program::gotoFrame(), Program::nestedMovie(), Program::processMovie(), and ~DisplayList().

void DisplayList::getBoundary Rect bb  ) 
 

Definition at line 673 of file displaylist.cc.

References DisplayListEntry::character, Character::getBoundingBox(), list, DisplayListEntry::matrix, DisplayListEntry::next, and transformBoundingBox().

Referenced by Sprite::getBoundingBox().

DisplayListEntry * DisplayList::getList  ) 
 

Definition at line 90 of file displaylist.cc.

References list.

void DisplayList::placeObject GraphicDevice gd,
Character character,
long  depth,
Matrix matrix = 0,
Cxform cxform = 0,
char *  name = 0
 

Definition at line 123 of file displaylist.cc.

References addButton(), FlashMovie::buttons_updated, DisplayListEntry::character, DisplayListEntry::cxform, deleteButton(), DisplayListEntry::depth, Character::getTagId(), DisplayListEntry::instanceName, Character::isButton(), list, DisplayListEntry::matrix, movie, DisplayListEntry::next, NULL, DisplayListEntry::oldState, DisplayListEntry::owner, printf, DisplayListEntry::renderState, stateUp, and updateBoundingBox().

Referenced by Program::runFrame().

Character * DisplayList::removeObject GraphicDevice gd,
Character character,
long  depth
 

Definition at line 220 of file displaylist.cc.

References DisplayListEntry::character, deleteButton(), DisplayListEntry::depth, Character::getTagId(), Character::isButton(), Character::isSprite(), list, movie, DisplayListEntry::next, printf, and updateBoundingBox().

Referenced by Program::runFrame().

int DisplayList::render GraphicDevice gd,
Matrix m = 0,
Cxform cxform = 0
 

Definition at line 540 of file displaylist.cc.

References Cxform::aa, Cxform::ab, GraphicDevice::adjust, Cxform::ba, Cxform::bb, bbox, Color::blue, DisplayListEntry::character, GraphicDevice::clip_rect, DisplayListEntry::cxform, DisplayListEntry::depth, GraphicDevice::drawLine(), Character::execute(), Button::execute(), FRAC, FRAC_BITS, Cxform::ga, Cxform::gb, Character::getBoundingBox(), Character::getTagId(), Matrix::getX(), Matrix::getY(), Color::green, Character::isButton(), list, DisplayListEntry::matrix, FlashMovie::mouse_active, movie, DisplayListEntry::next, NULL, Rect::print(), printf, Cxform::ra, Cxform::rb, Color::red, DisplayListEntry::renderMatrix, DisplayListEntry::renderState, Rect::reset(), GraphicDevice::setForegroundColor(), stateUp, transformBoundingBox(), Rect::xmax, Rect::xmin, Rect::ymax, and Rect::ymin.

Referenced by Sprite::execute(), and FlashMovie::renderMovie().

void DisplayList::updateBoundingBox DisplayListEntry  ) 
 

Definition at line 260 of file displaylist.cc.

References DisplayListEntry::character, Character::getBoundingBox(), DisplayListEntry::matrix, and transformBoundingBox().

Referenced by button_reset(), clearList(), Program::handleEvent(), placeObject(), removeObject(), Program::searchFrame(), and updateButtons().

void DisplayList::updateButtons FlashMovie  ) 
 

Definition at line 416 of file displaylist.cc.

References ButtonHit::bhit, button_hit(), button_reset(), DisplayListEntry::character, exploreButtons(), ButtonHit::movie, NULL, DisplayListEntry::owner, DisplayListEntry::renderState, stateDown, stateOver, and updateBoundingBox().

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

int DisplayList::updateSprites  ) 
 

Definition at line 270 of file displaylist.cc.

References bbox, DisplayListEntry::buttonCharacter, DisplayListEntry::buttonMatrix, DisplayListEntry::character, DisplayListEntry::cxform, Program::dl, Character::isButton(), Character::isSprite(), DisplayListEntry::matrix, Program::nestedMovie(), DisplayListEntry::next, NULL, Sprite::program, transformBoundingBox(), and updateSprites().

Referenced by Program::handleEvent(), Program::processMovie(), and updateSprites().


Member Data Documentation

Rect DisplayList::bbox
 

Definition at line 51 of file displaylist.h.

Referenced by DisplayList(), render(), FlashMovie::renderMovie(), Program::runFrame(), and updateSprites().

int DisplayList::isSprite
 

Definition at line 52 of file displaylist.h.

Referenced by DisplayList(), and Sprite::Sprite().

DisplayListEntry* DisplayList::list
 

Definition at line 49 of file displaylist.h.

Referenced by clearList(), DisplayList(), exploreButtons1(), getBoundary(), getList(), placeObject(), removeObject(), render(), and Program::searchFrame().

FlashMovie* DisplayList::movie
 

Definition at line 50 of file displaylist.h.

Referenced by clearList(), placeObject(), removeObject(), and render().


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