2021-09-23 10:10:39 +02:00
|
|
|
#pragma once
|
2022-04-18 18:08:38 +02:00
|
|
|
#include "MinimalEngine.h"
|
2021-09-23 10:10:39 +02:00
|
|
|
|
2024-06-09 12:20:04 +02:00
|
|
|
namespace Seele {
|
|
|
|
|
namespace UI {
|
2022-04-18 18:08:38 +02:00
|
|
|
DECLARE_REF(Element);
|
2024-06-09 12:20:04 +02:00
|
|
|
class Layout {
|
|
|
|
|
public:
|
2021-09-23 10:10:39 +02:00
|
|
|
Layout(PElement element);
|
|
|
|
|
virtual ~Layout();
|
|
|
|
|
virtual void apply() = 0;
|
2024-06-09 12:20:04 +02:00
|
|
|
|
|
|
|
|
protected:
|
2021-09-23 10:10:39 +02:00
|
|
|
PElement element;
|
|
|
|
|
};
|
|
|
|
|
} // namespace UI
|
|
|
|
|
} // namespace Seele
|