feat: modules moved and engine moved to submodule
This commit is contained in:
parent
dfb5e645cd
commit
c33d2130cc
5136 changed files with 225275 additions and 64485 deletions
|
|
@ -28,8 +28,7 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef EDITOR_TITLE_BAR_H
|
||||
#define EDITOR_TITLE_BAR_H
|
||||
#pragma once
|
||||
|
||||
#include "scene/gui/box_container.h"
|
||||
#include "scene/main/window.h"
|
||||
|
|
@ -40,14 +39,18 @@ class EditorTitleBar : public HBoxContainer {
|
|||
Point2i click_pos;
|
||||
bool moving = false;
|
||||
bool can_move = false;
|
||||
Control *center_control = nullptr;
|
||||
|
||||
protected:
|
||||
void _notification(int p_what);
|
||||
|
||||
virtual void gui_input(const Ref<InputEvent> &p_event) override;
|
||||
static void _bind_methods() {}
|
||||
|
||||
public:
|
||||
void set_center_control(Control *p_center_control);
|
||||
Control *get_center_control() const;
|
||||
|
||||
void set_can_move_window(bool p_enabled);
|
||||
bool get_can_move_window() const;
|
||||
};
|
||||
|
||||
#endif // EDITOR_TITLE_BAR_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue