mail[Wesnoth-commits] r29088 - in /trunk/src/gui/widgets: control.hpp listbox.hpp slider.hpp spacer.hpp


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

Header


Content

Posted by koraq on August 29, 2008 - 19:28:
Author: mordante
Date: Fri Aug 29 19:28:16 2008
New Revision: 29088

URL: http://svn.gna.org/viewcvs/wesnoth?rev=29088&view=rev
Log:
Unhide some overloaded functions.

Modified:
    trunk/src/gui/widgets/control.hpp
    trunk/src/gui/widgets/listbox.hpp
    trunk/src/gui/widgets/slider.hpp
    trunk/src/gui/widgets/spacer.hpp

Modified: trunk/src/gui/widgets/control.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gui/widgets/control.hpp?rev=29088&r1=29087&r2=29088&view=diff
==============================================================================
--- trunk/src/gui/widgets/control.hpp (original)
+++ trunk/src/gui/widgets/control.hpp Fri Aug 29 19:28:16 2008
@@ -97,6 +97,9 @@
 
        /** Inherited from twidget. */
        tpoint get_best_size() const;
+
+       /** Import overloaded versions. */
+       using twidget::get_best_size;
 
        /** Inherited from twidget. */
        tpoint get_maximum_size() const;

Modified: trunk/src/gui/widgets/listbox.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gui/widgets/listbox.hpp?rev=29088&r1=29087&r2=29088&view=diff
==============================================================================
--- trunk/src/gui/widgets/listbox.hpp (original)
+++ trunk/src/gui/widgets/listbox.hpp Fri Aug 29 19:28:16 2008
@@ -169,6 +169,9 @@
        const twidget* find_widget(const tpoint& coordinate, 
                        const bool must_be_active) const;
 
+       /** Import overloaded versions. */
+       using tcontainer_::find_widget;
+
        /** Inherited from tcontainer_. */
        void set_size(const SDL_Rect& rect);
 

Modified: trunk/src/gui/widgets/slider.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gui/widgets/slider.hpp?rev=29088&r1=29087&r2=29088&view=diff
==============================================================================
--- trunk/src/gui/widgets/slider.hpp (original)
+++ trunk/src/gui/widgets/slider.hpp Fri Aug 29 19:28:16 2008
@@ -59,6 +59,9 @@
 
        /** Inherited from tcontrol. */
        tpoint get_best_size() const;
+
+       /** Import overloaded versions. */
+       using tcontrol::get_best_size;
 
        /***** ***** ***** setters / getters for members ***** ****** *****/
 

Modified: trunk/src/gui/widgets/spacer.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gui/widgets/spacer.hpp?rev=29088&r1=29087&r2=29088&view=diff
==============================================================================
--- trunk/src/gui/widgets/spacer.hpp (original)
+++ trunk/src/gui/widgets/spacer.hpp Fri Aug 29 19:28:16 2008
@@ -50,6 +50,9 @@
        tpoint get_best_size() const 
                { return best_size_ != tpoint(0, 0) ? best_size_ : 
tcontrol::get_best_size(); }
 
+       /** Import overloaded versions. */
+       using tcontrol::get_best_size;
+
        /** 
         * Inherited from tcontrol. 
         *




Related Messages


Powered by MHonArc, Updated Fri Aug 29 19:41:43 2008