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:
parent
2600669b73
commit
b2951a2116
3 changed files with 53 additions and 0 deletions
|
@ -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&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue