mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:37:45 +00:00
Libraries: Create top level directory for libraries.
Things were getting a little crowded in the project root, so this patch moves the Lib*/ directories into Libraries/.
This commit is contained in:
parent
63814ffebf
commit
04b9dc2d30
328 changed files with 36 additions and 36 deletions
25
Libraries/LibGUI/GSplitter.h
Normal file
25
Libraries/LibGUI/GSplitter.h
Normal file
|
@ -0,0 +1,25 @@
|
|||
#pragma once
|
||||
|
||||
#include <LibGUI/GFrame.h>
|
||||
|
||||
class GSplitter : public GFrame {
|
||||
public:
|
||||
GSplitter(Orientation, GWidget* parent);
|
||||
virtual ~GSplitter() override;
|
||||
|
||||
protected:
|
||||
virtual void mousedown_event(GMouseEvent&) override;
|
||||
virtual void mousemove_event(GMouseEvent&) override;
|
||||
virtual void mouseup_event(GMouseEvent&) override;
|
||||
virtual void enter_event(CEvent&) override;
|
||||
virtual void leave_event(CEvent&) override;
|
||||
|
||||
private:
|
||||
Orientation m_orientation;
|
||||
bool m_resizing { false };
|
||||
Point m_resize_origin;
|
||||
WeakPtr<GWidget> m_first_resizee;
|
||||
WeakPtr<GWidget> m_second_resizee;
|
||||
Size m_first_resizee_start_size;
|
||||
Size m_second_resizee_start_size;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue