Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/source/gui/CCheckBox.cpp
Show First 20 Lines • Show All 60 Lines • ▼ Show 20 Lines | |||||
} | } | ||||
CCheckBox::~CCheckBox() | CCheckBox::~CCheckBox() | ||||
{ | { | ||||
} | } | ||||
void CCheckBox::SetupText() | void CCheckBox::SetupText() | ||||
{ | { | ||||
if (!GetGUI()) | |||||
return; | |||||
ENSURE(m_GeneratedTexts.size() == 1); | ENSURE(m_GeneratedTexts.size() == 1); | ||||
CStrW font; | CStrW font; | ||||
if (GUI<CStrW>::GetSetting(this, "font", font) != PSRETURN_OK || font.empty()) | if (GUI<CStrW>::GetSetting(this, "font", font) != PSRETURN_OK || font.empty()) | ||||
// Use the default if none is specified | // Use the default if none is specified | ||||
// TODO Gee: (2004-08-14) Default should not be hard-coded, but be in styles! | // TODO Gee: (2004-08-14) Default should not be hard-coded, but be in styles! | ||||
font = L"default"; | font = L"default"; | ||||
▲ Show 20 Lines • Show All 71 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator