#pragma once #include "Fenster.h" namespace Framework { class UIDialog : public Fenster { protected: DLLEXPORT void adjustSize(); public: DLLEXPORT UIDialog(Schrift* schrift); DLLEXPORT virtual ~UIDialog(); //! Adds a drawing to the window //! \param obj The drawing DLLEXPORT virtual void addMember(Zeichnung* obj) override; //! Removes a drawing from the window //! \param zObj The drawing (without increased reference counter) DLLEXPORT virtual void removeMember(Zeichnung* zObj) override; //! Removes all drawings from the window DLLEXPORT virtual void removeAll() override; }; class UIMessageDialog : public UIDialog { public: DLLEXPORT UIMessageDialog( const char* titel, const char* message, Schrift* schrift); DLLEXPORT virtual ~UIMessageDialog(); }; } // namespace Framework