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

LibGUI: Add min_size to Layout

This commit is contained in:
FrHun 2022-06-12 22:47:50 +02:00 committed by Sam Atkins
parent 2600669b73
commit b2951a2116
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&);