Table of Contents

 
SetTextRepeat
 

Purpose

Switches off and on text delay looping

 

Protoype

void CTextMngr::SetTextRepeat (string str_text_id, bool b_repeat)
 

Parameters

text_id the ID of the text object to set
repeat whether to enable (TRUE) or disable (FALSE) delay looping
 

Description

This function switches on and off looping for a text object. When looping is enabled, the text object will appear to blink when it is shown or hidden with its delay enabled. When looping is disabled, the text object will just show or hide the delay before reverting to its original state. The blink frequency will depend on the time delay set for that object. For more see ShowText().

 
Use
CTextMngr text;
text.SetTextRepeat("my_text", TRUE);          
 

Prev: SetTextDelay
Next: ShowText