ladybird/LibGUI/GMessageBox.h
Andreas Kling a6538feed1 LibGUI: Add GInputBox for getting a string from a modal dialog.
Use this to implement some of the toolbar actions in IRCClient. :^)
2019-03-19 01:41:00 +01:00

14 lines
270 B
C++

#pragma once
#include <LibGUI/GDialog.h>
class GMessageBox : public GDialog {
public:
explicit GMessageBox(const String& text, const String& title, GObject* parent = nullptr);
virtual ~GMessageBox() override;
private:
void build();
String m_text;
};