#include </home/clem/local/src/opie/core/multimedia/opieplayer/libflash/button.h>
Inheritance diagram for Button:


Public Member Functions | |
| Button (long id, int level=1) | |
| ~Button () | |
| void | addActionRecord (ActionRecord *ar) |
| void | addButtonRecord (ButtonRecord *br) |
| void | addCondition (long transition) |
| int | execute (GraphicDevice *gd, Matrix *matrix, Cxform *cxform, ButtonState renderState) |
| ActionRecord * | getActionFromTransition (ButtonState currentState, ButtonState old) |
| void | getRegion (GraphicDevice *gd, Matrix *matrix, void *id, ScanLineFunc scan_line_func) |
| ButtonRecord * | getButtonRecords () |
| void | setButtonSound (Sound *, int) |
| void | setButtonMenu (int) |
| ActionRecord * | getActionRecords () |
| Condition * | getConditionList () |
| Sound ** | getSounds () |
| void | getBoundingBox (Rect *bb, DisplayListEntry *) |
| void | updateButtonState (DisplayListEntry *) |
| Character * | getRenderCharacter (ButtonState state) |
| int | isButton () |
Public Attributes | |
| long | defLevel |
| ButtonRecord * | buttonRecords |
| ActionRecord * | actionRecords |
| Condition * | conditionList |
| long | isMenu |
| Sound * | sound [4] |
|
||||||||||||
|
Definition at line 33 of file button.cc. References actionRecords, buttonRecords, conditionList, defLevel, isMenu, Character::reset(), and sound. |
|
|
Definition at line 46 of file button.cc. References actionRecords, Condition::actions, buttonRecords, conditionList, ButtonRecord::cxform, d, Condition::next, ButtonRecord::next, and ActionRecord::next. |
|
|
Definition at line 168 of file button.cc. References actionRecords, and ActionRecord::next. Referenced by CInputScript::ParseDefineButton(), and CInputScript::ParseDefineButton2(). |
|
|
Definition at line 123 of file button.cc. References buttonRecords, l, ButtonRecord::layer, ButtonRecord::next, and NULL. Referenced by CInputScript::ParseDefineButton(), and CInputScript::ParseDefineButton2(). |
|
|
Definition at line 150 of file button.cc. References actionRecords, Condition::actions, conditionList, Condition::next, NULL, and Condition::transition. Referenced by CInputScript::ParseDefineButton2(). |
|
||||||||||||||||||||
|
Definition at line 200 of file button.cc. References ButtonRecord::buttonMatrix, buttonRecords, ButtonRecord::character, ButtonRecord::cxform, Character::execute(), Character::getTagId(), ButtonRecord::next, NULL, printf, and ButtonRecord::state. Referenced by DisplayList::render(). |
|
||||||||||||
|
Definition at line 237 of file button.cc. References Condition::actions, conditionList, isMenu, Condition::next, NULL, stateDown, stateOver, stateUp, and Condition::transition. Referenced by button_action(). |
|
|
Definition at line 91 of file button.cc. References actionRecords. |
|
||||||||||||
|
Reimplemented from Character. Definition at line 279 of file button.cc. References ButtonRecord::buttonMatrix, buttonRecords, ButtonRecord::character, Character::getBoundingBox(), ButtonRecord::next, DisplayListEntry::renderState, Rect::reset(), ButtonRecord::state, and transformBoundingBox(). |
|
|
Definition at line 85 of file button.cc. References buttonRecords. Referenced by CInputScript::ParseDefineButtonCxform(). |
|
|
Definition at line 103 of file button.cc. References conditionList. |
|
||||||||||||||||||||
|
Reimplemented from Character. Definition at line 184 of file button.cc. References ButtonRecord::buttonMatrix, buttonRecords, ButtonRecord::character, Character::getRegion(), ButtonRecord::next, ButtonRecord::state, and stateHitTest. |
|
|
Definition at line 301 of file button.cc. References buttonRecords, ButtonRecord::character, ButtonRecord::next, and ButtonRecord::state. |
|
|
Definition at line 97 of file button.cc. References sound. |
|
|
Reimplemented from Character. |
|
|
Definition at line 117 of file button.cc. References isMenu. |
|
||||||||||||
|
Definition at line 109 of file button.cc. References sound. Referenced by CInputScript::ParseDefineButtonSound(). |
|
|
Definition at line 315 of file button.cc. References ButtonRecord::buttonMatrix, buttonRecords, ButtonRecord::character, ButtonRecord::next, and ButtonRecord::state. |
|
|
Definition at line 45 of file button.h. Referenced by addActionRecord(), addCondition(), Button(), button_action(), getActionRecords(), and ~Button(). |
|
|
Definition at line 44 of file button.h. Referenced by addButtonRecord(), Button(), execute(), getBoundingBox(), getButtonRecords(), getRegion(), getRenderCharacter(), updateButtonState(), and ~Button(). |
|
|
Definition at line 46 of file button.h. Referenced by addCondition(), Button(), button_action(), getActionFromTransition(), getConditionList(), and ~Button(). |
|
|
Definition at line 42 of file button.h. Referenced by Button(). |
|
|
Definition at line 48 of file button.h. Referenced by Button(), getActionFromTransition(), and setButtonMenu(). |
|
|
Definition at line 50 of file button.h. Referenced by Button(), button_action(), getSounds(), and setButtonSound(). |
1.4.2