blob: 5032c0557d3f7927244623b113e4ee9da095a171 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#pragma once
#include "workspace.h"
#include "rendering/view.h"
#include "core/memory.h"
#include <vector>
namespace Donut
{
class UILayer
{
public:
UILayer();
auto draw(const UIContext& ctx) -> View;
private:
std::vector<Scope<Workspace>> m_workspaces;
int m_active = 0;
int m_landing = 0;
bool m_landed = false;
};
}
|