|
void | save (SimpleFile *file, int indent) override |
|
void | load (SimpleFile *file) override |
|
bool | connectsTo (CViewItem *destView) const override |
|
virtual void | setDestination (int roomNumber, int nodeNumber, int viewNumber, int linkMode) |
|
virtual CViewItem * | getDestView () const |
|
virtual CNodeItem * | getDestNode () const |
|
virtual CRoomItem * | getDestRoom () const |
|
CMovieClip * | getClip () const |
|
Movement | getMovement () const |
|
bool | findPoint (Quadrant quadrant, Point &pt) |
|
CString | dumpItem (int indent) const override |
|
void | save (SimpleFile *file, int indent) override |
|
void | load (SimpleFile *file) override |
|
const CString | getName () const override |
|
bool | isEquals (const CString &name, bool startsWith=false) const override |
|
virtual CViewItem * | findView () const |
|
virtual CNodeItem * | findNode () const |
|
virtual CRoomItem * | findRoom () const |
|
void | dump (int indent) |
|
void | save (SimpleFile *file, int indent) override |
|
void | load (SimpleFile *file) override |
|
virtual CGameManager * | getGameManager () const |
|
virtual bool | isFileItem () const |
|
virtual bool | isRoomItem () const |
|
virtual bool | isNodeItem () const |
|
virtual bool | isViewItem () const |
|
virtual bool | isLinkItem () const |
|
virtual bool | isPlaceHolderItem () const |
|
virtual bool | isNamedItem () const |
|
virtual bool | isGameObject () const |
|
virtual bool | isGameObjectDescItem () const |
|
virtual int | compareTo (const CString &name, int maxLen=0) const |
|
virtual const CMovieClipList * | getMovieClips () const |
|
virtual void | draw (CScreenManager *screenManager) |
|
virtual Rect | getBounds () const |
|
virtual void | freeSurface () |
|
CTreeItem * | getParent () const |
|
CProjectItem * | getRoot () const |
|
CTreeItem * | getNextSibling () const |
|
CTreeItem * | getPriorSibling () const |
|
CTreeItem * | getLastSibling () |
|
CTreeItem * | getFirstChild () const |
|
CTreeItem * | getLastChild () const |
|
CTreeItem * | scan (CTreeItem *item) const |
|
CTreeItem * | findChildInstanceOf (ClassDef *classDef) const |
|
CTreeItem * | findNextInstanceOf (ClassDef *classDef, CTreeItem *startItem) const |
|
void | addUnder (CTreeItem *newParent) |
|
void | setParent (CTreeItem *newParent) |
|
void | addSibling (CTreeItem *item) |
|
void | moveUnder (CTreeItem *newParent) |
|
void | destroyAll () |
|
int | destroyChildren () |
|
void | detach () |
|
void | attach (CTreeItem *item) |
|
CNamedItem * | findByName (const CString &name, bool subMatch=false) |
|
virtual ClassDef * | getType () const |
|
bool | isInstanceOf (const ClassDef *classDef) const |
|
virtual void | saveHeader (SimpleFile *file, int indent) |
|
virtual void | saveFooter (SimpleFile *file, int indent) |
|
|
Rect | _bounds |
|
CursorId | _cursorId |
|
| CLASSDEF |
|
CString | _name |
|
| CLASSDEF |
|
| CLASSDEF |
|
| CLASSDEF |
|
|
int | _roomNumber |
|
int | _nodeNumber |
|
int | _viewNumber |
|
int | _linkMode |
|
|
static ClassDef * | _type |
|
virtual const MSGMAP * | getMessageMap () const |
|
static const MSGMAP * | getThisMessageMap () |
|
◆ save()
void Titanic::CLinkItem::save |
( |
SimpleFile * |
file, |
|
|
int |
indent |
|
) |
| |
|
overridevirtual |
◆ load()
void Titanic::CLinkItem::load |
( |
SimpleFile * |
file | ) |
|
|
overridevirtual |
◆ connectsTo()
bool Titanic::CLinkItem::connectsTo |
( |
CViewItem * |
destView | ) |
const |
|
overridevirtual |
Returns true if the given item connects to another specified view
Reimplemented from Titanic::CTreeItem.
◆ setDestination()
virtual void Titanic::CLinkItem::setDestination |
( |
int |
roomNumber, |
|
|
int |
nodeNumber, |
|
|
int |
viewNumber, |
|
|
int |
linkMode |
|
) |
| |
|
virtual |
Set the destination for the link item
◆ getDestView()
virtual CViewItem* Titanic::CLinkItem::getDestView |
( |
| ) |
const |
|
virtual |
Get the destination view for the link item
◆ getDestNode()
virtual CNodeItem* Titanic::CLinkItem::getDestNode |
( |
| ) |
const |
|
virtual |
Get the destination node for the link item
◆ getDestRoom()
virtual CRoomItem* Titanic::CLinkItem::getDestRoom |
( |
| ) |
const |
|
virtual |
Get the destination view for the link item
◆ getClip()
Get the movie clip, if any, that's used when the link is used
◆ getMovement()
Movement Titanic::CLinkItem::getMovement |
( |
| ) |
const |
Get the movement, if any, the cursor represents
◆ findPoint()
bool Titanic::CLinkItem::findPoint |
( |
Quadrant |
quadrant, |
|
|
Point & |
pt |
|
) |
| |
Returns a point that falls within the link. Used for simulating mouse clicks for movement when arrow keys are pressed
- Parameters
-
quadrant | Quadrant (edge) to return point for |
pt | Return point |
- Returns
- True if a point was found
The documentation for this class was generated from the following file: