Add artwork export and stamping
This commit is contained in:
parent
ba35db1015
commit
8107e2d89c
21 changed files with 1727 additions and 105 deletions
|
|
@ -20,7 +20,7 @@ layout_mode = 0
|
|||
anchors_preset = 1
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
offset_left = -510.0
|
||||
offset_left = -634.0
|
||||
offset_bottom = 373.0
|
||||
grow_horizontal = 0
|
||||
mouse_filter = 2
|
||||
|
|
@ -30,7 +30,7 @@ script = ExtResource("1_script")
|
|||
[node name="TopPanel" type="PanelContainer" parent="."]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 0
|
||||
offset_right = 510.0
|
||||
offset_right = 634.0
|
||||
offset_bottom = 60.0
|
||||
|
||||
[node name="Top" type="HBoxContainer" parent="TopPanel"]
|
||||
|
|
@ -109,6 +109,22 @@ accessibility_name = "toggle finalize grid mode"
|
|||
icon = ExtResource("9_grid_finish")
|
||||
expand_icon = true
|
||||
|
||||
[node name="ExportButton" type="Button" parent="TopPanel/Top"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
tooltip_text = "export aimed artwork as PNG"
|
||||
focus_mode = 0
|
||||
accessibility_name = "export aimed artwork as PNG"
|
||||
text = "png"
|
||||
|
||||
[node name="StampButton" type="Button" parent="TopPanel/Top"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
tooltip_text = "place saved artwork stamps"
|
||||
focus_mode = 0
|
||||
accessibility_name = "place saved artwork stamps"
|
||||
text = "stamp"
|
||||
|
||||
[node name="ModeButton" type="Button" parent="TopPanel/Top"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
|
|
@ -121,12 +137,74 @@ expand_icon = true
|
|||
[node name="ColorPanel" type="PanelContainer" parent="."]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 0
|
||||
offset_left = 464.0
|
||||
offset_left = 588.0
|
||||
offset_top = 54.0
|
||||
offset_right = 510.0
|
||||
offset_right = 634.0
|
||||
offset_bottom = 373.0
|
||||
|
||||
[node name="ColorList" type="VBoxContainer" parent="ColorPanel"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 5
|
||||
|
||||
[node name="StampLibraryPanel" type="PanelContainer" parent="."]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
z_index = 10
|
||||
layout_mode = 0
|
||||
offset_left = 57.0
|
||||
offset_top = 64.0
|
||||
offset_right = 577.0
|
||||
offset_bottom = 366.0
|
||||
|
||||
[node name="Margin" type="MarginContainer" parent="StampLibraryPanel"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 12
|
||||
theme_override_constants/margin_top = 10
|
||||
theme_override_constants/margin_right = 12
|
||||
theme_override_constants/margin_bottom = 10
|
||||
|
||||
[node name="Layout" type="VBoxContainer" parent="StampLibraryPanel/Margin"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 8
|
||||
|
||||
[node name="Header" type="HBoxContainer" parent="StampLibraryPanel/Margin/Layout"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Title" type="Label" parent="StampLibraryPanel/Margin/Layout/Header"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "saved artwork"
|
||||
theme_override_font_sizes/font_size = 22
|
||||
|
||||
[node name="StampLibraryClose" type="Button" parent="StampLibraryPanel/Margin/Layout/Header"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(42, 36)
|
||||
layout_mode = 2
|
||||
focus_mode = 0
|
||||
tooltip_text = "close saved artwork"
|
||||
accessibility_name = "close saved artwork"
|
||||
text = "×"
|
||||
|
||||
[node name="EmptyStampLibrary" type="Label" parent="StampLibraryPanel/Margin/Layout"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
text = "export artwork to add stamps"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="StampScroll" type="ScrollContainer" parent="StampLibraryPanel/Margin/Layout"]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
horizontal_scroll_mode = 0
|
||||
|
||||
[node name="StampGrid" type="GridContainer" parent="StampLibraryPanel/Margin/Layout/StampScroll"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_constants/h_separation = 12
|
||||
theme_override_constants/v_separation = 12
|
||||
columns = 4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue