24 lines
446 B
C++
24 lines
446 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
namespace sophia {
|
|
|
|
struct DockLayout {
|
|
float leftWidth = 0.2f;
|
|
float rightWidth = 0.25f;
|
|
float bottomHeight = 0.25f;
|
|
|
|
std::vector<std::string> left;
|
|
std::vector<std::string> right;
|
|
std::vector<std::string> bottom;
|
|
std::vector<std::string> center;
|
|
|
|
bool empty() const {
|
|
return left.empty() && right.empty() && bottom.empty() && center.empty();
|
|
}
|
|
};
|
|
|
|
} // namespace sophia
|