Colobot
Loading...
Searching...
No Matches
Ui::CScreenLoading Class Reference
Inheritance diagram for Ui::CScreenLoading:

Public Member Functions

void CreateInterface () override
void DestroyInterface ()
bool EventProcess (const Event &event) override
bool IsVisible ()
void SetProgress (float progress, const std::string &text, const std::string &details="")
void SetProgress (float progress, ResTextType text, const std::string &details="")
void SetProgress (float progress, ResTextType text, ResTextType details)

Protected Attributes

bool m_visible
float m_lastProgress
std::string m_lastText
std::string m_lastDetails
Protected Attributes inherited from Ui::CScreen
CRobotMainm_main
CInterfacem_interface
CApplicationm_app
CEventQueuem_eventQueue
Gfx::CEnginem_engine
CSoundInterfacem_sound
const Math::Point dim = Math::Point(32.0f/640.0f, 32.0f/480.0f)
const float ox = 3.0f/640.0f
const float oy = 3.0f/480.0f
const float sx = (32.0f+2.0f)/640.0f
const float sy = (32.0f+2.0f)/480.0f

Additional Inherited Members

Protected Member Functions inherited from Ui::CScreen
void CreateVersionDisplay ()
void SetBackground (const std::string &filename, bool scaled=false)

Member Function Documentation

◆ CreateInterface()

void Ui::CScreenLoading::CreateInterface ( )
overridevirtual

Implements Ui::CScreen.

◆ EventProcess()

bool Ui::CScreenLoading::EventProcess ( const Event & event)
overridevirtual

Implements Ui::CScreen.


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