text split problem in void RenderedString::split(...);
Posted: Thu Jul 08, 2010 02:01
CEGUIRenderedString.cpp line number :199
when
the content is "[image='set:someset image=someimage']asdasdasdasdasd", the RenderedStringTextComponent is too big that the line couldn't accept it.
RenderedStringTextComponent cannot be split, if his second param is false.
the second param has no use here, i think.(am i wrong?ce~)
i have tried, it works.
Code: Select all
RenderedStringComponent* lc =
c->split(split_point - (partial_extent - c->getPixelSize().d_width),
true);
//RenderedStringComponent* lc =
// c->split(split_point - (partial_extent - c->getPixelSize().d_width),
// idx == 0);
when
the content is "[image='set:someset image=someimage']asdasdasdasdasd", the RenderedStringTextComponent is too big that the line couldn't accept it.
RenderedStringTextComponent cannot be split, if his second param is false.
the second param has no use here, i think.(am i wrong?ce~)
i have tried, it works.