From 7efd7e19ed046a4a0c03077f27930291ba5b9725 Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 18 Jan 2011 22:31:06 +0000 Subject: (svn r21845) -Codechange: move documentation towards the code to make it more likely to be updates [d-m]. --- src/gfx.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/gfx.cpp') diff --git a/src/gfx.cpp b/src/gfx.cpp index 410ea6686..7fad4f15b 100644 --- a/src/gfx.cpp +++ b/src/gfx.cpp @@ -1559,7 +1559,7 @@ void RedrawScreenRect(int left, int top, int right, int bottom) _video_driver->MakeDirty(left, top, right - left, bottom - top); } -/*! +/** * Repaints the rectangle blocks which are marked as 'dirty'. * * @see SetDirtyBlocks @@ -1653,7 +1653,7 @@ void DrawDirtyBlocks() _invalid_rect.bottom = 0; } -/*! +/** * This function extends the internal _invalid_rect rectangle as it * now contains the rectangle defined by the given parameters. Note * the point (0,0) is top left. @@ -1705,10 +1705,11 @@ void SetDirtyBlocks(int left, int top, int right, int bottom) } while (--height != 0); } -/*! +/** * This function mark the whole screen as dirty. This results in repainting * the whole screen. Use this with care as this function will break the * idea about marking only parts of the screen as 'dirty'. + * @ingroup dirty */ void MarkWholeScreenDirty() { -- cgit v1.2.3-54-g00ecf