GA::kit v0.3
G&A's in-house C++ application framework
Loading...
Searching...
No Matches
ga::FontStyle Struct Reference

#include <font.h>

Public Member Functions

 FontStyle ()
 
 FontStyle (const std::string &file_, int size_, const std::string &name="")
 
bool loaded ()
 
const std::string & name ()
 
const std::shared_ptr< Font > font ()
 

Public Attributes

std::string file
 
int size
 

Protected Attributes

std::string m_name
 

Constructor & Destructor Documentation

◆ FontStyle() [1/2]

ga::FontStyle::FontStyle ( )
inline

◆ FontStyle() [2/2]

ga::FontStyle::FontStyle ( const std::string &  file_,
int  size_,
const std::string &  name = "" 
)
inline

Member Function Documentation

◆ font()

const std::shared_ptr< Font > ga::FontStyle::font ( )
inline

◆ loaded()

bool ga::FontStyle::loaded ( )
inline

◆ name()

const std::string & ga::FontStyle::name ( )
inline

Member Data Documentation

◆ file

std::string ga::FontStyle::file

◆ m_name

std::string ga::FontStyle::m_name
protected

◆ size

int ga::FontStyle::size

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