Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
CScrollInfo Class Reference

#include <GUIFont.h>

Public Member Functions

 CScrollInfo (unsigned int wait=50, float pos=0, int speed=defaultSpeed, const std::string &scrollSuffix=" | ")
 
void SetSpeed (int speed)
 
void Reset ()
 
float GetPixelsPerFrame ()
 

Public Attributes

float pixelPos
 
float pixelSpeed
 
unsigned int waitTime
 
unsigned int initialWait
 
float initialPos
 
vecText suffix
 
float m_textWidth
 
float m_totalWidth
 
bool m_widthValid
 
unsigned int m_loopCount
 

Static Public Attributes

static const int defaultSpeed = 60
 

Constructor & Destructor Documentation

◆ CScrollInfo()

CScrollInfo::CScrollInfo ( unsigned int  wait = 50,
float  pos = 0,
int  speed = defaultSpeed,
const std::string &  scrollSuffix = " | " 
)

Member Function Documentation

◆ GetPixelsPerFrame()

float CScrollInfo::GetPixelsPerFrame ( )

◆ Reset()

void CScrollInfo::Reset ( void  )
inline

◆ SetSpeed()

void CScrollInfo::SetSpeed ( int  speed)
inline

Member Data Documentation

◆ defaultSpeed

const int CScrollInfo::defaultSpeed = 60
static

◆ initialPos

float CScrollInfo::initialPos

◆ initialWait

unsigned int CScrollInfo::initialWait

◆ m_loopCount

unsigned int CScrollInfo::m_loopCount

◆ m_textWidth

float CScrollInfo::m_textWidth
mutable

◆ m_totalWidth

float CScrollInfo::m_totalWidth
mutable

◆ m_widthValid

bool CScrollInfo::m_widthValid
mutable

◆ pixelPos

float CScrollInfo::pixelPos

◆ pixelSpeed

float CScrollInfo::pixelSpeed

◆ suffix

vecText CScrollInfo::suffix

◆ waitTime

unsigned int CScrollInfo::waitTime

The documentation for this class was generated from the following files: