VizKit
3.3.7
|
Shows the title of the current audio track. More...
#include <TrackTitle.h>
Public Member Functions | |
TrackTitle () | |
The constructor. | |
~TrackTitle () | |
The destructor. | |
void | show (void) |
Shows the track title action. | |
VisualStringStyle | getTrackInfoStringStyle (void) |
Returns the current string style of the track info string. | |
void | setTrackInfoImage (VisualImage &styledTrackInfoStringImage) |
Sets the image with the track info string. | |
uint16 | getTrackInfoTextureHeightInPixels (void) |
Returns the height of the track title texture in pixels. | |
void | reshape (void) |
Calculates the screen position of the track title texture. | |
void | fadeIn (uint32 durationInMilliseconds) |
Starts fading in the texture of the track title. | |
void | fadeOut (uint32 durationInMilliseconds) |
Starts fading out the texture of the track title. | |
void | pulsate (void) |
Starts pulsating the texture (fade in / fade out) of the track title. | |
void | clear (void) |
Clears the memory allocated for the track title action. | |
void | addMoveAnimation (void) |
Adds a move animation to the asset. | |
Private Attributes | |
VisualAsset | trackInfoAsset |
The asset of the track info action (contains texture and position too). | |
VisualItemIdentifier | vertexChainId |
Identifier of the vertex chain (the vertices used for display of the track info string texture). |
Shows the title of the current audio track.
TrackTitle performs the action of the TrackTitleActor.
The constructor.
The destructor.
void TrackTitle::addMoveAnimation | ( | void | ) |
Adds a move animation to the asset.
void TrackTitle::clear | ( | void | ) |
Clears the memory allocated for the track title action.
void TrackTitle::fadeIn | ( | uint32 | durationInMilliseconds | ) |
Starts fading in the texture of the track title.
durationInMilliseconds | The duration of the animation measured in milliseconds. |
void TrackTitle::fadeOut | ( | uint32 | durationInMilliseconds | ) |
Starts fading out the texture of the track title.
durationInMilliseconds | The duration of the animation measured in milliseconds. |
Returns the current string style of the track info string.
Returns the height of the track title texture in pixels.
void TrackTitle::pulsate | ( | void | ) |
Starts pulsating the texture (fade in / fade out) of the track title.
void TrackTitle::reshape | ( | void | ) |
Calculates the screen position of the track title texture.
void TrackTitle::setTrackInfoImage | ( | VisualImage & | styledTrackInfoStringImage | ) |
Sets the image with the track info string.
styledTrackInfoStringImage | The image with the track info string. |
void TrackTitle::show | ( | void | ) |
Shows the track title action.
The asset of the track info action (contains texture and position too).
Identifier of the vertex chain (the vertices used for display of the track info string texture).