Added comments and fixed tests not compiling (GroupEventDialog was not excluded from the bbuild)

This commit is contained in:
Florian Rival
2014-11-29 16:22:12 +01:00
parent d517536baf
commit 1cb1befe7a
2 changed files with 21 additions and 0 deletions

View File

@@ -1,3 +1,10 @@
/*
* GDevelop Core
* Copyright 2008-2014 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the GNU Lesser General Public License.
*/
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
#include "GroupEventDialog.h"
#include "GDCore/Events/Builtin/GroupEvent.h"
#include "GDCore/CommonTools.h"
@@ -43,3 +50,4 @@ void GroupEventDialog::onChooseBackgroundBtClick(wxCommandEvent& )
}
}
#endif

View File

@@ -1,13 +1,25 @@
/*
* GDevelop Core
* Copyright 2008-2014 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the GNU Lesser General Public License.
*/
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
#ifndef GROUPEVENTDIALOG_H
#define GROUPEVENTDIALOG_H
#include "GDCoreDialogs.h"
namespace gd { class GroupEvent; }
/**
* \brief A small dialog used to change a events group properties.
* \ingroup IDEDialogs
*/
class GroupEventDialog : public BaseGroupEventDialog
{
public:
GroupEventDialog(wxWindow* parent, gd::GroupEvent & event);
virtual ~GroupEventDialog();
protected:
virtual void onCancelBtClick(wxCommandEvent& event);
virtual void onChooseBackgroundBtClick(wxCommandEvent& event);
@@ -16,3 +28,4 @@ protected:
gd::GroupEvent & event;
};
#endif // GROUPEVENTDIALOG_H
#endif