PDA

View Full Version : how to use textBoxEntity.



blackMasoon
09-28-2011, 06:11 PM
Hello,

I want to use a textbox entity in my project so i initialize it with:


Entity *foo = CreateTextBoxEntity(pBG, "foo", CL_Vec2f(50,100),CL_Vec2f(100,30),"foo",1.0);

but taping it on my phone in the app doesn't open the screen keyboard to enter some text. What else should I do to use it properly?

BigBMan
09-28-2011, 06:56 PM
You should use CreateInputTextEntity. TextBox components don't allow input afaik.