So I registered it as a customscenenode, so at each rendering
Code: Select all
text->draw(L"bla bla", core::rect<s32>(x1,y1,x2,y2),
video::SColor(255,255,255,255));
Code: Select all
text->draw(L"bla bla", core::rect<s32>(x1,y1,x2,y2),
video::SColor(255,255,255,255));
because it's a gui-draw-function and not a scene element ???bonsalty wrote:I find it quite annoying, that gui font is not a node. Why that?
Yes,bonsalty wrote:
StaticText is good, but no resize option -> so BAD
Isn't calling GDI, and putting out windows text in every loop is putting "trash" into ur rendering loop? x3bonsalty wrote: Why a problem?To make a program adjustable for any drawing option (not predefined), the rendering should do the call for any created objects, so I never put any trash into the rendering loop.