diff options
Diffstat (limited to 'editor/editor_audio_buses.h')
-rw-r--r-- | editor/editor_audio_buses.h | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/editor/editor_audio_buses.h b/editor/editor_audio_buses.h index 72098c7232..6b2d9e4436 100644 --- a/editor/editor_audio_buses.h +++ b/editor/editor_audio_buses.h @@ -51,7 +51,6 @@ class EditorAudioBuses; class EditorAudioBus : public PanelContainer { - GDCLASS(EditorAudioBus, PanelContainer); Ref<Texture2D> disabled_vu; @@ -133,11 +132,10 @@ public: void update_bus(); void update_send(); - EditorAudioBus(EditorAudioBuses *p_buses = NULL, bool p_is_master = false); + EditorAudioBus(EditorAudioBuses *p_buses = nullptr, bool p_is_master = false); }; class EditorAudioBusDrop : public Control { - GDCLASS(EditorAudioBusDrop, Control); virtual bool can_drop_data(const Point2 &p_point, const Variant &p_data) const; @@ -154,7 +152,6 @@ public: }; class EditorAudioBuses : public VBoxContainer { - GDCLASS(EditorAudioBuses, VBoxContainer); HBoxContainer *top_hb; @@ -246,10 +243,10 @@ private: List<AudioNotch> notches; public: - float line_length; - float label_space; - float btm_padding; - float top_padding; + float line_length = 5.0f; + float label_space = 2.0f; + float btm_padding = 9.0f; + float top_padding = 5.0f; Color notch_color; void add_notch(float p_normalized_offset, float p_db_value, bool p_render_value = false); @@ -265,7 +262,6 @@ public: }; class AudioBusesEditorPlugin : public EditorPlugin { - GDCLASS(AudioBusesEditorPlugin, EditorPlugin); EditorAudioBuses *audio_bus_editor; |