#include <SDOM_TTFAsset.hpp>
|
static constexpr const char * | TypeName = "TTFAsset" |
|
◆ TTFAsset() [1/3]
SDOM::TTFAsset::TTFAsset |
( |
const InitStruct & |
init | ) |
|
|
protected |
◆ TTFAsset() [2/3]
SDOM::TTFAsset::TTFAsset |
( |
const sol::table & |
config | ) |
|
|
protected |
◆ TTFAsset() [3/3]
SDOM::TTFAsset::TTFAsset |
( |
| ) |
|
|
default |
◆ ~TTFAsset()
SDOM::TTFAsset::~TTFAsset |
( |
| ) |
|
|
virtual |
◆ _getTTFFontPtr()
TTF_Font * SDOM::TTFAsset::_getTTFFontPtr |
( |
| ) |
const |
|
inline |
◆ _registerLuaBindings()
void SDOM::TTFAsset::_registerLuaBindings |
( |
const std::string & |
typeName, |
|
|
sol::state_view |
lua |
|
) |
| |
|
protectedvirtual |
◆ as()
template<typename T >
T * SDOM::IAssetObject::as |
( |
| ) |
|
|
inlineinherited |
◆ CreateFromInitStruct()
◆ CreateFromLua()
static std::unique_ptr< IAssetObject > SDOM::TTFAsset::CreateFromLua |
( |
const sol::table & |
config | ) |
|
|
inlinestatic |
◆ getFilename()
const std::string & SDOM::IAssetObject::getFilename |
( |
| ) |
const |
|
inlineinherited |
◆ getFontSize()
int SDOM::TTFAsset::getFontSize |
( |
| ) |
const |
|
inline |
◆ getName()
const std::string & SDOM::IAssetObject::getName |
( |
| ) |
const |
|
inlineinherited |
◆ getType()
const std::string & SDOM::IAssetObject::getType |
( |
| ) |
const |
|
inlineinherited |
◆ isInternal()
bool SDOM::IAssetObject::isInternal |
( |
| ) |
const |
|
inlineinherited |
◆ isLoaded()
bool SDOM::IAssetObject::isLoaded |
( |
| ) |
const |
|
inlineinherited |
◆ lua_value_case_insensitive()
template<typename T >
static T SDOM::IDataObject::lua_value_case_insensitive |
( |
const sol::table & |
tbl, |
|
|
const std::string & |
key, |
|
|
const T & |
default_value |
|
) |
| |
|
inlinestaticinherited |
◆ onInit()
bool SDOM::TTFAsset::onInit |
( |
| ) |
|
|
overridevirtual |
◆ onLoad()
void SDOM::TTFAsset::onLoad |
( |
| ) |
|
|
overridevirtual |
◆ onQuit()
void SDOM::TTFAsset::onQuit |
( |
| ) |
|
|
overridevirtual |
◆ onUnitTest()
bool SDOM::TTFAsset::onUnitTest |
( |
| ) |
|
|
overridevirtual |
Runs unit tests for this object.
- Returns
- true if all tests pass, false otherwise.
Reimplemented from SDOM::IAssetObject.
◆ onUnload()
void SDOM::TTFAsset::onUnload |
( |
| ) |
|
|
overridevirtual |
◆ registerLuaBindings()
void SDOM::IDataObject::registerLuaBindings |
( |
const std::string & |
typeName, |
|
|
sol::state_view |
lua |
|
) |
| |
|
inlineinherited |
◆ setFilename()
void SDOM::IAssetObject::setFilename |
( |
const std::string & |
filename | ) |
|
|
inlineinherited |
◆ setName()
void SDOM::IAssetObject::setName |
( |
const std::string & |
name | ) |
|
|
inlineinherited |
◆ setType()
void SDOM::IAssetObject::setType |
( |
const std::string & |
type | ) |
|
|
inlineinherited |
◆ Core
friend SDOM::TTFAsset::Core |
|
protected |
◆ Factory
friend SDOM::TTFAsset::Factory |
|
protected |
◆ filename_
std::string SDOM::IAssetObject::filename_ |
|
protectedinherited |
◆ internalFontSize_
int SDOM::TTFAsset::internalFontSize_ = 10 |
|
protected |
◆ isInternal_
bool SDOM::IAssetObject::isInternal_ |
|
protectedinherited |
◆ isLoaded_
bool SDOM::IAssetObject::isLoaded_ = false |
|
protectedinherited |
◆ name_
std::string SDOM::IAssetObject::name_ |
|
protectedinherited |
◆ objHandleType_
sol::usertype<IAssetObject> SDOM::IAssetObject::objHandleType_ |
|
protectedinherited |
◆ ttf_font_
TTF_Font* SDOM::TTFAsset::ttf_font_ = nullptr |
|
protected |
◆ type_
std::string SDOM::IAssetObject::type_ |
|
protectedinherited |
◆ TypeName
constexpr const char* SDOM::TTFAsset::TypeName = "TTFAsset" |
|
staticconstexpr |
The documentation for this class was generated from the following files: