Emtec
Member
|
Problem with TextLine
I am not pretty sure but I think that I’ve found a bug connected with TextLine running on android device (tested on Samsung galaxy s2 and s3 with 4.1.2). To test it I’ve wrote simple code, which is shown below:
TextLine textLineTest;
void InitPre() {EE_INIT();}
bool Init()
{
Gui+=textLineTest.create(Rect_C(0.f, -0.3f*D.h(), 2.f*D.w(), D.h()/10.f));
return true;
}
void Shut(){}
bool Update()
{
if(Kb.bp(KB_ESC))return false;
Gui.update();
return true;
}
void Draw()
{
D.clear(WHITE);
Gui.draw();
}
When I type some text into the textLine and touch another part of the screen everything is ok but when I type something into textline and then press “KB_NAV_BACK” button then the app is crashed. Can anyone confirm this and fix it…
|
|
12-07-2013 03:01 PM |
|
Esenthel
Administrator
|
RE: Problem with TextLine
|
|
12-08-2013 10:00 AM |
|