mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Fix theming for floating window docks
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user