mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-09 20:39:37 +01:00
Renamed the uv rect editor popup aswell.
This commit is contained in:
parent
4e025703f8
commit
233fcf39ff
@ -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() {
|
||||||
}
|
}
|
@ -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);
|
Loading…
Reference in New Issue
Block a user