Files
MuditaOS/module-gui/gui/widgets/TextBubble.cpp

21 lines
451 B
C++

#include "TextBubble.hpp"
namespace gui
{
TextBubble::TextBubble(Item *parent, Position x, Position y, Length w, Length h) : Text(parent, x, y, w, h)
{
setEditMode(EditMode::SCROLL);
setEdges(RectangleEdgeFlags::GUI_RECT_ALL_EDGES);
}
void TextBubble::setYaps(RectangleYapFlags yaps)
{
if (this->yaps != yaps) {
this->yaps = yaps;
drawLines();
}
}
} // namespace gui