39 uiPointer::uiPointer(
void)
43 uiPointer::~uiPointer(
void)
47 void uiPointer::Create()
49 laSettings *s = laSystemIntegrator::getSettings();
51 texture = _pSkin->parameter(
"TX_POINTER").texture();
52 _ptPos[0] = s->graphics_resolution_w/2;
53 _ptPos[1] = s->graphics_resolution_h/2;
58 void uiPointer::kill()
62 void uiPointer::draw()
64 if(!isVisible())
return;
66 laRenderer* r = ::laSystemIntegrator::getRenderer();
70 _ptPos = pi->mousePos();
76 r->styleSet(laColor(10,10,10,60));
78 pi->mousePos() + laPoint3(4.8,1.0), laPoint3(texture.w, texture.h),
laPoint2(),
laPoint2(1, 1));
83 r->styleSet(laColor(255,255,255,240));
virtual void vquadsDrawSingle(laPoint2 *ar_uv=NULL)=0
Draw a single VQ (Note this is slower than drawing an array of VQ and should be avoided) ...
void vquadsMakeXYRect(unsigned nIndex, const laPoint3 &pos, const laPoint3 &sz, const laPoint2 &uv, const laPoint2 &uv_sz)
Makes a quad aligned to the XY plane; (handy for GUI rendering )
Virtual interface for the Engine graphics renderer.