void EndSequenceDesigGridCell::UpdateText() { if (testZoneCurves.IsValid(tzcIndex)) { DoUpdateText(testZoneCurves.GetRef(tzcIndex).endSeqID); } else { DoUpdateText(NULL); } }
void GpuStep::DoPreRender() { m_textureTextMask->Initialise( m_sizeImage ); if ( m_bFontModified ) { m_bFontModified = false; m_bTextModified = true; DoCleanupGlyphs(); DoLoadFont(); } ProceduralTextures::String l_strText = m_strText; if ( m_bTextModified && !m_font.expired() && m_strPreviousText != l_strText ) { m_strPreviousText = l_strText; DoUpdateText(); } if ( m_newBackgroundTexture ) { m_textureBackground->Activate(); m_textureBackground->UploadSync(); m_textureBackground->Deactivate(); m_newBackgroundTexture = false; } if ( m_newForegroundTexture ) { m_textureForeground->Activate(); m_textureForeground->UploadSync(); m_textureForeground->Deactivate(); m_newForegroundTexture = false; } }