mail[Wesnoth-commits] r27488 - in /trunk/src: cursor.cpp cursor.hpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by koraq on June 24, 2008 - 20:56:
Author: mordante
Date: Tue Jun 24 20:20:52 2008
New Revision: 27488

URL: http://svn.gna.org/viewcvs/wesnoth?rev=27488&view=rev
Log:
Update doxygen comment style.

Modified:
    trunk/src/cursor.cpp
    trunk/src/cursor.hpp

Modified: trunk/src/cursor.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/cursor.cpp?rev=27488&r1=27487&r2=27488&view=diff
==============================================================================
--- trunk/src/cursor.cpp (original)
+++ trunk/src/cursor.cpp Tue Jun 24 20:20:52 2008
@@ -12,8 +12,10 @@
    See the COPYING file for more details.
 */
 
-//! @file cursor.cpp
-//! Support for different cursors-shapes.
+/**
+ * @file cursor.cpp
+ * Support for different cursors-shapes.
+ */
 
 #include "global.hpp"
 
@@ -247,7 +249,7 @@
                set();
        }
 
-       //! @todo FIXME: don't parse the file path every time
+       /** @todo FIXME: don't parse the file path every time */
        const surface surf(image::get_image("cursors/" + 
colour_images[current_cursor]));
        if(surf == NULL) {
                // Fall back to b&w cursors

Modified: trunk/src/cursor.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/cursor.hpp?rev=27488&r1=27487&r2=27488&view=diff
==============================================================================
--- trunk/src/cursor.hpp (original)
+++ trunk/src/cursor.hpp Tue Jun 24 20:20:52 2008
@@ -12,8 +12,7 @@
    See the COPYING file for more details.
 */
 
-//! @file cursor.hpp
-//!
+/** @file cursor.hpp */
 
 #ifndef CURSOR_HPP_INCLUDED
 #define CURSOR_HPP_INCLUDED
@@ -32,12 +31,16 @@
 
 enum CURSOR_TYPE { NORMAL, WAIT, MOVE, ATTACK, HYPERLINK, MOVE_DRAG, 
ATTACK_DRAG, NO_CURSOR, NUM_CURSORS };
 
-//! This function uses temporary the b&w cursors while the display is busy.
-// If used, the colour-cursors will be reused when the display is ready 
again.
+/**
+ * This function uses temporary the b&w cursors while the display is busy. 
+ * If used, the colour-cursors will be reused when the display is ready 
again.
+ */
 void temporary_use_bw();
 
-//! Use the default parameter to reset cursors.
-// e.g. after a change in color cursor preferences
+/**
+ * Use the default parameter to reset cursors.
+ * e.g. after a change in color cursor preferences
+ */
 void set(CURSOR_TYPE type = NUM_CURSORS);
 void set_dragging(bool drag);
 CURSOR_TYPE get();




Related Messages


Powered by MHonArc, Updated Tue Jun 24 21:02:45 2008