mail[Wesnoth-commits] r27320 - in /trunk/src/gui/widgets: vertical_scrollbar.cpp vertical_scrollbar.hpp


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

Header


Content

Posted by koraq on June 20, 2008 - 12:38:
Author: mordante
Date: Thu Jun 19 17:27:37 2008
New Revision: 27320

URL: http://svn.gna.org/viewcvs/wesnoth?rev=27320&view=rev
Log:
Comment cleanups.

Modified:
    trunk/src/gui/widgets/vertical_scrollbar.cpp
    trunk/src/gui/widgets/vertical_scrollbar.hpp

Modified: trunk/src/gui/widgets/vertical_scrollbar.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gui/widgets/vertical_scrollbar.cpp?rev=27320&r1=27319&r2=27320&view=diff
==============================================================================
--- trunk/src/gui/widgets/vertical_scrollbar.cpp (original)
+++ trunk/src/gui/widgets/vertical_scrollbar.cpp Thu Jun 19 17:27:37 2008
@@ -42,7 +42,6 @@
 
 namespace gui2 {
 
-//! Inherited from tscrollbar.
 unsigned tvertical_scrollbar::minimum_positioner_length() const
 { 
        const tvertical_scrollbar_definition::tresolution* conf = 
@@ -51,7 +50,6 @@
        return conf->minimum_positioner_length; 
 }
 
-//! Inherited from tscrollbar.
 unsigned tvertical_scrollbar::offset_before() const
 { 
        const tvertical_scrollbar_definition::tresolution* conf = 
@@ -60,7 +58,6 @@
        return conf->top_offset; 
 }
 
-//! Inherited from tscrollbar.
 unsigned tvertical_scrollbar::offset_after() const
 { 
        const tvertical_scrollbar_definition::tresolution* conf = 
@@ -69,7 +66,6 @@
        return conf->bottom_offset; 
 }
 
-//! Inherited from tscrollbar.
 bool tvertical_scrollbar::on_positioner(const tpoint& coordinate) const
 {
        // Note we assume the positioner is over the entire width of the 
widget.

Modified: trunk/src/gui/widgets/vertical_scrollbar.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gui/widgets/vertical_scrollbar.hpp?rev=27320&r1=27319&r2=27320&view=diff
==============================================================================
--- trunk/src/gui/widgets/vertical_scrollbar.hpp (original)
+++ trunk/src/gui/widgets/vertical_scrollbar.hpp Thu Jun 19 17:27:37 2008
@@ -19,7 +19,7 @@
 
 namespace gui2 {
 
-//! A vertical scrollbar.
+/** A vertical scrollbar. */
 class tvertical_scrollbar : public tscrollbar_
 {
 public:
@@ -31,26 +31,26 @@
 
 private:
 
-       //! Inherited from tscrollbar.
+       /** Inherited from tscrollbar. */
        unsigned get_length() const { return get_height(); }
 
-       //! Inherited from tscrollbar.
+       /** Inherited from tscrollbar. */
        unsigned minimum_positioner_length() const;
 
-       //! Inherited from tscrollbar.
+       /** Inherited from tscrollbar. */
        unsigned offset_before() const;
 
-       //! Inherited from tscrollbar.
+       /** Inherited from tscrollbar. */
        unsigned offset_after() const;
 
-       //! Inherited from tscrollbar.
+       /** Inherited from tscrollbar. */
        bool on_positioner(const tpoint& coordinate) const;
 
-       //! Inherited from tscrollbar.
+       /** Inherited from tscrollbar. */
        int get_length_difference(const tpoint& original, const tpoint& 
current) const
                { return current.y - original.y; }
 
-       //! Inherited from tcontrol.
+       /** Inherited from tcontrol. */
        const std::string& get_control_type() const 
                { static const std::string type = "vertical_scrollbar"; 
return type; }
 };
@@ -59,4 +59,3 @@
 
 #endif
 
-




Related Messages


Powered by MHonArc, Updated Fri Jun 20 13:41:53 2008