2023-12-14 21:54:22 +01:00
|
|
|
#ifndef SEPARATOR_H
|
|
|
|
#define SEPARATOR_H
|
2023-12-17 15:39:29 +01:00
|
|
|
|
2023-12-14 21:54:22 +01:00
|
|
|
/* separator.h */
|
2023-12-17 15:39:29 +01:00
|
|
|
|
2023-12-14 21:54:22 +01:00
|
|
|
|
|
|
|
#include "scene/main/control.h"
|
|
|
|
class Separator : public Control {
|
|
|
|
GDCLASS(Separator, Control);
|
|
|
|
|
|
|
|
protected:
|
|
|
|
Orientation orientation;
|
|
|
|
void _notification(int p_what);
|
|
|
|
|
|
|
|
public:
|
|
|
|
virtual Size2 get_minimum_size() const;
|
|
|
|
|
|
|
|
Separator();
|
|
|
|
~Separator();
|
|
|
|
};
|
|
|
|
|
|
|
|
class VSeparator : public Separator {
|
|
|
|
GDCLASS(VSeparator, Separator);
|
|
|
|
|
|
|
|
public:
|
|
|
|
VSeparator();
|
|
|
|
};
|
|
|
|
|
|
|
|
class HSeparator : public Separator {
|
|
|
|
GDCLASS(HSeparator, Separator);
|
|
|
|
|
|
|
|
public:
|
|
|
|
HSeparator();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|