#pragma once #include "interfaces/component.hpp" #include "engine/data/bounds.hpp" #include "engine/data/style.hpp" #include #include #include #include enum StatusLineSection { A = 0, B = 1, C = 2, D = 3, E = 4, F = 5, G = 6, H = 7 }; // NOLINTNEXTLINE(cppcoreguidelines-special-member-functions) class IStatusLine : public IComponent { public: // NOLINTNEXTLINE(google-default-arguments) virtual void set_section_status( StatusLineSection section, const std::string_view &status, int32_t start = 1) noexcept = 0; virtual void set_section_length(StatusLineSection section, int32_t length) noexcept = 0; virtual void set_section_style(StatusLineSection section, const Style &style) noexcept = 0; }; using IStatusLineFactory = yacppdic::Factory(const Bounds &size)>;