Files
eepp/include/eepp/ui/blocklayouter.hpp
Martín Lucas Golini 1970b8bbe9 WIP CSS Display support.
2026-04-25 18:55:39 -03:00

29 lines
581 B
C++

#ifndef EE_UI_BLOCKLAYOUTER_HPP
#define EE_UI_BLOCKLAYOUTER_HPP
#include <eepp/ui/uilayouter.hpp>
namespace EE::Graphics {
class RichText;
}
using namespace EE::Graphics;
namespace EE { namespace UI {
class EE_API BlockLayouter : public UILayouter {
public:
BlockLayouter( UIWidget* container ) : UILayouter( container ) {}
void updateLayout() override;
void computeIntrinsicWidths() override;
Float getMinIntrinsicWidth() override;
Float getMaxIntrinsicWidth() override;
protected:
void positionRichTextChildren( RichText* rt );
};
}} // namespace EE::UI
#endif