[EGD-7612] Add alarm popup

Added alarm popup window. Added ImageBoxWithText
widget.
This commit is contained in:
Wojtek Rzepecki
2021-09-16 16:50:23 +02:00
committed by Wojciech Rzepecki
parent b82c29fa39
commit 4c19fa16b3
34 changed files with 470 additions and 33 deletions

View File

@@ -6,7 +6,7 @@
using namespace gui;
ImageBox::ImageBox(Item *parent, const Position &x, const Position &y, const Length &w, const Length &h, Image *image)
: HBox(parent, x, y, w, h), image(image)
: VBox(parent, x, y, w, h), image(image)
{
setEdges(RectangleEdge::None);
setAlignment(gui::Alignment(gui::Alignment::Horizontal::Center, gui::Alignment::Vertical::Center));