From 233fcf39ff158698cb3e825d81ad58c3e00541f7 Mon Sep 17 00:00:00 2001 From: Relintai Date: Wed, 13 Apr 2022 17:39:35 +0200 Subject: [PATCH] Renamed the uv rect editor popup aswell. --- ...view_popup.cpp => mdr_uv_rect_editor_popup.cpp} | 14 +++++++------- ...ect_view_popup.h => mdr_uv_rect_editor_popup.h} | 12 ++++++------ 2 files changed, 13 insertions(+), 13 deletions(-) rename modules/mesh_data_resource/editor/uv_editor/{mdr_uv_rect_view_popup.cpp => mdr_uv_rect_editor_popup.cpp} (81%) rename modules/mesh_data_resource/editor/uv_editor/{mdr_uv_rect_view_popup.h => mdr_uv_rect_editor_popup.h} (84%) diff --git a/modules/mesh_data_resource/editor/uv_editor/mdr_uv_rect_view_popup.cpp b/modules/mesh_data_resource/editor/uv_editor/mdr_uv_rect_editor_popup.cpp similarity index 81% rename from modules/mesh_data_resource/editor/uv_editor/mdr_uv_rect_view_popup.cpp rename to modules/mesh_data_resource/editor/uv_editor/mdr_uv_rect_editor_popup.cpp index da357200e..67368a224 100644 --- a/modules/mesh_data_resource/editor/uv_editor/mdr_uv_rect_view_popup.cpp +++ b/modules/mesh_data_resource/editor/uv_editor/mdr_uv_rect_editor_popup.cpp @@ -20,16 +20,16 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#include "mdr_uv_rect_view_popup.h" +#include "mdr_uv_rect_editor_popup.h" -void MDRUVRectViewPopup::on_ok_pressed() { +void MDRUVRectEditorPopup::on_ok_pressed() { //$UVEditor.ok_pressed() } -void MDRUVRectViewPopup::on_cancel_pressed() { +void MDRUVRectEditorPopup::on_cancel_pressed() { //$UVEditor.cancel_pressed() } -void MDRUVRectViewPopup::_notification(int p_what) { +void MDRUVRectEditorPopup::_notification(int p_what) { /* func _enter_tree(): if !is_connected("confirmed", self, "on_ok_pressed"): @@ -41,11 +41,11 @@ void MDRUVRectViewPopup::_notification(int p_what) { */ } -MDRUVRectViewPopup::MDRUVRectViewPopup() { +MDRUVRectEditorPopup::MDRUVRectEditorPopup() { } -MDRUVRectViewPopup::~MDRUVRectViewPopup() { +MDRUVRectEditorPopup::~MDRUVRectEditorPopup() { } -void MDRUVRectViewPopup::_bind_methods() { +void MDRUVRectEditorPopup::_bind_methods() { } diff --git a/modules/mesh_data_resource/editor/uv_editor/mdr_uv_rect_view_popup.h b/modules/mesh_data_resource/editor/uv_editor/mdr_uv_rect_editor_popup.h similarity index 84% rename from modules/mesh_data_resource/editor/uv_editor/mdr_uv_rect_view_popup.h rename to modules/mesh_data_resource/editor/uv_editor/mdr_uv_rect_editor_popup.h index 8a7af8e84..49fe4007b 100644 --- a/modules/mesh_data_resource/editor/uv_editor/mdr_uv_rect_view_popup.h +++ b/modules/mesh_data_resource/editor/uv_editor/mdr_uv_rect_editor_popup.h @@ -1,5 +1,5 @@ -#ifndef MDR_UV_RECT_VIEW_POPUP_H -#define MDR_UV_RECT_VIEW_POPUP_H +#ifndef MDR_UV_RECT_EDITOR_POPUP_H +#define MDR_UV_RECT_EDITOR_POPUP_H /* Copyright (c) 2019-2022 Péter Magyar @@ -25,15 +25,15 @@ SOFTWARE. #include "scene/gui/dialogs.h" -class MDRUVRectViewPopup : public ConfirmationDialog { - GDCLASS(MDRUVRectViewPopup, ConfirmationDialog); +class MDRUVRectEditorPopup : public ConfirmationDialog { + GDCLASS(MDRUVRectEditorPopup, ConfirmationDialog); public: void on_ok_pressed(); void on_cancel_pressed(); - MDRUVRectViewPopup(); - ~MDRUVRectViewPopup(); + MDRUVRectEditorPopup(); + ~MDRUVRectEditorPopup(); protected: void _notification(int p_what);