LibGUI: Add min_size to Layout

This commit is contained in:
FrHun 2022-06-12 22:47:50 +02:00 committed by Sam Atkins
commit b2951a2116
Notes: sideshowbarker 2024-07-17 09:55:15 +09:00
3 changed files with 53 additions and 0 deletions

View file

@ -12,6 +12,7 @@
#include <LibCore/Object.h>
#include <LibGUI/Forward.h>
#include <LibGUI/Margins.h>
#include <LibGUI/UIDimensions.h>
#include <LibGfx/Forward.h>
namespace Core {
@ -49,6 +50,7 @@ public:
virtual void run(Widget&) = 0;
virtual Gfx::IntSize preferred_size() const = 0;
virtual UISize min_size() const = 0;
void notify_adopted(Badge<Widget>, Widget&);
void notify_disowned(Badge<Widget>, Widget&);