[gd_scene load_steps=3 format=3 uid="uid://ci0w7k2nv5jm1"] [ext_resource type="Script" path="res://Scripts/shapes.gd" id="1_gda7s"] [ext_resource type="PackedScene" uid="uid://cj0uj04i3vy83" path="res://Scenes/DifferentOptionsScroll.tscn" id="2_o8gf1"] [node name="Shapes" type="Control"] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1_gda7s") [node name="Tabs" type="TabBar" parent="."] layout_mode = 0 offset_right = 800.0 offset_bottom = 40.0 tab_alignment = 1 tab_count = 13 tab_0/title = "Triangles" tab_1/title = "Circles" tab_2/title = "Squares" tab_3/title = "Rectangles" tab_4/title = "Rhombuses" tab_5/title = "Trapezoid" tab_6/title = "Cones" tab_7/title = "Spheres" tab_8/title = "Cubes" tab_9/title = "Parallelepipeds" tab_10/title = "Cylinder" tab_11/title = "Regular Polygon" tab_12/title = "Regular Prism" [node name="Triangles" type="Control" parent="."] anchors_preset = 0 offset_right = 40.0 offset_bottom = 40.0 [node name="DLaw of Sines" type="Label" parent="Triangles"] layout_mode = 0 offset_top = 36.0 offset_right = 164.0 offset_bottom = 62.0 text = "Law of Sines (degree)" [node name="A" type="LineEdit" parent="Triangles/DLaw of Sines"] layout_mode = 0 offset_top = 20.0 offset_right = 162.0 offset_bottom = 51.0 placeholder_text = "Leg a" [node name="B" type="LineEdit" parent="Triangles/DLaw of Sines"] layout_mode = 0 offset_top = 51.0 offset_right = 162.0 offset_bottom = 82.0 placeholder_text = "Leg b" [node name="Beta" type="LineEdit" parent="Triangles/DLaw of Sines"] layout_mode = 0 offset_top = 81.0 offset_right = 162.0 offset_bottom = 112.0 placeholder_text = "Angle beta" [node name="Submit" type="Button" parent="Triangles/DLaw of Sines"] layout_mode = 0 offset_left = 46.0 offset_top = 113.0 offset_right = 109.0 offset_bottom = 144.0 text = "Submit" [node name="LLaw of Sines" type="Label" parent="Triangles"] layout_mode = 0 offset_left = 163.0 offset_top = 36.0 offset_right = 297.0 offset_bottom = 62.0 text = "Law of Sines (leg)" [node name="A" type="LineEdit" parent="Triangles/LLaw of Sines"] layout_mode = 0 offset_top = 20.0 offset_right = 134.0 offset_bottom = 51.0 placeholder_text = "Leg a" [node name="Alpha" type="LineEdit" parent="Triangles/LLaw of Sines"] layout_mode = 0 offset_top = 51.0 offset_right = 134.0 offset_bottom = 82.0 placeholder_text = "Angle Alpha" [node name="Beta" type="LineEdit" parent="Triangles/LLaw of Sines"] layout_mode = 0 offset_top = 81.0 offset_right = 134.0 offset_bottom = 112.0 placeholder_text = "Angle Beta" [node name="Submit" type="Button" parent="Triangles/LLaw of Sines"] layout_mode = 0 offset_left = 33.0 offset_top = 113.0 offset_right = 96.0 offset_bottom = 144.0 text = "Submit" [node name="Area with SSS" type="Label" parent="Triangles"] layout_mode = 0 offset_left = 298.0 offset_top = 36.0 offset_right = 442.0 offset_bottom = 62.0 text = "Triangle Area (SSS)" [node name="A" type="LineEdit" parent="Triangles/Area with SSS"] layout_mode = 0 offset_top = 20.0 offset_right = 144.0 offset_bottom = 51.0 placeholder_text = "Leg a" [node name="B" type="LineEdit" parent="Triangles/Area with SSS"] layout_mode = 0 offset_top = 51.0 offset_right = 144.0 offset_bottom = 82.0 placeholder_text = "Leg b" [node name="C" type="LineEdit" parent="Triangles/Area with SSS"] layout_mode = 0 offset_top = 81.0 offset_right = 144.0 offset_bottom = 112.0 placeholder_text = "Leg c" [node name="Submit" type="Button" parent="Triangles/Area with SSS"] layout_mode = 0 offset_left = 39.0 offset_top = 113.0 offset_right = 102.0 offset_bottom = 144.0 text = "Submit" [node name="Area with SAS" type="Label" parent="Triangles"] layout_mode = 0 offset_left = 443.0 offset_top = 36.0 offset_right = 589.0 offset_bottom = 62.0 text = "Triangle Area (SAS)" [node name="A" type="LineEdit" parent="Triangles/Area with SAS"] layout_mode = 0 offset_top = 20.0 offset_right = 146.0 offset_bottom = 51.0 placeholder_text = "Leg a" [node name="B" type="LineEdit" parent="Triangles/Area with SAS"] layout_mode = 0 offset_top = 51.0 offset_right = 146.0 offset_bottom = 82.0 placeholder_text = "Leg b" [node name="Charlie" type="LineEdit" parent="Triangles/Area with SAS"] layout_mode = 0 offset_top = 81.0 offset_right = 146.0 offset_bottom = 112.0 placeholder_text = "Angle Charlie" [node name="Submit" type="Button" parent="Triangles/Area with SAS"] layout_mode = 0 offset_left = 39.0 offset_top = 113.0 offset_right = 102.0 offset_bottom = 144.0 text = "Submit" [node name="Area of Triangle" type="Label" parent="Triangles"] offset_left = 590.0 offset_top = 36.0 offset_right = 713.0 offset_bottom = 62.0 text = "Area of Triangle" [node name="Base" type="LineEdit" parent="Triangles/Area of Triangle"] layout_mode = 0 offset_top = 20.0 offset_right = 123.0 offset_bottom = 51.0 placeholder_text = "Base" [node name="Height" type="LineEdit" parent="Triangles/Area of Triangle"] layout_mode = 0 offset_top = 51.0 offset_right = 123.0 offset_bottom = 82.0 placeholder_text = "Height" [node name="Submit" type="Button" parent="Triangles/Area of Triangle"] layout_mode = 0 offset_left = 30.0 offset_top = 83.0 offset_right = 93.0 offset_bottom = 114.0 text = "Submit" [node name="LLaw of Cosines" type="Label" parent="Triangles"] layout_mode = 0 offset_top = 176.0 offset_right = 152.0 offset_bottom = 202.0 text = "Law of Cosines (leg)" [node name="A" type="LineEdit" parent="Triangles/LLaw of Cosines"] layout_mode = 0 offset_top = 20.0 offset_right = 152.0 offset_bottom = 51.0 placeholder_text = "Leg a" [node name="B" type="LineEdit" parent="Triangles/LLaw of Cosines"] layout_mode = 0 offset_top = 51.0 offset_right = 152.0 offset_bottom = 82.0 placeholder_text = "Leg b" [node name="Charlie" type="LineEdit" parent="Triangles/LLaw of Cosines"] layout_mode = 0 offset_top = 81.0 offset_right = 152.0 offset_bottom = 112.0 placeholder_text = "Angle Charlie" [node name="Submit" type="Button" parent="Triangles/LLaw of Cosines"] layout_mode = 0 offset_left = 46.0 offset_top = 113.0 offset_right = 109.0 offset_bottom = 144.0 text = "Submit" [node name="DLaw of Cosines" type="Label" parent="Triangles"] offset_left = 153.0 offset_top = 176.0 offset_right = 305.0 offset_bottom = 202.0 text = "Law of Cosines (degree)" [node name="A" type="LineEdit" parent="Triangles/DLaw of Cosines"] layout_mode = 0 offset_top = 20.0 offset_right = 183.0 offset_bottom = 51.0 placeholder_text = "Leg a" [node name="B" type="LineEdit" parent="Triangles/DLaw of Cosines"] layout_mode = 0 offset_top = 51.0 offset_right = 183.0 offset_bottom = 82.0 placeholder_text = "Leg b" [node name="C" type="LineEdit" parent="Triangles/DLaw of Cosines"] layout_mode = 0 offset_top = 81.0 offset_right = 183.0 offset_bottom = 112.0 placeholder_text = "Leg c" [node name="Submit" type="Button" parent="Triangles/DLaw of Cosines"] layout_mode = 0 offset_left = 59.0 offset_top = 113.0 offset_right = 122.0 offset_bottom = 144.0 text = "Submit" [node name="Area of Right Triangle" type="Label" parent="Triangles"] offset_top = 316.0 offset_right = 152.0 offset_bottom = 342.0 text = "Area of right triangle" [node name="A" type="LineEdit" parent="Triangles/Area of Right Triangle"] layout_mode = 0 offset_top = 20.0 offset_right = 161.0 offset_bottom = 51.0 placeholder_text = "Leg a" [node name="B" type="LineEdit" parent="Triangles/Area of Right Triangle"] layout_mode = 0 offset_top = 51.0 offset_right = 161.0 offset_bottom = 82.0 placeholder_text = "Leg b" [node name="Submit" type="Button" parent="Triangles/Area of Right Triangle"] layout_mode = 0 offset_left = 48.0 offset_top = 83.0 offset_right = 111.0 offset_bottom = 114.0 text = "Submit" [node name="Leg of Right Triangle" type="Label" parent="Triangles"] offset_left = 162.0 offset_top = 316.0 offset_right = 314.0 offset_bottom = 342.0 text = "Leg of right triangle" [node name="Area" type="LineEdit" parent="Triangles/Leg of Right Triangle"] layout_mode = 0 offset_top = 20.0 offset_right = 152.0 offset_bottom = 51.0 placeholder_text = "Area" [node name="B" type="LineEdit" parent="Triangles/Leg of Right Triangle"] layout_mode = 0 offset_top = 51.0 offset_right = 152.0 offset_bottom = 82.0 placeholder_text = "Leg b" [node name="Submit" type="Button" parent="Triangles/Leg of Right Triangle"] layout_mode = 0 offset_left = 43.0 offset_top = 83.0 offset_right = 106.0 offset_bottom = 114.0 text = "Submit" [node name="Circles" type="Control" parent="."] visible = false anchors_preset = 0 offset_right = 40.0 offset_bottom = 40.0 [node name="Area Of Circle" type="Label" parent="Circles"] layout_mode = 0 offset_top = 36.0 offset_right = 106.0 offset_bottom = 62.0 text = "Area Of Circle" [node name="Redius" type="LineEdit" parent="Circles/Area Of Circle"] layout_mode = 0 offset_top = 20.0 offset_right = 106.0 offset_bottom = 51.0 placeholder_text = "Radius" [node name="Submit" type="Button" parent="Circles/Area Of Circle"] layout_mode = 0 offset_left = 21.0 offset_top = 52.0 offset_right = 84.0 offset_bottom = 83.0 text = "Submit" [node name="Squares" type="Control" parent="."] visible = false anchors_preset = 0 offset_right = 40.0 offset_bottom = 40.0 [node name="Area Of Square" type="Label" parent="Squares"] layout_mode = 0 offset_top = 36.0 offset_right = 115.0 offset_bottom = 62.0 text = "Area of Square" [node name="Side" type="LineEdit" parent="Squares/Area Of Square"] layout_mode = 0 offset_top = 20.0 offset_right = 115.0 offset_bottom = 51.0 placeholder_text = "Side" [node name="Submit" type="Button" parent="Squares/Area Of Square"] layout_mode = 0 offset_left = 25.0 offset_top = 52.0 offset_right = 88.0 offset_bottom = 83.0 text = "Submit" [node name="Rectangles" type="Control" parent="."] visible = false anchors_preset = 0 offset_right = 40.0 offset_bottom = 40.0 [node name="Area Of Rectangle" type="Label" parent="Rectangles"] layout_mode = 0 offset_top = 36.0 offset_right = 115.0 offset_bottom = 62.0 text = "Area of Rectangle" [node name="Width" type="LineEdit" parent="Rectangles/Area Of Rectangle"] layout_mode = 0 offset_top = 20.0 offset_right = 136.0 offset_bottom = 51.0 placeholder_text = "Width" [node name="Height" type="LineEdit" parent="Rectangles/Area Of Rectangle"] layout_mode = 0 offset_top = 50.0 offset_right = 136.0 offset_bottom = 81.0 placeholder_text = "Height" [node name="Submit" type="Button" parent="Rectangles/Area Of Rectangle"] layout_mode = 0 offset_left = 34.0 offset_top = 82.0 offset_right = 97.0 offset_bottom = 113.0 text = "Submit" [node name="Rhombuses" type="Control" parent="."] visible = false anchors_preset = 0 offset_right = 40.0 offset_bottom = 40.0 [node name="Trapezoids" type="Control" parent="."] visible = false anchors_preset = 0 offset_right = 40.0 offset_bottom = 40.0 [node name="Cones" type="Control" parent="."] visible = false anchors_preset = 0 offset_right = 40.0 offset_bottom = 40.0 [node name="Spheres" type="Control" parent="."] visible = false anchors_preset = 0 offset_right = 40.0 offset_bottom = 40.0 [node name="Surface Area Of Sphere" type="Label" parent="Spheres"] offset_top = 36.0 offset_right = 115.0 offset_bottom = 62.0 text = "Surface Area Sphere" [node name="Size" type="LineEdit" parent="Spheres/Surface Area Of Sphere"] layout_mode = 0 offset_top = 20.0 offset_right = 157.0 offset_bottom = 51.0 placeholder_text = "Radius" [node name="Submit" type="Button" parent="Spheres/Surface Area Of Sphere"] layout_mode = 0 offset_left = 47.0 offset_top = 52.0 offset_right = 110.0 offset_bottom = 83.0 text = "Submit" [node name="Volume Of Sphere" type="Label" parent="Spheres"] offset_left = 158.0 offset_top = 36.0 offset_right = 298.0 offset_bottom = 62.0 text = "Volume Of Sphere" [node name="Size" type="LineEdit" parent="Spheres/Volume Of Sphere"] layout_mode = 0 offset_top = 20.0 offset_right = 140.0 offset_bottom = 51.0 placeholder_text = "Radius" [node name="Submit" type="Button" parent="Spheres/Volume Of Sphere"] layout_mode = 0 offset_left = 41.0 offset_top = 52.0 offset_right = 104.0 offset_bottom = 83.0 text = "Submit" [node name="Cubes" type="Control" parent="."] visible = false anchors_preset = 0 offset_right = 40.0 offset_bottom = 40.0 [node name="Parallelepipeds" type="Control" parent="."] visible = false layout_mode = 3 anchors_preset = 0 offset_right = 40.0 offset_bottom = 40.0 [node name="Cylinder" type="Control" parent="."] visible = false layout_mode = 3 anchors_preset = 0 offset_right = 40.0 offset_bottom = 40.0 [node name="Regular Polygon" type="Control" parent="."] visible = false layout_mode = 3 anchors_preset = 0 offset_right = 40.0 offset_bottom = 40.0 [node name="Regular Prism" type="Control" parent="."] visible = false layout_mode = 3 anchors_preset = 0 offset_right = 40.0 offset_bottom = 40.0 [node name="OptionButton" parent="." instance=ExtResource("2_o8gf1")] layout_mode = 0 anchors_preset = 0 anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 offset_left = 200.0 offset_top = 760.0 offset_right = 600.0 offset_bottom = 800.0 [connection signal="tab_changed" from="Tabs" to="." method="_on_tabs_tab_changed"] [connection signal="pressed" from="Triangles/DLaw of Sines/Submit" to="." method="DLawOfSines"] [connection signal="pressed" from="Triangles/LLaw of Sines/Submit" to="." method="LLawOfSines"] [connection signal="pressed" from="Triangles/Area with SSS/Submit" to="." method="TriangleAreaSSS"] [connection signal="pressed" from="Triangles/Area with SAS/Submit" to="." method="TriangleAreaSAS"] [connection signal="pressed" from="Triangles/Area of Triangle/Submit" to="." method="TriangleBaseAndHeight"] [connection signal="pressed" from="Triangles/LLaw of Cosines/Submit" to="." method="LLawOfCosines"] [connection signal="pressed" from="Triangles/DLaw of Cosines/Submit" to="." method="DLawOfCosines"] [connection signal="pressed" from="Triangles/Area of Right Triangle/Submit" to="." method="AreaOfRightTriangle"] [connection signal="pressed" from="Triangles/Leg of Right Triangle/Submit" to="." method="LegOfRightTriangle"] [connection signal="pressed" from="Circles/Area Of Circle/Submit" to="." method="AreaOfCircle"] [connection signal="pressed" from="Squares/Area Of Square/Submit" to="." method="AreaOfSquare"] [connection signal="pressed" from="Rectangles/Area Of Rectangle/Submit" to="." method="AreaOfRectangle"] [connection signal="pressed" from="Spheres/Surface Area Of Sphere/Submit" to="." method="SurfaceAreaOfSphere"] [connection signal="pressed" from="Spheres/Volume Of Sphere/Submit" to="." method="VolumeOfSphere"]