Renamed the uv rect editor popup aswell.

This commit is contained in:
Relintai 2022-04-13 17:39:35 +02:00
parent 4e025703f8
commit 233fcf39ff
2 changed files with 13 additions and 13 deletions

View File

@ -20,16 +20,16 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. 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() //$UVEditor.ok_pressed()
} }
void MDRUVRectViewPopup::on_cancel_pressed() { void MDRUVRectEditorPopup::on_cancel_pressed() {
//$UVEditor.cancel_pressed() //$UVEditor.cancel_pressed()
} }
void MDRUVRectViewPopup::_notification(int p_what) { void MDRUVRectEditorPopup::_notification(int p_what) {
/* /*
func _enter_tree(): func _enter_tree():
if !is_connected("confirmed", self, "on_ok_pressed"): 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() {
} }

View File

@ -1,5 +1,5 @@
#ifndef MDR_UV_RECT_VIEW_POPUP_H #ifndef MDR_UV_RECT_EDITOR_POPUP_H
#define MDR_UV_RECT_VIEW_POPUP_H #define MDR_UV_RECT_EDITOR_POPUP_H
/* /*
Copyright (c) 2019-2022 Péter Magyar Copyright (c) 2019-2022 Péter Magyar
@ -25,15 +25,15 @@ SOFTWARE.
#include "scene/gui/dialogs.h" #include "scene/gui/dialogs.h"
class MDRUVRectViewPopup : public ConfirmationDialog { class MDRUVRectEditorPopup : public ConfirmationDialog {
GDCLASS(MDRUVRectViewPopup, ConfirmationDialog); GDCLASS(MDRUVRectEditorPopup, ConfirmationDialog);
public: public:
void on_ok_pressed(); void on_ok_pressed();
void on_cancel_pressed(); void on_cancel_pressed();
MDRUVRectViewPopup(); MDRUVRectEditorPopup();
~MDRUVRectViewPopup(); ~MDRUVRectEditorPopup();
protected: protected:
void _notification(int p_what); void _notification(int p_what);