You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Rename [gs]et_pos to [gs]et_position for Controls
Control set_pos -> set_position Control set_global_pos -> set_global_position [gs]et_mouse_pos -> [gs]et_mouse_position [gs]et_global_mouse_pos -> [gs]et_global_mouse_position fixes #8005
This commit is contained in:
committed by
Rémi Verschelde
parent
1c480698ce
commit
8589ca3903
@@ -163,9 +163,9 @@ _ResourceSaver::_ResourceSaver() {
|
||||
|
||||
/////////////////OS
|
||||
|
||||
Point2 _OS::get_mouse_pos() const {
|
||||
Point2 _OS::get_mouse_position() const {
|
||||
|
||||
return OS::get_singleton()->get_mouse_pos();
|
||||
return OS::get_singleton()->get_mouse_position();
|
||||
}
|
||||
void _OS::set_window_title(const String &p_title) {
|
||||
|
||||
@@ -954,7 +954,7 @@ _OS *_OS::singleton = NULL;
|
||||
|
||||
void _OS::_bind_methods() {
|
||||
|
||||
//ClassDB::bind_method(D_METHOD("get_mouse_pos"),&_OS::get_mouse_pos);
|
||||
//ClassDB::bind_method(D_METHOD("get_mouse_position"),&_OS::get_mouse_position);
|
||||
//ClassDB::bind_method(D_METHOD("is_mouse_grab_enabled"),&_OS::is_mouse_grab_enabled);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("set_clipboard", "clipboard"), &_OS::set_clipboard);
|
||||
|
||||
Reference in New Issue
Block a user