Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/source/gui/IGUITextOwner.cpp
Show All 13 Lines | |||||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
* along with 0 A.D. If not, see <http://www.gnu.org/licenses/>. | * along with 0 A.D. If not, see <http://www.gnu.org/licenses/>. | ||||
*/ | */ | ||||
#include "precompiled.h" | #include "precompiled.h" | ||||
#include "gui/GUI.h" | #include "gui/GUI.h" | ||||
IGUITextOwner::IGUITextOwner() : m_GeneratedTextsValid(false) | IGUITextOwner::IGUITextOwner(CGUI* pGUI) | ||||
: IGUIObject(pGUI), m_GeneratedTextsValid(false) | |||||
{ | { | ||||
} | } | ||||
IGUITextOwner::~IGUITextOwner() | IGUITextOwner::~IGUITextOwner() | ||||
{ | { | ||||
for (SGUIText* const& t : m_GeneratedTexts) | for (SGUIText* const& t : m_GeneratedTexts) | ||||
delete t; | delete t; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 85 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator