-
Notifications
You must be signed in to change notification settings - Fork 56
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 #19 from Inglonias/changelog
Add a changelog to Catapult
- Loading branch information
Showing
7 changed files
with
330 additions
and
24 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
[gd_scene load_steps=6 format=2] | ||
|
||
[ext_resource path="res://scripts/ChangelogDialod.gd" type="Script" id=1] | ||
[ext_resource path="res://fonts/OpenSans-SemiboldItalic.tres" type="DynamicFont" id=2] | ||
[ext_resource path="res://fonts/OpenSans-Regular.tres" type="DynamicFont" id=3] | ||
[ext_resource path="res://fonts/OpenSans-Italic.tres" type="DynamicFont" id=4] | ||
[ext_resource path="res://fonts/OpenSans-Semibold.tres" type="DynamicFont" id=5] | ||
|
||
[node name="ChangelogDialog" type="WindowDialog"] | ||
anchor_left = 0.5 | ||
anchor_top = 0.5 | ||
anchor_right = 0.5 | ||
anchor_bottom = 0.5 | ||
margin_left = -240.0 | ||
margin_top = -160.0 | ||
margin_right = 240.0 | ||
margin_bottom = 160.0 | ||
script = ExtResource( 1 ) | ||
__meta__ = { | ||
"_edit_use_anchors_": false | ||
} | ||
|
||
[node name="Panel" type="PanelContainer" parent="."] | ||
anchor_right = 1.0 | ||
anchor_bottom = 1.0 | ||
__meta__ = { | ||
"_edit_use_anchors_": false | ||
} | ||
|
||
[node name="Margin" type="MarginContainer" parent="Panel"] | ||
margin_left = 9.0 | ||
margin_top = 6.0 | ||
margin_right = 471.0 | ||
margin_bottom = 314.0 | ||
custom_constants/margin_top = 8 | ||
custom_constants/margin_bottom = 8 | ||
__meta__ = { | ||
"_edit_use_anchors_": false | ||
} | ||
|
||
[node name="VBox" type="VBoxContainer" parent="Panel/Margin"] | ||
margin_top = 8.0 | ||
margin_right = 462.0 | ||
margin_bottom = 300.0 | ||
custom_constants/separation = 8 | ||
__meta__ = { | ||
"_edit_use_anchors_": false | ||
} | ||
|
||
[node name="ChangelogText" type="RichTextLabel" parent="Panel/Margin/VBox"] | ||
margin_right = 462.0 | ||
margin_bottom = 255.0 | ||
size_flags_horizontal = 3 | ||
size_flags_vertical = 3 | ||
custom_fonts/bold_italics_font = ExtResource( 2 ) | ||
custom_fonts/italics_font = ExtResource( 4 ) | ||
custom_fonts/bold_font = ExtResource( 5 ) | ||
custom_fonts/normal_font = ExtResource( 3 ) | ||
bbcode_enabled = true | ||
text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum." | ||
__meta__ = { | ||
"_edit_use_anchors_": false | ||
} | ||
|
||
[node name="BtnCloseChangelog" type="Button" parent="Panel/Margin/VBox"] | ||
margin_left = 201.0 | ||
margin_top = 263.0 | ||
margin_right = 260.0 | ||
margin_bottom = 292.0 | ||
size_flags_horizontal = 4 | ||
text = "Close" | ||
__meta__ = { | ||
"_edit_use_anchors_": false | ||
} | ||
|
||
[node name="PullRequests" type="HTTPRequest" parent="."] | ||
timeout = 20 | ||
|
||
[connection signal="meta_clicked" from="Panel/Margin/VBox/ChangelogText" to="." method="_on_ChangelogText_meta_clicked"] | ||
[connection signal="pressed" from="Panel/Margin/VBox/BtnCloseChangelog" to="." method="_on_BtnCloseChangelog_pressed"] | ||
[connection signal="request_completed" from="PullRequests" to="." method="_on_PullRequests_request_completed"] |
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
Oops, something went wrong.