mail[Wesnoth-commits] r40114 - in /trunk/src/widgets: label.cpp label.hpp


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

Header


Content

Posted by guillaume . melquiond on December 06, 2009 - 10:56:
Author: silene
Date: Sun Dec  6 10:56:14 2009
New Revision: 40114

URL: http://svn.gna.org/viewcvs/wesnoth?rev=40114&view=rev
Log:
Removed unused functions gui::label::set_size/get_size.

Modified:
    trunk/src/widgets/label.cpp
    trunk/src/widgets/label.hpp

Modified: trunk/src/widgets/label.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/widgets/label.cpp?rev=40114&r1=40113&r2=40114&view=diff
==============================================================================
--- trunk/src/widgets/label.cpp (original)
+++ trunk/src/widgets/label.cpp Sun Dec  6 10:56:14 2009
@@ -42,19 +42,6 @@
        return text_;
 }
 
-int label::set_size(int size)
-{
-       size_ = size;
-       update_label_size();
-       set_dirty();
-       return size_;
-}
-
-int label::get_size() const
-{
-       return size_;
-}
-
 const SDL_Color& label::set_colour(const SDL_Color& colour)
 {
        colour_ = colour;

Modified: trunk/src/widgets/label.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/widgets/label.hpp?rev=40114&r1=40113&r2=40114&view=diff
==============================================================================
--- trunk/src/widgets/label.hpp (original)
+++ trunk/src/widgets/label.hpp Sun Dec  6 10:56:14 2009
@@ -29,9 +29,6 @@
        const std::string& set_text(const std::string& text);
        const std::string& get_text() const;
 
-       int set_size(int size);
-       int get_size() const;
-
        const SDL_Color& set_colour(const SDL_Color& colour);
        const SDL_Color& get_colour() const;
 




Related Messages


Powered by MHonArc, Updated Sun Dec 06 11:00:10 2009