-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #140 from feagi/new_window_sizing
new scaling system
- Loading branch information
Showing
140 changed files
with
1,671 additions
and
750 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+9.98 KB
godot_source/Feagi-Godot-Interface/UI/Resources/Icons/toggle_disabled.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+10.5 KB
godot_source/Feagi-Godot-Interface/UI/Resources/Icons/toggle_on_disabled.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...-Interface/UI/Windows/Draggable_Windows/Amalgamation_Request/WindowAmalgamationRequest.gd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
72 changes: 36 additions & 36 deletions
72
...t-Interface/UI/Windows/Draggable_Windows/Clone_Cortical_Area/WindowCloneCorticalArea.tscn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,87 +1,87 @@ | ||
[gd_scene load_steps=9 format=3 uid="uid://b2knwu28hl12b"] | ||
[gd_scene load_steps=8 format=3 uid="uid://b2knwu28hl12b"] | ||
|
||
[ext_resource type="Theme" uid="uid://cjrivk0518jvv" path="res://Feagi-Godot-Interface/UI/Resources/theme/main_theme.tres" id="1_reqsy"] | ||
[ext_resource type="Script" path="res://Feagi-Godot-Interface/UI/Windows/Draggable_Windows/Clone_Cortical_Area/WindowCloneCorticalArea.gd" id="2_8fxof"] | ||
[ext_resource type="Script" path="res://Feagi-Godot-Interface/UI/Windows/Elements/ContainerShrinker.gd" id="3_nsng2"] | ||
[ext_resource type="Script" path="res://Feagi-Godot-Interface/UI/Windows/Elements/UIScaling/ScalingLabel.gd" id="4_dpe0j"] | ||
[ext_resource type="Script" path="res://Feagi-Godot-Interface/UI/Windows/Elements/TextBoxes/TextInput.gd" id="5_6v723"] | ||
[ext_resource type="PackedScene" uid="uid://brwx50pyfywb7" path="res://Feagi-Godot-Interface/UI/Windows/Elements/Vectors/Vector2iSpinBoxField.tscn" id="6_sl08t"] | ||
[ext_resource type="PackedScene" uid="uid://ci8uvawjvxfax" path="res://Feagi-Godot-Interface/UI/Windows/Elements/Vectors/Vector3iSpinBoxField.tscn" id="6_t2gp1"] | ||
[ext_resource type="Script" path="res://Feagi-Godot-Interface/UI/Windows/Elements/Buttons/TextButton_Element.gd" id="9_4iuqj"] | ||
[ext_resource type="Script" path="res://Feagi-Godot-Interface/UI/Windows/Elements/UIScaling/ScalingTextButton.gd" id="7_flsw2"] | ||
[ext_resource type="PackedScene" uid="uid://c10sw6pgpfy48" path="res://Feagi-Godot-Interface/UI/Windows/Elements/TitleBar/TitleBar.tscn" id="10_smykg"] | ||
|
||
[node name="WindowCloneCorticalArea" type="Panel"] | ||
offset_top = 40.0 | ||
[node name="WindowCloneCorticalArea" type="VBoxContainer"] | ||
offset_right = 126.0 | ||
offset_bottom = 40.0 | ||
size_flags_horizontal = 0 | ||
theme = ExtResource("1_reqsy") | ||
size_flags_vertical = 0 | ||
theme_override_constants/separation = 0 | ||
script = ExtResource("2_8fxof") | ||
|
||
[node name="Container" type="BoxContainer" parent="."] | ||
layout_mode = 0 | ||
offset_right = 440.0 | ||
offset_bottom = 127.0 | ||
vertical = true | ||
script = ExtResource("3_nsng2") | ||
[node name="TitleBar" parent="." instance=ExtResource("10_smykg")] | ||
layout_mode = 2 | ||
title = "Clone Cortical Area" | ||
|
||
[node name="WindowPanel" type="PanelContainer" parent="."] | ||
layout_mode = 2 | ||
|
||
[node name="WindowMargin" type="MarginContainer" parent="WindowPanel"] | ||
layout_mode = 2 | ||
|
||
[node name="gap1" type="Control" parent="Container"] | ||
[node name="WindowInternals" type="VBoxContainer" parent="WindowPanel/WindowMargin"] | ||
layout_mode = 2 | ||
|
||
[node name="gap1" type="Control" parent="WindowPanel/WindowMargin/WindowInternals"] | ||
custom_minimum_size = Vector2(0, 5) | ||
layout_mode = 2 | ||
|
||
[node name="HBoxContainer" type="HBoxContainer" parent="Container"] | ||
[node name="HBoxContainer" type="HBoxContainer" parent="WindowPanel/WindowMargin/WindowInternals"] | ||
layout_mode = 2 | ||
|
||
[node name="Label" type="Label" parent="Container/HBoxContainer"] | ||
[node name="Label" type="Label" parent="WindowPanel/WindowMargin/WindowInternals/HBoxContainer"] | ||
layout_mode = 2 | ||
size_flags_horizontal = 3 | ||
text = "Cortical Name" | ||
script = ExtResource("4_dpe0j") | ||
|
||
[node name="Cortical_Name" type="LineEdit" parent="Container/HBoxContainer"] | ||
[node name="Cortical_Name" type="LineEdit" parent="WindowPanel/WindowMargin/WindowInternals/HBoxContainer"] | ||
custom_minimum_size = Vector2(200, 0) | ||
layout_mode = 2 | ||
placeholder_text = "Friendly Name" | ||
max_length = 16 | ||
script = ExtResource("5_6v723") | ||
|
||
[node name="gap2" type="Control" parent="Container"] | ||
[node name="gap2" type="Control" parent="WindowPanel/WindowMargin/WindowInternals"] | ||
custom_minimum_size = Vector2(0, 3) | ||
layout_mode = 2 | ||
|
||
[node name="HBoxContainer2" type="HBoxContainer" parent="Container"] | ||
[node name="HBoxContainer2" type="HBoxContainer" parent="WindowPanel/WindowMargin/WindowInternals"] | ||
layout_mode = 2 | ||
|
||
[node name="Label" type="Label" parent="Container/HBoxContainer2"] | ||
[node name="Label" type="Label" parent="WindowPanel/WindowMargin/WindowInternals/HBoxContainer2"] | ||
layout_mode = 2 | ||
size_flags_horizontal = 3 | ||
text = "3D Coordinates" | ||
script = ExtResource("4_dpe0j") | ||
|
||
[node name="Coordinates_3D" parent="Container/HBoxContainer2" instance=ExtResource("6_t2gp1")] | ||
[node name="Coordinates_3D" parent="WindowPanel/WindowMargin/WindowInternals/HBoxContainer2" instance=ExtResource("6_t2gp1")] | ||
layout_mode = 2 | ||
|
||
[node name="HBoxContainer3" type="HBoxContainer" parent="Container"] | ||
[node name="HBoxContainer3" type="HBoxContainer" parent="WindowPanel/WindowMargin/WindowInternals"] | ||
layout_mode = 2 | ||
|
||
[node name="Label" type="Label" parent="Container/HBoxContainer3"] | ||
[node name="Label" type="Label" parent="WindowPanel/WindowMargin/WindowInternals/HBoxContainer3"] | ||
layout_mode = 2 | ||
size_flags_horizontal = 3 | ||
text = "2D Coordinates" | ||
script = ExtResource("4_dpe0j") | ||
|
||
[node name="Coordinates_2D" parent="Container/HBoxContainer3" instance=ExtResource("6_sl08t")] | ||
[node name="Coordinates_2D" parent="WindowPanel/WindowMargin/WindowInternals/HBoxContainer3" instance=ExtResource("6_sl08t")] | ||
layout_mode = 2 | ||
|
||
[node name="gap" type="Control" parent="Container"] | ||
[node name="gap" type="Control" parent="WindowPanel/WindowMargin/WindowInternals"] | ||
custom_minimum_size = Vector2(0, 3) | ||
layout_mode = 2 | ||
|
||
[node name="Clone_button" type="Button" parent="Container"] | ||
[node name="Clone_button" type="Button" parent="WindowPanel/WindowMargin/WindowInternals"] | ||
layout_mode = 2 | ||
text = "Clone Cortical Area" | ||
script = ExtResource("9_4iuqj") | ||
|
||
[node name="TitleBar" parent="." instance=ExtResource("10_smykg")] | ||
layout_mode = 0 | ||
offset_top = -40.0 | ||
offset_right = 391.0 | ||
offset_bottom = 0.0 | ||
title = "Clone Cortical Area" | ||
|
||
[connection signal="pressed" from="Container/Clone_button" to="." method="_clone_pressed"] | ||
script = ExtResource("7_flsw2") |
Oops, something went wrong.