mirror of
https://github.com/Heretek-AI/GDevelop.git
synced 2026-07-23 02:25:52 -04:00
066b15d171
git-svn-id: svn://localhost@732 8062f311-0dae-4547-b526-b8ab9ac864a5
16 lines
410 B
C++
16 lines
410 B
C++
/** \file
|
|
* Game Develop
|
|
* 2008-2012 Florian Rival (Florian.Rival@gmail.com)
|
|
*/
|
|
|
|
#include "GDCore/CommonTools.h"
|
|
#include "DndTextSceneEditor.h"
|
|
#include "SceneCanvas.h"
|
|
|
|
bool DndTextSceneEditor::OnDropText(wxCoord x, wxCoord y, const wxString& text)
|
|
{
|
|
sceneCanvas.AddObject(gd::ToString(text), sceneCanvas.ConvertCoords(x, 0).x, sceneCanvas.ConvertCoords(0, y).y);
|
|
|
|
return true;
|
|
}
|