Files
GDevelop/IDE/DndTextObjectsEditor.h
Florian 8672f179e9 Exchanged all french messages with their English counterparts.
Gui elements in SceneCanvas are now independant from the zoom factor.
Work in progress: NewProjectDialog.

git-svn-id: svn://localhost@837 8062f311-0dae-4547-b526-b8ab9ac864a5
2012-09-20 19:53:26 +00:00

24 lines
529 B
C++

#ifndef DNDTEXTOBJECTSEDITOR_H
#define DNDTEXTOBJECTSEDITOR_H
#include <wx/dnd.h>
class EditorObjectList;
/**
* Class for drag'n'dropping a text to a EditorObjectList, and automatically
* create a new object
*/
class DndTextObjectsEditor : public wxTextDropTarget
{
public:
DndTextObjectsEditor(EditorObjectList & editor_) : editor(editor_) {}
virtual bool OnDropText(wxCoord x, wxCoord y, const wxString& text);
private:
EditorObjectList & editor;
};
#endif // DNDTEXTOBJECTSEDITOR_H