diff --git a/editor/animation/animation_bezier_editor.h b/editor/animation/animation_bezier_editor.h index 692b2e9338a..6b78e181d77 100644 --- a/editor/animation/animation_bezier_editor.h +++ b/editor/animation/animation_bezier_editor.h @@ -62,8 +62,6 @@ class AnimationBezierTrackEdit : public Control { bool read_only = false; int selected_track = -1; - Vector view_rects; - Ref bezier_icon; Ref bezier_handle_icon; Ref selected_icon; @@ -107,8 +105,6 @@ class AnimationBezierTrackEdit : public Control { bool _is_track_displayed(int p_track_index); bool _is_track_curves_displayed(int p_track_index); - Vector2 insert_at_pos; - typedef Pair IntPair; bool moving_selection_attempt = false; @@ -141,7 +137,6 @@ class AnimationBezierTrackEdit : public Control { int moving_handle_track = 0; Vector2 moving_handle_left; Vector2 moving_handle_right; - int moving_handle_mode = 0; // value from Animation::HandleMode struct PairHasher { static _FORCE_INLINE_ uint32_t hash(const Pair &p_value) { diff --git a/editor/animation/animation_blend_space_1d_editor.h b/editor/animation/animation_blend_space_1d_editor.h index 44e357195cd..6b7778d0bc6 100644 --- a/editor/animation/animation_blend_space_1d_editor.h +++ b/editor/animation/animation_blend_space_1d_editor.h @@ -49,9 +49,6 @@ class AnimationNodeBlendSpace1DEditor : public AnimationTreeNodeEditorPlugin { Ref blend_space; bool read_only = false; - HBoxContainer *goto_parent_hb = nullptr; - Button *goto_parent = nullptr; - PanelContainer *panel = nullptr; Button *tool_blend = nullptr; Button *tool_select = nullptr; diff --git a/editor/animation/animation_track_editor_plugins.h b/editor/animation/animation_track_editor_plugins.h index b13eb1939a7..d652049eaf4 100644 --- a/editor/animation/animation_track_editor_plugins.h +++ b/editor/animation/animation_track_editor_plugins.h @@ -34,8 +34,6 @@ class AnimationTrackEditBool : public AnimationTrackEdit { GDCLASS(AnimationTrackEditBool, AnimationTrackEdit); - Ref icon_checked; - Ref icon_unchecked; public: virtual int get_key_height() const override; diff --git a/editor/debugger/debug_adapter/debug_adapter_server.h b/editor/debugger/debug_adapter/debug_adapter_server.h index 33c513aea88..33502c7f96c 100644 --- a/editor/debugger/debug_adapter/debug_adapter_server.h +++ b/editor/debugger/debug_adapter/debug_adapter_server.h @@ -39,7 +39,6 @@ class DebugAdapterServer : public EditorPlugin { DebugAdapterProtocol protocol; int remote_port = 6006; - bool thread_running = false; bool started = false; bool polling = false; static void thread_func(void *p_userdata); diff --git a/editor/debugger/editor_expression_evaluator.h b/editor/debugger/editor_expression_evaluator.h index e4e015b54e1..765bf4745b2 100644 --- a/editor/debugger/editor_expression_evaluator.h +++ b/editor/debugger/editor_expression_evaluator.h @@ -36,15 +36,12 @@ class Button; class CheckBox; class EditorDebuggerInspector; class LineEdit; -class RemoteDebuggerPeer; class ScriptEditorDebugger; class EditorExpressionEvaluator : public VBoxContainer { GDCLASS(EditorExpressionEvaluator, VBoxContainer) private: - Ref peer; - LineEdit *expression_input = nullptr; CheckBox *clear_on_run_checkbox = nullptr; Button *evaluate_btn = nullptr; diff --git a/editor/debugger/editor_profiler.h b/editor/debugger/editor_profiler.h index 0c4f2c45510..28e4c4d83f1 100644 --- a/editor/debugger/editor_profiler.h +++ b/editor/debugger/editor_profiler.h @@ -124,8 +124,6 @@ private: int total_metrics = 0; int last_metric = -1; - int max_functions = 0; - bool updating_frame = false; int hover_metric = -1; diff --git a/editor/doc/editor_help.h b/editor/doc/editor_help.h index 8eff4469efe..b7c92e20129 100644 --- a/editor/doc/editor_help.h +++ b/editor/doc/editor_help.h @@ -112,18 +112,14 @@ class EditorHelp : public VBoxContainer { int description_line = 0; RichTextLabel *class_desc = nullptr; - HSplitContainer *h_split = nullptr; inline static DocTools *doc = nullptr; inline static DocTools *ext_doc = nullptr; - ConfirmationDialog *search_dialog = nullptr; LineEdit *search = nullptr; FindBar *find_bar = nullptr; HBoxContainer *status_bar = nullptr; Button *toggle_files_button = nullptr; - String base_path; - struct ThemeCache { Ref background_style; diff --git a/editor/docks/filesystem_dock.h b/editor/docks/filesystem_dock.h index 1182586b15d..ad0dcb99bb1 100644 --- a/editor/docks/filesystem_dock.h +++ b/editor/docks/filesystem_dock.h @@ -177,7 +177,6 @@ private: PackedStringArray searched_tokens; Vector uncollapsed_paths_before_search; - TextureRect *search_icon = nullptr; HBoxContainer *path_hb = nullptr; FileListDisplayMode file_list_display_mode; diff --git a/editor/docks/import_dock.h b/editor/docks/import_dock.h index 8f0b69ad70a..109ff14ff37 100644 --- a/editor/docks/import_dock.h +++ b/editor/docks/import_dock.h @@ -52,9 +52,6 @@ class ImportDock : public EditorDock { MenuButton *preset = nullptr; EditorInspector *import_opts = nullptr; - List properties; - HashMap property_values; - ConfirmationDialog *reimport_confirm = nullptr; Label *cleanup_warning = nullptr; Label *label_warning = nullptr; diff --git a/editor/docks/scene_tree_dock.h b/editor/docks/scene_tree_dock.h index fa93dd7668f..fb5d5256943 100644 --- a/editor/docks/scene_tree_dock.h +++ b/editor/docks/scene_tree_dock.h @@ -130,7 +130,6 @@ class SceneTreeDock : public EditorDock { SceneTreeEditor *scene_tree = nullptr; Control *remote_tree = nullptr; - HBoxContainer *tool_hbc = nullptr; void _tool_selected(int p_tool, bool p_confirm_override = false); void _property_selected(int p_idx); @@ -167,7 +166,6 @@ class SceneTreeDock : public EditorDock { LineEdit *filter = nullptr; PopupMenu *filter_quick_menu = nullptr; - TextureRect *filter_icon = nullptr; PopupMenu *menu = nullptr; PopupMenu *menu_subresources = nullptr; diff --git a/editor/export/project_export.h b/editor/export/project_export.h index 278c02dcbbd..3fbc16ed728 100644 --- a/editor/export/project_export.h +++ b/editor/export/project_export.h @@ -88,7 +88,6 @@ class ProjectExportDialog : public ConfirmationDialog { Label *empty_label = nullptr; - Button *button_export = nullptr; bool updating = false; RichTextLabel *result_dialog_log = nullptr; diff --git a/editor/gui/code_editor.h b/editor/gui/code_editor.h index 33d56718af5..ec7024a2b4b 100644 --- a/editor/gui/code_editor.h +++ b/editor/gui/code_editor.h @@ -172,7 +172,6 @@ class CodeTextEditor : public VBoxContainer { Label *line_and_col_txt = nullptr; Label *indentation_txt = nullptr; - Label *info = nullptr; Timer *idle = nullptr; float idle_time = 0.0f; float idle_time_with_errors = 0.0f; diff --git a/editor/gui/editor_spin_slider.h b/editor/gui/editor_spin_slider.h index e603c5a1246..90cbe096fa9 100644 --- a/editor/gui/editor_spin_slider.h +++ b/editor/gui/editor_spin_slider.h @@ -41,7 +41,6 @@ class EditorSpinSlider : public Range { String suffix; int updown_offset = -1; bool hover_updown = false; - bool mouse_hover = false; TextureRect *grabber = nullptr; int grabber_range = 1; diff --git a/editor/import/3d/resource_importer_scene.h b/editor/import/3d/resource_importer_scene.h index d1ff81e8e61..abb4e403bcb 100644 --- a/editor/import/3d/resource_importer_scene.h +++ b/editor/import/3d/resource_importer_scene.h @@ -117,7 +117,6 @@ private: mutable const HashMap *current_options = nullptr; mutable const Dictionary *current_options_dict = nullptr; List *current_option_list = nullptr; - InternalImportCategory current_category = INTERNAL_IMPORT_CATEGORY_MAX; protected: GDVIRTUAL1(_get_internal_import_options, int) diff --git a/editor/import/fbx_importer_manager.h b/editor/import/fbx_importer_manager.h index 845901fcbc2..667e519adb9 100644 --- a/editor/import/fbx_importer_manager.h +++ b/editor/import/fbx_importer_manager.h @@ -39,7 +39,6 @@ class FBXImporterManager : public ConfirmationDialog { bool is_importing = false; - Label *message = nullptr; LineEdit *fbx_path = nullptr; Button *fbx_path_browse = nullptr; EditorFileDialog *browse_dialog = nullptr; diff --git a/editor/inspector/editor_properties_array_dict.h b/editor/inspector/editor_properties_array_dict.h index 7539e072589..03b6821e0dd 100644 --- a/editor/inspector/editor_properties_array_dict.h +++ b/editor/inspector/editor_properties_array_dict.h @@ -240,7 +240,6 @@ class EditorPropertyDictionary : public EditorProperty { PanelContainer *container = nullptr; VBoxContainer *property_vbox = nullptr; PanelContainer *add_panel = nullptr; - EditorSpinSlider *size_sliderv = nullptr; Button *button_add_item = nullptr; EditorPaginator *paginator = nullptr; LocalVector slots; diff --git a/editor/scene/2d/tiles/atlas_merging_dialog.h b/editor/scene/2d/tiles/atlas_merging_dialog.h index 92b4c30a5d8..fd8af33ba68 100644 --- a/editor/scene/2d/tiles/atlas_merging_dialog.h +++ b/editor/scene/2d/tiles/atlas_merging_dialog.h @@ -54,7 +54,6 @@ private: // GUI. ItemList *atlas_merging_atlases_list = nullptr; - EditorPropertyVector2i *texture_region_size_editor_property = nullptr; EditorPropertyInteger *columns_editor_property = nullptr; TextureRect *preview = nullptr; Label *select_2_atlases_label = nullptr; diff --git a/editor/scene/2d/tiles/tile_atlas_view.h b/editor/scene/2d/tiles/tile_atlas_view.h index 1824fb20a3d..6add29d50ca 100644 --- a/editor/scene/2d/tiles/tile_atlas_view.h +++ b/editor/scene/2d/tiles/tile_atlas_view.h @@ -48,11 +48,6 @@ private: Ref tile_set_atlas_source; int source_id = TileSet::INVALID_SOURCE; - enum DragType { - DRAG_TYPE_NONE, - DRAG_TYPE_PAN, - }; - DragType drag_type = DRAG_TYPE_NONE; float previous_zoom = 1.0; EditorZoomWidget *zoom_widget = nullptr; Button *button_center_view = nullptr; diff --git a/editor/scene/2d/tiles/tile_set_editor.h b/editor/scene/2d/tiles/tile_set_editor.h index 94fe1a2e85d..8bc1815480c 100644 --- a/editor/scene/2d/tiles/tile_set_editor.h +++ b/editor/scene/2d/tiles/tile_set_editor.h @@ -97,7 +97,6 @@ private: Label *patterns_help_label = nullptr; void _patterns_item_list_gui_input(const Ref &p_event); void _pattern_preview_done(Ref p_pattern, Ref p_texture); - bool select_last_pattern = false; void _update_patterns_list(); // Expanded editor. diff --git a/editor/scene/3d/bone_map_editor_plugin.h b/editor/scene/3d/bone_map_editor_plugin.h index 36ceea20605..777d2f6618f 100644 --- a/editor/scene/3d/bone_map_editor_plugin.h +++ b/editor/scene/3d/bone_map_editor_plugin.h @@ -78,7 +78,6 @@ public: class BoneMapperItem : public VBoxContainer { GDCLASS(BoneMapperItem, VBoxContainer); - int button_id = -1; StringName profile_bone_name; Ref bone_map; diff --git a/editor/scene/3d/camera_3d_editor_plugin.h b/editor/scene/3d/camera_3d_editor_plugin.h index 602ec20c1f3..a0eab38467f 100644 --- a/editor/scene/3d/camera_3d_editor_plugin.h +++ b/editor/scene/3d/camera_3d_editor_plugin.h @@ -39,7 +39,6 @@ class SubViewport; class Camera3DEditor : public Control { GDCLASS(Camera3DEditor, Control); - Panel *panel = nullptr; Button *preview = nullptr; Node *node = nullptr; diff --git a/editor/scene/3d/gizmos/gizmo_3d_helper.h b/editor/scene/3d/gizmos/gizmo_3d_helper.h index 21d3747da08..f5183741dd9 100644 --- a/editor/scene/3d/gizmos/gizmo_3d_helper.h +++ b/editor/scene/3d/gizmos/gizmo_3d_helper.h @@ -37,7 +37,6 @@ class Camera3D; class Gizmo3DHelper : public RefCounted { GDCLASS(Gizmo3DHelper, RefCounted); - int current_handle_id; Variant initial_value; Transform3D initial_transform; diff --git a/editor/scene/3d/polygon_3d_editor_plugin.h b/editor/scene/3d/polygon_3d_editor_plugin.h index 24314de6a51..f95e591f636 100644 --- a/editor/scene/3d/polygon_3d_editor_plugin.h +++ b/editor/scene/3d/polygon_3d_editor_plugin.h @@ -64,8 +64,6 @@ class Polygon3DEditor : public HBoxContainer { MeshInstance3D *pointsm = nullptr; Ref m; - MenuButton *options = nullptr; - int edited_point = 0; Vector2 edited_point_pos; PackedVector2Array pre_move_edit; diff --git a/editor/scene/curve_editor_plugin.h b/editor/scene/curve_editor_plugin.h index 2c3ffafe6ec..cd0a036ffdf 100644 --- a/editor/scene/curve_editor_plugin.h +++ b/editor/scene/curve_editor_plugin.h @@ -111,7 +111,6 @@ private: Transform2D _world_to_view; Ref curve; - PopupMenu *_presets_menu = nullptr; int selected_index = -1; int hovered_index = -1; diff --git a/editor/scene/scene_tree_editor.h b/editor/scene/scene_tree_editor.h index 60da7fe0609..15bc1cd6045 100644 --- a/editor/scene/scene_tree_editor.h +++ b/editor/scene/scene_tree_editor.h @@ -111,7 +111,6 @@ class SceneTreeEditor : public Control { Tree *tree = nullptr; Node *selected = nullptr; - ObjectID instance_node; String filter; String filter_term_warning; diff --git a/editor/script/script_create_dialog.h b/editor/script/script_create_dialog.h index df7a11aa6b4..92c143a2ca4 100644 --- a/editor/script/script_create_dialog.h +++ b/editor/script/script_create_dialog.h @@ -63,7 +63,6 @@ class ScriptCreateDialog : public ConfirmationDialog { EditorFileDialog *file_browse = nullptr; CheckBox *built_in = nullptr; CheckBox *use_templates = nullptr; - VBoxContainer *path_vb = nullptr; AcceptDialog *alert = nullptr; CreateDialog *select_class = nullptr; @@ -75,7 +74,6 @@ class ScriptCreateDialog : public ConfirmationDialog { bool supports_built_in = false; bool can_inherit_from_file = false; bool is_parent_name_valid = false; - bool is_class_name_valid = false; bool is_built_in = false; bool is_using_templates = true; bool built_in_enabled = true; diff --git a/editor/script/script_editor_plugin.h b/editor/script/script_editor_plugin.h index 06b9b95d499..b9dc6293593 100644 --- a/editor/script/script_editor_plugin.h +++ b/editor/script/script_editor_plugin.h @@ -327,7 +327,6 @@ class ScriptEditor : public PanelContainer { MenuButton *debug_menu = nullptr; PopupMenu *context_menu = nullptr; Timer *autosave_timer = nullptr; - uint64_t idle = 0; PopupMenu *recent_scripts = nullptr; PopupMenu *theme_submenu = nullptr; @@ -356,7 +355,6 @@ class ScriptEditor : public PanelContainer { AcceptDialog *error_dialog = nullptr; ConfirmationDialog *erase_tab_confirm = nullptr; ScriptCreateDialog *script_create_dialog = nullptr; - Button *scripts_visible = nullptr; FindReplaceBar *find_replace_bar = nullptr; float zoom_factor = 1.0f; diff --git a/editor/script/script_text_editor.h b/editor/script/script_text_editor.h index f418ee33e48..db515dc7cfd 100644 --- a/editor/script/script_text_editor.h +++ b/editor/script/script_text_editor.h @@ -74,8 +74,6 @@ class ScriptTextEditor : public ScriptEditorBase { List missing_connections; - Vector member_keywords; - HBoxContainer *edit_hb = nullptr; MenuButton *edit_menu = nullptr; diff --git a/editor/settings/editor_settings_dialog.h b/editor/settings/editor_settings_dialog.h index ed40aad4183..87454a6fdc8 100644 --- a/editor/settings/editor_settings_dialog.h +++ b/editor/settings/editor_settings_dialog.h @@ -47,8 +47,6 @@ class TreeItem; class EditorSettingsDialog : public AcceptDialog { GDCLASS(EditorSettingsDialog, AcceptDialog); - bool updating = false; - TabContainer *tabs = nullptr; Control *tab_general = nullptr; Control *tab_shortcuts = nullptr; diff --git a/editor/settings/event_listener_line_edit.h b/editor/settings/event_listener_line_edit.h index 9261ba89e22..b446c24ed0e 100644 --- a/editor/settings/event_listener_line_edit.h +++ b/editor/settings/event_listener_line_edit.h @@ -47,7 +47,6 @@ class EventListenerLineEdit : public LineEdit { int allowed_input_types = INPUT_KEY | INPUT_MOUSE_BUTTON | INPUT_JOY_BUTTON | INPUT_JOY_MOTION; bool ignore_next_event = true; - bool share_keycodes = false; Ref event; bool _is_event_allowed(const Ref &p_event) const; diff --git a/editor/shader/text_shader_editor.h b/editor/shader/text_shader_editor.h index 1a934412604..1e45938274b 100644 --- a/editor/shader/text_shader_editor.h +++ b/editor/shader/text_shader_editor.h @@ -143,10 +143,8 @@ class TextShaderEditor : public ShaderEditor { Button *site_search = nullptr; PopupMenu *context_menu = nullptr; RichTextLabel *warnings_panel = nullptr; - uint64_t idle = 0; GotoLinePopup *goto_line_popup = nullptr; - ConfirmationDialog *erase_tab_confirm = nullptr; ConfirmationDialog *disk_changed = nullptr; ShaderTextEditor *code_editor = nullptr;