1#ifndef IV_SRC_LOGIC_COMPONENTS_LOGICRECTANGLE_HPP_
2#define IV_SRC_LOGIC_COMPONENTS_LOGICRECTANGLE_HPP_
26 [[nodiscard]] std::optional<iv::types::Size>
getDefaultSize()
const override;
35 static constexpr std::string_view
width {
"Width"};
36 static constexpr std::string_view
height {
"Height"};
uint32_t TId
Definition AbstractCanvasItem.hpp:47
Definition AbstractLogicsElement.hpp:15
Definition xmlFile.hpp:15
Definition LogicRectangle.hpp:12
LogicRectangle(AbstractLogicsElement &&other)=delete
LogicRectangle()
Definition LogicRectangle.cpp:5
iv::types::Size m_size
Definition LogicRectangle.hpp:43
void setSize(iv::types::Size size)
Definition LogicRectangle.cpp:42
~LogicRectangle() override=default
iv::types::Size getSize() const
Definition LogicRectangle.cpp:37
iv::file::xml::node read(const iv::file::xml::node &node) override
Definition LogicRectangle.cpp:15
LogicRectangle(const AbstractLogicsElement &other)=delete
std::optional< iv::types::Size > getDefaultSize() const override
Definition LogicRectangle.cpp:47
iv::file::xml::node save(iv::file::xml::node &node) const override
Definition LogicRectangle.cpp:26
Definition LogicRectangle.cpp:4
eLogicsElementType
Definition enums.hpp:8
Definition LogicRectangle.hpp:39
static constexpr iv::types::Size size
Definition LogicRectangle.hpp:40
Definition LogicRectangle.hpp:34
static constexpr std::string_view width
Definition LogicRectangle.hpp:35
static constexpr std::string_view height
Definition LogicRectangle.hpp:36
Definition LogicRectangle.hpp:30
static constexpr std::string_view logicRectangle
Definition LogicRectangle.hpp:31