mail[Wesnoth-commits] r28916 - /trunk/src/editor2/editor_palettes.cpp


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

Header


Content

Posted by koraq on August 24, 2008 - 11:58:
Author: mordante
Date: Sun Aug 24 11:58:01 2008
New Revision: 28916

URL: http://svn.gna.org/viewcvs/wesnoth?rev=28916&view=rev
Log:
Initialize all members.

Modified:
    trunk/src/editor2/editor_palettes.cpp

Modified: trunk/src/editor2/editor_palettes.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/editor2/editor_palettes.cpp?rev=28916&r1=28915&r2=28916&view=diff
==============================================================================
--- trunk/src/editor2/editor_palettes.cpp (original)
+++ trunk/src/editor2/editor_palettes.cpp Sun Aug 24 11:58:01 2008
@@ -53,11 +53,21 @@
                                                                 const 
gamemap &map, const config& cfg,
                                                                 
t_translation::t_terrain& fore,
                                                                 
t_translation::t_terrain& back)
-       : gui::widget(gui.video()), size_specs_(sizes), gui_(gui), tstart_(0),
-         checked_group_btn_(0), map_(map),
-         top_button_(gui.video(), "", gui::button::TYPE_PRESS, 
"uparrow-button"),
-         bot_button_(gui.video(), "", gui::button::TYPE_PRESS, 
"downarrow-button"),
-         selected_fg_terrain_(fore), selected_bg_terrain_(back)
+       : gui::widget(gui.video())
+       , size_specs_(sizes)
+       , gui_(gui)
+       , tstart_(0)
+       , checked_group_btn_(0)
+       , map_(map)
+       , top_button_(gui.video(), "", gui::button::TYPE_PRESS, 
"uparrow-button")
+       , bot_button_(gui.video(), "", gui::button::TYPE_PRESS, 
"downarrow-button")
+       , button_x_()
+       , top_button_y_()
+       , bot_button_y_()
+       , nterrains_()
+       , terrain_start_()
+       , selected_fg_terrain_(fore)
+       , selected_bg_terrain_(back)
 {
 
        // Get the available terrains temporary in terrains_




Related Messages


Powered by MHonArc, Updated Sun Aug 24 12:02:23 2008