1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:47:47 +00:00

Add a simple MsgBox() :^)

This commit is contained in:
Andreas Kling 2018-10-14 00:21:42 +02:00
parent e9e7f7a714
commit 3ebea05996
9 changed files with 89 additions and 0 deletions

View file

@ -76,6 +76,9 @@ public:
Widget* parentWidget() { return static_cast<Widget*>(parent()); }
const Widget* parentWidget() const { return static_cast<const Widget*>(parent()); }
void setFillWithBackgroundColor(bool b) { m_fillWithBackgroundColor = b; }
bool fillWithBackgroundColor() const { return m_fillWithBackgroundColor; }
private:
Window* m_window { nullptr };
@ -84,4 +87,5 @@ private:
Color m_foregroundColor;
bool m_hasPendingPaintEvent { false };
bool m_fillWithBackgroundColor { false };
};