Re: text disapearing when translate value is outside the boundary of the window ?
- From: mast4as <mast4as@xxxxxxxxx>
- Date: Wed, 17 Oct 2007 15:37:32 -0700
Works perfectly well
// draw text
glColor3fv(&kTextFieldTextColor.r);
//glPushMatrix();
//glTranslatef(-m_xTranslate, 0, 0);
glRasterPos2i(m_left + s_textLeftMargin, m_top + 15);
//glRasterPos2i(0, 0);
glBitmap(0, 0, 0, 0, -m_xTranslate, 0, NULL);
m_textFont->Draw(m_label.c_str());
//glPopMatrix();
.
- References:
- text disapearing when translate value is outside the boundary of the window ?
- From: mast4as
- Re: text disapearing when translate value is outside the boundary of the window ?
- From: mast4as
- Re: text disapearing when translate value is outside the boundary of the window ?
- From: fungus
- Re: text disapearing when translate value is outside the boundary of the window ?
- From: mast4as
- text disapearing when translate value is outside the boundary of the window ?
- Prev by Date: Re: Repeating a texture image (for want of a better title)
- Next by Date: Re: glDrawPixels bug?
- Previous by thread: Re: text disapearing when translate value is outside the boundary of the window ?
- Next by thread: Repeating a texture image (for want of a better title)
- Index(es):