src/texteff.cpp
changeset 8041 63e760418a15
parent 8031 65a6e355c493
child 8190 efd1f3b110a2
equal deleted inserted replaced
8040:0dc804071c29 8041:63e760418a15
   254 
   254 
   255 	_chatmessage_visible = true;
   255 	_chatmessage_visible = true;
   256 	_chatmessage_dirty = false;
   256 	_chatmessage_dirty = false;
   257 }
   257 }
   258 
   258 
   259 /** Text Effects */
   259 /* Text Effects */
       
   260 /**
       
   261  * Mark the area of the text effect as dirty.
       
   262  *
       
   263  * This function marks the area of a text effect as dirty for repaint.
       
   264  *
       
   265  * @param te The TextEffect to mark the area dirty
       
   266  * @ingroup dirty
       
   267  */
   260 static void MarkTextEffectAreaDirty(TextEffect *te)
   268 static void MarkTextEffectAreaDirty(TextEffect *te)
   261 {
   269 {
   262 	/* Width and height of the text effect are doubled, so they are correct in both zoom out levels 1x and 2x. */
   270 	/* Width and height of the text effect are doubled, so they are correct in both zoom out levels 1x and 2x. */
   263 	MarkAllViewportsDirty(
   271 	MarkAllViewportsDirty(
   264 		te->x,
   272 		te->x,