| 1234567891011121314151617181920212223242526 |
- #pragma once
- #include "BsEditorPrerequisites.h"
- #include "BsGUITexture.h"
- #include <boost/signals.hpp>
- 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<void()> onDraggedItemDropped;
- protected:
- ~GUIWindowDropArea();
- GUIWindowDropArea(BS::GUIWidget& parent, const BS::GUIElementStyle* style, const BS::GUILayoutOptions& layoutOptions);
- virtual bool mouseEvent(const BS::GUIMouseEvent& ev);
- };
- }
|