#include <ControlBarScheme.h>
Public Types | |
| enum | { CB_ANIM_SLIDE_RIGHT = 0 , CB_ANIM_MAX } |
Public Member Functions | |
| ControlBarSchemeAnimation (void) | |
| ~ControlBarSchemeAnimation (void) | |
| UnsignedInt | getCurrentFrame (void) |
| void | setCurrentFrame (UnsignedInt currentFrame) |
| ICoord2D | getStartPos (void) |
| void | setStartPos (ICoord2D startPos) |
Public Attributes | |
| AsciiString | m_name |
| Current animation name. | |
| Int | m_animType |
| Type of animation that this will follow. | |
| ControlBarSchemeImage * | m_animImage |
| Pointer of the image that this animation will act on. | |
| UnsignedInt | m_animDuration |
| Contians how long the animation should take based off game frames. | |
| ICoord2D | m_finalPos |
| The final position when we hit the m_animDuration frame. | |
Definition at line 94 of file ControlBarScheme.h.
| anonymous enum |
Enum that will contain all the kinds of animations we have... make sure in ControlBarScheme.cpp there's a mapping for it for the INI translation
| Enumerator | |
|---|---|
| CB_ANIM_SLIDE_RIGHT | |
| CB_ANIM_MAX | |
Definition at line 101 of file ControlBarScheme.h.
| ControlBarSchemeAnimation::ControlBarSchemeAnimation | ( | void | ) |
Definition at line 194 of file ControlBarScheme.cpp.
| ControlBarSchemeAnimation::~ControlBarSchemeAnimation | ( | void | ) |
Definition at line 210 of file ControlBarScheme.cpp.
|
inline |
Definition at line 114 of file ControlBarScheme.h.
|
inline |
Definition at line 116 of file ControlBarScheme.h.
|
inline |
Definition at line 115 of file ControlBarScheme.h.
|
inline |
Definition at line 117 of file ControlBarScheme.h.
| UnsignedInt ControlBarSchemeAnimation::m_animDuration |
Contians how long the animation should take based off game frames.
Definition at line 111 of file ControlBarScheme.h.
| ControlBarSchemeImage* ControlBarSchemeAnimation::m_animImage |
Pointer of the image that this animation will act on.
Definition at line 110 of file ControlBarScheme.h.
| Int ControlBarSchemeAnimation::m_animType |
Type of animation that this will follow.
Definition at line 109 of file ControlBarScheme.h.
| ICoord2D ControlBarSchemeAnimation::m_finalPos |
The final position when we hit the m_animDuration frame.
Definition at line 112 of file ControlBarScheme.h.
| AsciiString ControlBarSchemeAnimation::m_name |
Current animation name.
Definition at line 108 of file ControlBarScheme.h.