Exemple #1
0
	TextBox* GUIEngine::AddTextBox( const rString& name, Rectangle boundingBox, const rString& parent )
	{
		TextBox* txtBox = pNew( TextBox, name, parent, boundingBox );
		txtBox->GetTextDefinitionRef().FontID = m_CurrentFontID;
		AddChild( name, txtBox, parent );
		return txtBox;
	}