The Pedigree Project 0.1
Public Member Functions | Private Attributes | List of all members
Gears Class Reference
+ Collaboration diagram for Gears:

Public Member Functions

 Gears (std::uint32_t background)
 
bool valid () const
 
bool render (libui::client::PaintContext &paint)
 
bool keyDown (int keycode)
 

Private Attributes

OSMesaContext m_Context
 
libui::Color m_Background
 
bool m_Initialized = false
 
int m_Width = 0
 
int m_Height = 0
 

Detailed Description

Definition at line 311 of file gears.cc.

Constructor & Destructor Documentation

◆ Gears()

Gears::Gears ( std::uint32_t  background)
inlineexplicit

Definition at line 313 of file gears.cc.

◆ ~Gears()

Gears::~Gears ( )
inline

Definition at line 317 of file gears.cc.

Member Function Documentation

◆ keyDown()

bool Gears::keyDown ( int  keycode)
inline

Definition at line 377 of file gears.cc.

◆ render()

bool Gears::render ( libui::client::PaintContext &  paint)
inline

Definition at line 327 of file gears.cc.

◆ valid()

bool Gears::valid ( ) const
inline

Definition at line 323 of file gears.cc.

Member Data Documentation

◆ m_Background

libui::Color Gears::m_Background
private

Definition at line 402 of file gears.cc.

◆ m_Context

OSMesaContext Gears::m_Context
private

Definition at line 401 of file gears.cc.

◆ m_Height

int Gears::m_Height = 0
private

Definition at line 405 of file gears.cc.

◆ m_Initialized

bool Gears::m_Initialized = false
private

Definition at line 403 of file gears.cc.

◆ m_Width

int Gears::m_Width = 0
private

Definition at line 404 of file gears.cc.


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