diff options
author | rubidium <rubidium@openttd.org> | 2007-09-09 10:13:17 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-09-09 10:13:17 +0000 |
commit | 65f9a0f21a1379107683f7b5f2fc0c82f22a4cb6 (patch) | |
tree | 43502b2af33d4a35c7e2e2fbd6f29b3cc60b4ba8 /src/texteff.cpp | |
parent | ef4d248325114b5cc3fb864f7105b44a7784be50 (diff) | |
download | openttd-65f9a0f21a1379107683f7b5f2fc0c82f22a4cb6.tar.xz |
(svn r11065) -Documentation [FS#1186]: of the dirty marking/repainting subsystem. Patch by Progman.
Diffstat (limited to 'src/texteff.cpp')
-rw-r--r-- | src/texteff.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/texteff.cpp b/src/texteff.cpp index e754a2f28..2bdd05c3d 100644 --- a/src/texteff.cpp +++ b/src/texteff.cpp @@ -256,7 +256,15 @@ void DrawChatMessage() _chatmessage_dirty = false; } -/** Text Effects */ +/* Text Effects */ +/** + * Mark the area of the text effect as dirty. + * + * This function marks the area of a text effect as dirty for repaint. + * + * @param te The TextEffect to mark the area dirty + * @ingroup dirty + */ static void MarkTextEffectAreaDirty(TextEffect *te) { /* Width and height of the text effect are doubled, so they are correct in both zoom out levels 1x and 2x. */ |