mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:17:44 +00:00
GMLCompiler: Add enum initializer for opportunistic_resizee property
This patch adds a enum initializer for opportunistic_resizee and makes the method that uses this property public so it's available for GML compiler.
This commit is contained in:
parent
35d4b36201
commit
0be70ed97a
2 changed files with 2 additions and 1 deletions
|
@ -21,6 +21,7 @@ public:
|
|||
};
|
||||
|
||||
virtual ~Splitter() override = default;
|
||||
void set_opportunistic_resizee(OpportunisticResizee resizee) { m_opportunistic_resizee = resizee; }
|
||||
|
||||
protected:
|
||||
explicit Splitter(Gfx::Orientation);
|
||||
|
@ -36,7 +37,6 @@ protected:
|
|||
virtual void custom_layout() override;
|
||||
|
||||
OpportunisticResizee opportunistic_resizee() const { return m_opportunistic_resizee; }
|
||||
void set_opportunistic_resizee(OpportunisticResizee resizee) { m_opportunistic_resizee = resizee; }
|
||||
|
||||
private:
|
||||
void override_cursor(bool do_override);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue