mirror of
https://github.com/Relintai/broken_seals.git
synced 2025-01-15 02:01:09 +01:00
Turned the widget scripts into tool scripts.
This commit is contained in:
parent
7dfdf6c1ce
commit
d23c7b00b8
File diff suppressed because one or more lines are too long
@ -1,3 +1,4 @@
|
|||||||
|
tool
|
||||||
extends ColorPickerButton
|
extends ColorPickerButton
|
||||||
|
|
||||||
func get_drag_data(_position):
|
func get_drag_data(_position):
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
tool
|
||||||
extends LineEdit
|
extends LineEdit
|
||||||
|
|
||||||
export var value : float = 0.5 setget set_value
|
export var value : float = 0.5 setget set_value
|
||||||
|
@ -36,6 +36,7 @@ margin_right = 3.0
|
|||||||
margin_bottom = 1.0
|
margin_bottom = 1.0
|
||||||
rect_min_size = Vector2( 3, 2 )
|
rect_min_size = Vector2( 3, 2 )
|
||||||
mouse_filter = 2
|
mouse_filter = 2
|
||||||
|
|
||||||
[connection signal="focus_entered" from="." to="." method="_on_FloatEdit_focus_entered"]
|
[connection signal="focus_entered" from="." to="." method="_on_FloatEdit_focus_entered"]
|
||||||
[connection signal="focus_exited" from="." to="." method="_on_LineEdit_focus_exited"]
|
[connection signal="focus_exited" from="." to="." method="_on_LineEdit_focus_exited"]
|
||||||
[connection signal="gui_input" from="." to="." method="_on_LineEdit_gui_input"]
|
[connection signal="gui_input" from="." to="." method="_on_LineEdit_gui_input"]
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
tool
|
||||||
extends Control
|
extends Control
|
||||||
|
|
||||||
class GradientCursor:
|
class GradientCursor:
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
tool
|
||||||
extends Popup
|
extends Popup
|
||||||
|
|
||||||
signal updated(value)
|
signal updated(value)
|
||||||
|
Loading…
Reference in New Issue
Block a user