137 lines
3.9 KiB
Plaintext
137 lines
3.9 KiB
Plaintext
[gd_scene load_steps=2 format=3]
|
|
|
|
[ext_resource type="Script" path="res://scripts/wallet_ui.gd" id="1_wui"]
|
|
|
|
[node name="WalletUI" 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_wui")
|
|
|
|
[node name="VBox" type="VBoxContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = 32.0
|
|
offset_top = 32.0
|
|
offset_right = -32.0
|
|
offset_bottom = -32.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_constants/separation = 16
|
|
|
|
[node name="HeaderHBox" type="HBoxContainer" parent="VBox"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 16
|
|
|
|
[node name="BackButton" type="Button" parent="VBox/HeaderHBox"]
|
|
custom_minimum_size = Vector2(100, 36)
|
|
layout_mode = 2
|
|
text = "< Back"
|
|
|
|
[node name="TitleLabel" type="Label" parent="VBox/HeaderHBox"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_font_sizes/font_size = 24
|
|
text = "Wallet & Buffalo Chips"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="RefreshButton" type="Button" parent="VBox/HeaderHBox"]
|
|
custom_minimum_size = Vector2(100, 36)
|
|
layout_mode = 2
|
|
text = "Refresh"
|
|
|
|
[node name="StatusLabel" type="Label" parent="VBox"]
|
|
layout_mode = 2
|
|
horizontal_alignment = 1
|
|
|
|
[node name="BalanceCard" type="PanelContainer" parent="VBox"]
|
|
layout_mode = 2
|
|
|
|
[node name="Margin" type="MarginContainer" parent="VBox/BalanceCard"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 16
|
|
theme_override_constants/margin_top = 16
|
|
theme_override_constants/margin_right = 16
|
|
theme_override_constants/margin_bottom = 16
|
|
|
|
[node name="HBox" type="HBoxContainer" parent="VBox/BalanceCard/Margin"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 20
|
|
|
|
[node name="BalTitle" type="Label" parent="VBox/BalanceCard/Margin/HBox"]
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 18
|
|
text = "Available Buffalo Chips:"
|
|
|
|
[node name="BalanceLabel" type="Label" parent="VBox/BalanceCard/Margin/HBox"]
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 22
|
|
text = "0 Buffalo Chips"
|
|
|
|
[node name="Spacer" type="Control" parent="VBox/BalanceCard/Margin/HBox"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="PacksHBox" type="HBoxContainer" parent="VBox/BalanceCard/Margin/HBox"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 8
|
|
|
|
[node name="Buy100Btn" type="Button" parent="VBox/BalanceCard/Margin/HBox/PacksHBox"]
|
|
layout_mode = 2
|
|
text = "+100 Buffalo Chips ($0.99)"
|
|
|
|
[node name="Buy500Btn" type="Button" parent="VBox/BalanceCard/Margin/HBox/PacksHBox"]
|
|
layout_mode = 2
|
|
text = "+500 Buffalo Chips ($4.99)"
|
|
|
|
[node name="Buy1000Btn" type="Button" parent="VBox/BalanceCard/Margin/HBox/PacksHBox"]
|
|
layout_mode = 2
|
|
text = "+1,000 Buffalo Chips ($9.99)"
|
|
|
|
[node name="Buy5000Btn" type="Button" parent="VBox/BalanceCard/Margin/HBox/PacksHBox"]
|
|
layout_mode = 2
|
|
text = "+5,000 Buffalo Chips ($44.99)"
|
|
|
|
[node name="LedgerSection" type="VBoxContainer" parent="VBox"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
theme_override_constants/separation = 8
|
|
|
|
[node name="LedgerTitle" type="Label" parent="VBox/LedgerSection"]
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 18
|
|
text = "Ledger History"
|
|
|
|
[node name="Scroll" type="ScrollContainer" parent="VBox/LedgerSection"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
|
|
[node name="TxList" type="VBoxContainer" parent="VBox/LedgerSection/Scroll"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_constants/separation = 6
|
|
|
|
[node name="PagingHBox" type="HBoxContainer" parent="VBox/LedgerSection"]
|
|
layout_mode = 2
|
|
alignment = 1
|
|
theme_override_constants/separation = 16
|
|
|
|
[node name="PrevPageBtn" type="Button" parent="VBox/LedgerSection/PagingHBox"]
|
|
custom_minimum_size = Vector2(80, 32)
|
|
layout_mode = 2
|
|
text = "Previous"
|
|
|
|
[node name="PageLabel" type="Label" parent="VBox/LedgerSection/PagingHBox"]
|
|
layout_mode = 2
|
|
text = "Page 1 of 1"
|
|
|
|
[node name="NextPageBtn" type="Button" parent="VBox/LedgerSection/PagingHBox"]
|
|
custom_minimum_size = Vector2(80, 32)
|
|
layout_mode = 2
|
|
text = "Next"
|