Working on map lines editing GUI
This commit is contained in:
@@ -56,7 +56,7 @@ anchor_bottom = 1.0
|
||||
margin_left = -160.0
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="VBoxContainer"]
|
||||
margin_right = 160.0
|
||||
margin_right = 162.0
|
||||
margin_bottom = 30.0
|
||||
rect_min_size = Vector2( 160, 30 )
|
||||
size_flags_horizontal = 3
|
||||
@@ -77,58 +77,58 @@ valign = 1
|
||||
[node name="select_buildings" type="Button" parent="VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
margin_top = 34.0
|
||||
margin_right = 160.0
|
||||
margin_right = 162.0
|
||||
margin_bottom = 54.0
|
||||
text = "Buildings Mode"
|
||||
|
||||
[node name="select_navigation" type="Button" parent="VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
margin_top = 58.0
|
||||
margin_right = 160.0
|
||||
margin_right = 162.0
|
||||
margin_bottom = 78.0
|
||||
text = "Navigation Mode"
|
||||
|
||||
[node name="select_poi" type="Button" parent="VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
margin_top = 82.0
|
||||
margin_right = 160.0
|
||||
margin_right = 162.0
|
||||
margin_bottom = 102.0
|
||||
text = "POI Mode"
|
||||
|
||||
[node name="select_road_lines" type="Button" parent="VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
margin_top = 106.0
|
||||
margin_right = 160.0
|
||||
margin_right = 162.0
|
||||
margin_bottom = 126.0
|
||||
text = "Road Lines Mode"
|
||||
|
||||
[node name="select_npc" type="Button" parent="VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
margin_top = 130.0
|
||||
margin_right = 160.0
|
||||
margin_right = 162.0
|
||||
margin_bottom = 150.0
|
||||
text = "NPC Mode"
|
||||
|
||||
[node name="v_buildings" type="VBoxContainer" parent="VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
margin_top = 154.0
|
||||
margin_right = 160.0
|
||||
margin_right = 162.0
|
||||
margin_bottom = 274.0
|
||||
|
||||
[node name="HSeparator" type="HSeparator" parent="VBoxContainer/v_buildings"]
|
||||
margin_right = 160.0
|
||||
margin_right = 162.0
|
||||
margin_bottom = 4.0
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer/v_buildings"]
|
||||
margin_top = 8.0
|
||||
margin_right = 160.0
|
||||
margin_right = 162.0
|
||||
margin_bottom = 22.0
|
||||
text = "Buildings mode"
|
||||
|
||||
[node name="buildings_edit_mode" type="OptionButton" parent="VBoxContainer/v_buildings"]
|
||||
unique_name_in_owner = true
|
||||
margin_top = 26.0
|
||||
margin_right = 160.0
|
||||
margin_right = 162.0
|
||||
margin_bottom = 46.0
|
||||
text = "Select"
|
||||
items = [ "Select", null, false, 0, null, "Move", null, false, 1, null, "Rotate", null, false, 2, null ]
|
||||
@@ -136,98 +136,162 @@ selected = 0
|
||||
|
||||
[node name="Label2" type="Label" parent="VBoxContainer/v_buildings"]
|
||||
margin_top = 50.0
|
||||
margin_right = 160.0
|
||||
margin_right = 162.0
|
||||
margin_bottom = 64.0
|
||||
text = "Building type"
|
||||
|
||||
[node name="building_type" type="OptionButton" parent="VBoxContainer/v_buildings"]
|
||||
unique_name_in_owner = true
|
||||
margin_top = 68.0
|
||||
margin_right = 160.0
|
||||
margin_right = 162.0
|
||||
margin_bottom = 88.0
|
||||
text = "Building Type"
|
||||
|
||||
[node name="HSeparator2" type="HSeparator" parent="VBoxContainer/v_buildings"]
|
||||
margin_top = 92.0
|
||||
margin_right = 160.0
|
||||
margin_right = 162.0
|
||||
margin_bottom = 96.0
|
||||
|
||||
[node name="buildings_save" type="Button" parent="VBoxContainer/v_buildings"]
|
||||
unique_name_in_owner = true
|
||||
margin_top = 100.0
|
||||
margin_right = 160.0
|
||||
margin_right = 162.0
|
||||
margin_bottom = 120.0
|
||||
text = "Save Buildings"
|
||||
|
||||
[node name="v_navigation" type="VBoxContainer" parent="VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
margin_top = 278.0
|
||||
margin_right = 160.0
|
||||
margin_right = 162.0
|
||||
margin_bottom = 300.0
|
||||
|
||||
[node name="HSeparator" type="HSeparator" parent="VBoxContainer/v_navigation"]
|
||||
margin_right = 160.0
|
||||
margin_right = 162.0
|
||||
margin_bottom = 4.0
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer/v_navigation"]
|
||||
margin_top = 8.0
|
||||
margin_right = 160.0
|
||||
margin_right = 162.0
|
||||
margin_bottom = 22.0
|
||||
text = "Navigation mode"
|
||||
|
||||
[node name="v_poi" type="VBoxContainer" parent="VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
margin_top = 304.0
|
||||
margin_right = 160.0
|
||||
margin_right = 162.0
|
||||
margin_bottom = 326.0
|
||||
|
||||
[node name="HSeparator" type="HSeparator" parent="VBoxContainer/v_poi"]
|
||||
margin_right = 160.0
|
||||
margin_right = 162.0
|
||||
margin_bottom = 4.0
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer/v_poi"]
|
||||
margin_top = 8.0
|
||||
margin_right = 160.0
|
||||
margin_right = 162.0
|
||||
margin_bottom = 22.0
|
||||
text = "POI mode"
|
||||
|
||||
[node name="v_road_lines" type="VBoxContainer" parent="VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
margin_top = 330.0
|
||||
margin_right = 160.0
|
||||
margin_bottom = 456.0
|
||||
margin_right = 162.0
|
||||
margin_bottom = 636.0
|
||||
|
||||
[node name="HSeparator" type="HSeparator" parent="VBoxContainer/v_road_lines"]
|
||||
margin_right = 160.0
|
||||
margin_right = 162.0
|
||||
margin_bottom = 4.0
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer/v_road_lines"]
|
||||
[node name="road_lines_base" type="PanelContainer" parent="VBoxContainer/v_road_lines"]
|
||||
unique_name_in_owner = true
|
||||
margin_top = 8.0
|
||||
margin_right = 160.0
|
||||
margin_bottom = 22.0
|
||||
margin_right = 162.0
|
||||
margin_bottom = 240.0
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/v_road_lines/road_lines_base"]
|
||||
margin_left = 7.0
|
||||
margin_top = 7.0
|
||||
margin_right = 155.0
|
||||
margin_bottom = 225.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer/v_road_lines/road_lines_base/VBoxContainer"]
|
||||
margin_right = 148.0
|
||||
margin_bottom = 14.0
|
||||
text = "Road Lines mode"
|
||||
|
||||
[node name="lines_list" type="ItemList" parent="VBoxContainer/v_road_lines"]
|
||||
[node name="lines_list" type="ItemList" parent="VBoxContainer/v_road_lines/road_lines_base/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
margin_top = 26.0
|
||||
margin_right = 160.0
|
||||
margin_bottom = 126.0
|
||||
margin_top = 18.0
|
||||
margin_right = 148.0
|
||||
margin_bottom = 118.0
|
||||
rect_min_size = Vector2( 0, 100 )
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="line_index" type="SpinBox" parent="VBoxContainer/v_road_lines/road_lines_base/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
margin_top = 122.0
|
||||
margin_right = 148.0
|
||||
margin_bottom = 146.0
|
||||
|
||||
[node name="road_lines_move_point" type="Button" parent="VBoxContainer/v_road_lines/road_lines_base/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
margin_top = 150.0
|
||||
margin_right = 148.0
|
||||
margin_bottom = 170.0
|
||||
text = "Move Point To Cursor"
|
||||
|
||||
[node name="road_lines_create_point" type="Button" parent="VBoxContainer/v_road_lines/road_lines_base/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
margin_top = 174.0
|
||||
margin_right = 148.0
|
||||
margin_bottom = 194.0
|
||||
text = "Create Point"
|
||||
|
||||
[node name="road_lines_create_new_line" type="Button" parent="VBoxContainer/v_road_lines/road_lines_base/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
margin_top = 198.0
|
||||
margin_right = 148.0
|
||||
margin_bottom = 218.0
|
||||
text = "Creeate New Line"
|
||||
|
||||
[node name="road_lines_create_new_line_dlg" type="PanelContainer" parent="VBoxContainer/v_road_lines"]
|
||||
unique_name_in_owner = true
|
||||
margin_top = 244.0
|
||||
margin_right = 162.0
|
||||
margin_bottom = 306.0
|
||||
|
||||
[node name="v" type="VBoxContainer" parent="VBoxContainer/v_road_lines/road_lines_create_new_line_dlg"]
|
||||
margin_left = 7.0
|
||||
margin_top = 7.0
|
||||
margin_right = 155.0
|
||||
margin_bottom = 55.0
|
||||
|
||||
[node name="road_lines_create_new_line_name" type="LineEdit" parent="VBoxContainer/v_road_lines/road_lines_create_new_line_dlg/v"]
|
||||
unique_name_in_owner = true
|
||||
margin_right = 148.0
|
||||
margin_bottom = 24.0
|
||||
|
||||
[node name="road_lines_create_new_cancel" type="Button" parent="VBoxContainer/v_road_lines/road_lines_create_new_line_dlg/v"]
|
||||
unique_name_in_owner = true
|
||||
margin_top = 28.0
|
||||
margin_right = 148.0
|
||||
margin_bottom = 48.0
|
||||
text = "Cancel"
|
||||
|
||||
[node name="v_npc" type="VBoxContainer" parent="VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
margin_top = 460.0
|
||||
margin_right = 160.0
|
||||
margin_bottom = 482.0
|
||||
margin_top = 640.0
|
||||
margin_right = 162.0
|
||||
margin_bottom = 662.0
|
||||
|
||||
[node name="HSeparator" type="HSeparator" parent="VBoxContainer/v_npc"]
|
||||
margin_right = 160.0
|
||||
margin_right = 162.0
|
||||
margin_bottom = 4.0
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer/v_npc"]
|
||||
margin_top = 8.0
|
||||
margin_right = 160.0
|
||||
margin_right = 162.0
|
||||
margin_bottom = 22.0
|
||||
text = "NPC mode"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user