Game Develop C++ Platform: DndResourcesEditor.h Source File

| Game Develop C++ Platform Platform for developing native games based on OpenGL and SFML with Game Develop

- Main Page
- Modules
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Groups Pages
DndResourcesEditor.h
Go to the documentation of this file.
1
5 #if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
6 #ifndef DNDRESOURCESEDITOR_H
7 #define DNDRESOURCESEDITOR_H
8 #include <wx/dnd.h>
9 class ResourcesEditor;
10
14 class DndTextResourcesEditor : public wxTextDropTarget
15 {
16 public:
17 DndTextResourcesEditor(ResourcesEditor & editor_) : editor(editor_) {}
18
23 virtual bool OnDropText(wxCoord x, wxCoord y, const wxString& text);
24
25 private:
26
27 ResourcesEditor & editor;
28 };
29
30 #endif // DNDRESOURCESEDITOR_H
31 #endif
32