//////////////////////////////////////////////// // GG::WndEditor //////////////////////////////////////////////// WndEditor::WndEditor(int h, const boost::shared_ptr<Font>& font) : Wnd(0, 0, WND_EDITOR_WIDTH, h), m_wnd(0), m_list_box(new ListBox(0, 0, WND_EDITOR_WIDTH, h, CLR_GRAY, CLR_WHITE)), m_font(font), m_label_font(GUI::GetGUI()->GetFont(font->FontName(), font->PointSize() + 4)), m_current_flags_and_action() { Init(); }