#pragma once #include "BsEditorPrerequisites.h" #include "BsGUITexture.h" #include namespace BansheeEditor { class GUIWindowDropArea : public BS::GUITexture { public: static const CM::String& getGUITypeName(); static GUIWindowDropArea* create(BS::GUIWidget& parent, const BS::GUIElementStyle* style = nullptr); static GUIWindowDropArea* create(BS::GUIWidget& parent, const BS::GUIOptions& layoutOptions, const BS::GUIElementStyle* style = nullptr); void setFocused(bool focused); boost::signal onDraggedItemDropped; protected: ~GUIWindowDropArea(); GUIWindowDropArea(BS::GUIWidget& parent, const BS::GUIElementStyle* style, const BS::GUILayoutOptions& layoutOptions); virtual bool mouseEvent(const BS::GUIMouseEvent& ev); }; }