Conquer Space 0.0.0
A space themed grand strategy game set in the near future, with realistic orbital mechanics, and an emphasis on economics and politics.
Public Member Functions | Private Member Functions | Private Attributes | List of all members
cqsp::client::CreditsWindow Class Reference

#include <creditswindow.h>

Inheritance diagram for cqsp::client::CreditsWindow:

Public Member Functions

 CreditsWindow (cqsp::engine::Application &app)
 
 ~CreditsWindow ()
 
void OpenDocument ()
 
void Show ()
 
void Update (double delta_time)
 
void Hide ()
 
std::string GetDocumentName ()
 
void ProcessEvent (Rml::Event &event)
 

Private Member Functions

void LoadCreditsText ()
 
void SetCreditsScroll ()
 

Private Attributes

Rml::ElementDocument * document
 
Rml::Element * credits_text_element
 
cqsp::engine::Applicationm_app
 
std::string credits_text
 
float scroll_percentage = 0.0f
 
const float scroll_speed = 50
 
bool fast_scroll = false
 

Constructor & Destructor Documentation

◆ CreditsWindow()

cqsp::client::CreditsWindow::CreditsWindow ( cqsp::engine::Application app)
explicit

◆ ~CreditsWindow()

cqsp::client::CreditsWindow::~CreditsWindow ( )

Member Function Documentation

◆ GetDocumentName()

std::string cqsp::client::CreditsWindow::GetDocumentName ( )

◆ Hide()

void cqsp::client::CreditsWindow::Hide ( )

◆ LoadCreditsText()

void cqsp::client::CreditsWindow::LoadCreditsText ( )
private

◆ OpenDocument()

void cqsp::client::CreditsWindow::OpenDocument ( )

◆ ProcessEvent()

void cqsp::client::CreditsWindow::ProcessEvent ( Rml::Event &  event)

◆ SetCreditsScroll()

void cqsp::client::CreditsWindow::SetCreditsScroll ( )
private

◆ Show()

void cqsp::client::CreditsWindow::Show ( )

◆ Update()

void cqsp::client::CreditsWindow::Update ( double  delta_time)

Member Data Documentation

◆ credits_text

std::string cqsp::client::CreditsWindow::credits_text
private

◆ credits_text_element

Rml::Element* cqsp::client::CreditsWindow::credits_text_element
private

◆ document

Rml::ElementDocument* cqsp::client::CreditsWindow::document
private

◆ fast_scroll

bool cqsp::client::CreditsWindow::fast_scroll = false
private

◆ m_app

cqsp::engine::Application& cqsp::client::CreditsWindow::m_app
private

◆ scroll_percentage

float cqsp::client::CreditsWindow::scroll_percentage = 0.0f
private

◆ scroll_speed

const float cqsp::client::CreditsWindow::scroll_speed = 50
private

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