예제 #1
0
	void OnSubmit( Gwen::Controls::Base* pControl )
	{
		Gwen::Controls::TextBox* textbox = (Gwen::Controls::TextBox*) (pControl);
		UnitPrint( Utility::Format( L"Textbox Submit: [%s]\n", textbox->GetText().c_str() ) );
	}
예제 #2
0
파일: TextBox.cpp 프로젝트: APerennec/GWEN
		void OnEdit( Gwen::Controls::Base* pControl )
		{

			Gwen::Controls::TextBox* textbox = ( Gwen::Controls::TextBox* )( pControl );
			UnitPrint( Utility::Format( L"Textbox Edit: [%ls]\n", textbox->GetText().GetUnicode().c_str() ) );
		}