mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
Added comments and fixed tests not compiling (GroupEventDialog was not excluded from the bbuild)
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user