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
20 lines
435 B
C++
20 lines
435 B
C++
#pragma once
|
|
|
|
#include "Common.hpp"
|
|
|
|
namespace gui
|
|
{
|
|
|
|
class Item;
|
|
|
|
/// class for use with layouts
|
|
/// it's meant to store requested sizes from Layout to use in resizes
|
|
class LayoutSizeStore
|
|
{
|
|
public:
|
|
virtual ~LayoutSizeStore() = default;
|
|
virtual auto store(Item *, Size size) -> bool = 0;
|
|
virtual auto get(Item *) -> Size = 0;
|
|
};
|
|
} // namespace gui
|