Fix theming for floating window docks

This commit is contained in:
Michael Alexsander
2022-01-13 18:13:45 -03:00
parent 1694626e03
commit 59e9a8c275
5 changed files with 6 additions and 51 deletions

View File

@@ -36,26 +36,11 @@
class Panel : public Control {
GDCLASS(Panel, Control);
public:
enum Mode {
MODE_BACKGROUND,
MODE_FOREGROUND,
};
private:
Mode mode = MODE_BACKGROUND;
protected:
void _notification(int p_what);
static void _bind_methods();
public:
void set_mode(Mode p_mode);
Mode get_mode() const;
Panel();
};
VARIANT_ENUM_CAST(Panel::Mode)
#endif // PANEL_H