mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-04-23 00:19:31 -04:00
* EGD-3229 [gui] Added Lenght & Position typedef in Common.hpp * EGD-3229 [gui] Item & Layout: General resize requests handling mechanism
33 lines
673 B
C++
33 lines
673 B
C++
#pragma once
|
|
|
|
#include <memory>
|
|
#include "LayoutSizeStore.hpp"
|
|
|
|
namespace gui
|
|
{
|
|
|
|
class Item;
|
|
|
|
enum class LayoutHorizontalPolicy
|
|
{
|
|
LAYOUT_POLICY_HORIZONTAL_EXPAND = 0x01,
|
|
LAYOUT_POLICY_HORIZONTAL_SHIRNH = 0x02,
|
|
LAYOUT_POLICY_HORIZONTAL_STATIC = 0x04,
|
|
};
|
|
|
|
enum class LayoutVerticalPolicy
|
|
{
|
|
LAYOUT_POLICY_VERTICAL_EXPAND = 0x01,
|
|
LAYOUT_POLICY_VERTICAL_SHRINK = 0x02,
|
|
LAYOUT_POLICY_VERTICAL_STATIC = 0x04,
|
|
};
|
|
|
|
class Layout
|
|
{
|
|
public:
|
|
virtual ~Layout() = default;
|
|
std::unique_ptr<LayoutSizeStore> sizeStore = nullptr;
|
|
};
|
|
|
|
} /* namespace gui */
|