forked from mirror/openmw-tes3mp
Added virtual destructors to classes LocalMapBase and EffectEditorBase.
This commit is contained in:
parent
48496a644f
commit
a3b2a76e60
4 changed files with 10 additions and 1 deletions
|
@ -34,6 +34,10 @@ namespace MWGui
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
LocalMapBase::~LocalMapBase()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
void LocalMapBase::init(MyGUI::ScrollView* widget, MyGUI::ImageBox* compass, OEngine::GUI::Layout* layout, bool mapDragAndDrop)
|
void LocalMapBase::init(MyGUI::ScrollView* widget, MyGUI::ImageBox* compass, OEngine::GUI::Layout* layout, bool mapDragAndDrop)
|
||||||
{
|
{
|
||||||
mLocalMap = widget;
|
mLocalMap = widget;
|
||||||
|
|
|
@ -14,6 +14,7 @@ namespace MWGui
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
LocalMapBase();
|
LocalMapBase();
|
||||||
|
virtual ~LocalMapBase();
|
||||||
void init(MyGUI::ScrollView* widget, MyGUI::ImageBox* compass, OEngine::GUI::Layout* layout, bool mapDragAndDrop=false);
|
void init(MyGUI::ScrollView* widget, MyGUI::ImageBox* compass, OEngine::GUI::Layout* layout, bool mapDragAndDrop=false);
|
||||||
|
|
||||||
void setCellPrefix(const std::string& prefix);
|
void setCellPrefix(const std::string& prefix);
|
||||||
|
|
|
@ -416,6 +416,10 @@ namespace MWGui
|
||||||
mAddEffectDialog.setVisible (false);
|
mAddEffectDialog.setVisible (false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EffectEditorBase::~EffectEditorBase()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
void EffectEditorBase::startEditing ()
|
void EffectEditorBase::startEditing ()
|
||||||
{
|
{
|
||||||
// get the list of magic effects that are known to the player
|
// get the list of magic effects that are known to the player
|
||||||
|
|
|
@ -84,7 +84,7 @@ namespace MWGui
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
EffectEditorBase();
|
EffectEditorBase();
|
||||||
|
virtual ~EffectEditorBase();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
std::map<int, short> mButtonMapping; // maps button ID to effect ID
|
std::map<int, short> mButtonMapping; // maps button ID to effect ID
|
||||||
|
|
Loading…
Reference in a new issue