14#include <egt/detail/meta.h>
17#include <egt/signal.h>
43 const Image& image = {},
44 const Rect& rect = {},
45 const AlignFlags& text_align = AlignFlag::center)
noexcept
46 : ImageLabel(image, text, rect, text_align)
48 fill_flags(Theme::FillFlag::blend);
58 const AlignFlags& text_align = AlignFlag::center) noexcept
61 fill_flags(Theme::FillFlag::blend);
70 const std::string& text = {},
71 const AlignFlags& text_align = AlignFlag::center)
noexcept
74 fill_flags(Theme::FillFlag::blend);
84 const std::string& text,
86 const AlignFlags& text_align = AlignFlag::center) noexcept
89 fill_flags(Theme::FillFlag::blend);
92 using ImageLabel::min_size_hint;
96 if (!m_min_size.empty())
Alignment flags.
Definition widgetflags.h:379
A Frame is a Widget that has children widgets.
Definition frame.h:45
Raster image resource used for drawing or displaying.
Definition image.h:39
EGT framework namespace.
Definition animation.h:24
List string helper.
Definition string.h:34
StringItem(const std::string &text, const Rect &rect, const AlignFlags &text_align=AlignFlag::center) noexcept
Definition string.h:56
StringItem(const std::string &text={}, const Image &image={}, const Rect &rect={}, const AlignFlags &text_align=AlignFlag::center) noexcept
Definition string.h:42
EGT_NODISCARD Size min_size_hint() const override
Get a minimum size hint for the Widget.
Definition string.h:94
StringItem(Frame &parent, const std::string &text, const Rect &rect, const AlignFlags &text_align=AlignFlag::center) noexcept
Definition string.h:83
StringItem(Frame &parent, const std::string &text={}, const AlignFlags &text_align=AlignFlag::center) noexcept
Definition string.h:69