33 lines
No EOL
647 B
C++
33 lines
No EOL
647 B
C++
#pragma once
|
|
|
|
#include "Layout.hpp"
|
|
|
|
namespace tp {
|
|
|
|
class OverlayLayout : public WidgetLayout {
|
|
friend class DebugManager;
|
|
|
|
public:
|
|
explicit OverlayLayout(Widget* widget) : WidgetLayout(widget) {}
|
|
|
|
void updateLayout(bool vertical) override;
|
|
|
|
void pickRect(bool vertical) override {}
|
|
void clampRect() override {}
|
|
};
|
|
|
|
class ToolBarLayout : public WidgetLayout {
|
|
friend class DebugManager;
|
|
|
|
public:
|
|
explicit ToolBarLayout(Widget* widget) : WidgetLayout(widget) {}
|
|
|
|
void updateLayout(bool vertical) override;
|
|
|
|
void pickRect(bool vertical) override {}
|
|
void clampRect() override {}
|
|
|
|
private:
|
|
halnf mToolBarHeight = 55;
|
|
};
|
|
} |