dockspce widget initial
This commit is contained in:
parent
fcd0209710
commit
9cc4819524
8 changed files with 72 additions and 12 deletions
11
Widgets/public/DockspaceWidget.hpp
Normal file
11
Widgets/public/DockspaceWidget.hpp
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#include "FloatingWidget.hpp"
|
||||
|
||||
namespace tp {
|
||||
class DockSpaceWidget : public Widget {
|
||||
public:
|
||||
DockSpaceWidget() = default;
|
||||
|
||||
void eventProcess(const Events& events) override;
|
||||
void eventDraw(Canvas& canvas) override;
|
||||
};
|
||||
}
|
||||
|
|
@ -57,6 +57,7 @@ namespace tp {
|
|||
|
||||
bool mVisible = false;
|
||||
bool mEnable = true;
|
||||
bool mHandlesEvents = true;
|
||||
bool mInFocus = false;
|
||||
|
||||
bool mHolding = false;
|
||||
|
|
|
|||
|
|
@ -8,4 +8,5 @@
|
|||
#include "SliderWidget.hpp"
|
||||
#include "CollapsableMenu.hpp"
|
||||
#include "FloatingWidget.hpp"
|
||||
#include "Animations.hpp"
|
||||
#include "Animations.hpp"
|
||||
#include "DockspaceWidget.hpp"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue