Author: mordante
Date: Sat Sep 20 11:13:45 2008
New Revision: 29567
URL: http://svn.gna.org/viewcvs/wesnoth?rev=29567&view=rev
Log:
Update doxygen comment style.
Modified:
trunk/src/gui/widgets/window_builder.hpp
trunk/src/gui/widgets/window_builder_private.hpp
Modified: trunk/src/gui/widgets/window_builder.hpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gui/widgets/window_builder.hpp?rev=29567&r1=29566&r2=29567&view=diff
==============================================================================
--- trunk/src/gui/widgets/window_builder.hpp (original)
+++ trunk/src/gui/widgets/window_builder.hpp Sat Sep 20 11:13:45 2008
@@ -33,7 +33,7 @@
twindow build(CVideo& video, const std::string& type);
-//! Contains the info needed to instantiate a widget.
+/** Contains the info needed to instantiate a widget. */
struct tbuilder_widget : public reference_counted_object
{
private:
@@ -50,7 +50,6 @@
typedef boost::intrusive_ptr<tbuilder_widget> tbuilder_widget_ptr;
typedef boost::intrusive_ptr<const tbuilder_widget> const_tbuilder_widget_ptr;
-//!
struct tbuilder_grid : public tbuilder_widget
{
private:
@@ -63,23 +62,23 @@
unsigned rows;
unsigned cols;
- //! The grow factor for the rows / columns.
+ /** The grow factor for the rows / columns. */
std::vector<unsigned> row_grow_factor;
std::vector<unsigned> col_grow_factor;
- //! The flags per grid cell.
+ /** The flags per grid cell. */
std::vector<unsigned> flags;
- //! The border size per grid cell.
+ /** The border size per grid cell. */
std::vector<unsigned> border_size;
- //! The widgets per grid cell.
+ /** The widgets per grid cell. */
std::vector<tbuilder_widget_ptr> widgets;
twidget* build () const;
private:
- //! After reading the general part in the constructor read extra data.
+ /** After reading the general part in the constructor read extra data.
*/
void read_extra(const config& cfg);
};
Modified: trunk/src/gui/widgets/window_builder_private.hpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gui/widgets/window_builder_private.hpp?rev=29567&r1=29566&r2=29567&view=diff
==============================================================================
--- trunk/src/gui/widgets/window_builder_private.hpp (original)
+++ trunk/src/gui/widgets/window_builder_private.hpp Sat Sep 20 11:13:45 2008
@@ -39,7 +39,7 @@
void init_control(tcontrol* control) const;
- //! Parameters for the control.
+ /** Parameters for the control. */
std::string id;
std::string definition;
t_string label;
@@ -65,22 +65,22 @@
/**
* A temporary helper class.
*
- * @todo refactore with the grid builder.
+ * @todo refactor with the grid builder.
*/
struct tbuilder_gridcell : public tbuilder_widget
{
tbuilder_gridcell(const config& cfg);
- //! The flags for the cell.
+ /** The flags for the cell. */
unsigned flags;
- //! The bordersize for the cell.
+ /** The bordersize for the cell. */
unsigned border_size;
- //! The widgets for the cell.
+ /** The widgets for the cell. */
tbuilder_widget_ptr widget;
- // We're a dummy the building is done on construction.
+ /** We're a dummy the building is done on construction. */
twidget* build () const { return NULL; }
};
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits