Re: text disapearing when translate value is outside the boundary of the window ?



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();

.