breakpoint

This commit is contained in:
CortexCore
2023-09-15 23:02:46 +08:00
parent f6bf8fffe3
commit eabf0c6188
43 changed files with 1701 additions and 1582 deletions

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://7fbt23ba5le3"
path="res://.godot/imported/logo-intelli_non-color_wide.png-b54b4c513a7b4ebb69e3c76ee38c4717.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Artists/Art/Logos/logo-intelli_non-color_wide.png"
dest_files=["res://.godot/imported/logo-intelli_non-color_wide.png-b54b4c513a7b4ebb69e3c76ee38c4717.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cm74m6rvgumxs"
path="res://.godot/imported/logo-intelli_non-color_wide_light.png-37002afba38b6bc9b3daec4cb2ad2fc3.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Artists/Art/Logos/logo-intelli_non-color_wide_light.png"
dest_files=["res://.godot/imported/logo-intelli_non-color_wide_light.png-37002afba38b6bc9b3daec4cb2ad2fc3.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View File

@@ -10,7 +10,7 @@ using BITKit.IO;
using Microsoft.Extensions.DependencyInjection;
using Cysharp.Threading.Tasks;
namespace BITKit;
namespace BITKit.UX;
public partial class PlaybackService : UXPanel
{
@@ -29,13 +29,14 @@ public partial class PlaybackService : UXPanel
public override void _Ready()
{
cancellationTokenSource = new CancellationTokenSource();
OnExit();
//OnExit();
}
public override void _ExitTree()
{
cancellationTokenSource.Cancel();
}
public override void OnEntry()
private void NoEntry()
//public override void OnEntry()
{
cancellationTokenSource.Token.ThrowIfCancellationRequested();
@@ -61,7 +62,7 @@ public partial class PlaybackService : UXPanel
Stopwatch stopwatch = new();
stopwatch.Start();
OnExit();
//OnExit();
label.Text = $"正在加载:{playableInfo.Name},创建时间:{playableInfo.CreateTime}";
label.Show();
@@ -92,8 +93,8 @@ public partial class PlaybackService : UXPanel
}
}
}
public override void OnExit()
private void NoExit()
//public override void OnExit()
{
foreach (var x in root.GetChildren())
{

View File

@@ -3,6 +3,7 @@
[ext_resource type="Script" path="res://BITKit/Scripts/UX/UXContainer.cs" id="1_yrfyl"]
[node name="LineEditTemplate" type="PanelContainer" node_paths=PackedStringArray("label", "labels", "buttons", "lineEdit", "lineEdits", "optionButtons")]
custom_minimum_size = Vector2(512, 0)
script = ExtResource("1_yrfyl")
label = NodePath("MarginContainer/Layout/0/Label")
labels = [NodePath("MarginContainer/Layout/0/Label"), NodePath("MarginContainer/Layout/1/Label"), NodePath("MarginContainer/Layout/2/Label")]
@@ -23,8 +24,8 @@ layout_mode = 2
size_flags_horizontal = 3
[node name="Label" type="Label" parent="MarginContainer/Layout/0"]
custom_minimum_size = Vector2(200, 0)
layout_mode = 2
size_flags_horizontal = 3
text = "格式 e.g.温湿度"
[node name="LineEdit" type="LineEdit" parent="MarginContainer/Layout/0"]

View File

@@ -1,7 +1,8 @@
[gd_scene load_steps=4 format=3 uid="uid://dey6r76kttak6"]
[gd_scene load_steps=5 format=3 uid="uid://dey6r76kttak6"]
[ext_resource type="Texture2D" uid="uid://d1uver224k3px" path="res://addons/ui_design_tool/assets/icons/folder_open-white-18dp.svg" id="1_jbnj1"]
[ext_resource type="Texture2D" uid="uid://dn7q7grbfr7kh" path="res://addons/ui_design_tool/assets/icons/refresh-white-18dp.svg" id="1_miiu5"]
[ext_resource type="Script" path="res://BITKit/Scripts/UX/UXTabViewService.cs" id="3_7cg45"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_uocfi"]
bg_color = Color(0.156863, 0.152941, 0.172549, 1)
@@ -148,6 +149,14 @@ tab_0/title = "Tab1"
tab_1/title = "Tab2"
tab_2/title = "Tab3"
[node name="TabBar2" type="TabBar" parent="Scroll/HBoxContainer/VBoxContainer3"]
layout_mode = 2
theme_type_variation = &"Light"
tab_count = 3
tab_0/title = "Tab1"
tab_1/title = "Tab2"
tab_2/title = "Tab3"
[node name="TabContainer" type="TabContainer" parent="Scroll/HBoxContainer/VBoxContainer3"]
custom_minimum_size = Vector2(512, 256)
layout_mode = 2
@@ -165,3 +174,55 @@ text = "Window 2"
visible = false
layout_mode = 2
text = "Window 3"
[node name="UXTabService" type="HBoxContainer" parent="Scroll/HBoxContainer/VBoxContainer3" node_paths=PackedStringArray("tabs")]
layout_mode = 2
script = ExtResource("3_7cg45")
tabs = [null, null, null, null]
[node name="VBoxContainer" type="VBoxContainer" parent="Scroll/HBoxContainer/VBoxContainer3/UXTabService"]
layout_mode = 2
[node name="Button" type="Button" parent="Scroll/HBoxContainer/VBoxContainer3/UXTabService/VBoxContainer"]
layout_mode = 2
theme_type_variation = &"SideTab"
text = "0"
[node name="Button2" type="Button" parent="Scroll/HBoxContainer/VBoxContainer3/UXTabService/VBoxContainer"]
layout_mode = 2
theme_type_variation = &"SideTab"
text = "1"
[node name="Button3" type="Button" parent="Scroll/HBoxContainer/VBoxContainer3/UXTabService/VBoxContainer"]
layout_mode = 2
theme_type_variation = &"SideTab"
text = "2"
[node name="Button4" type="Button" parent="Scroll/HBoxContainer/VBoxContainer3/UXTabService/VBoxContainer"]
layout_mode = 2
theme_type_variation = &"SideTab"
text = "3"
[node name="TabContainer" type="TabContainer" parent="Scroll/HBoxContainer/VBoxContainer3/UXTabService"]
layout_mode = 2
size_flags_horizontal = 3
tabs_visible = false
[node name="新的Label" type="Label" parent="Scroll/HBoxContainer/VBoxContainer3/UXTabService/TabContainer"]
layout_mode = 2
text = "View 0"
[node name="Label2" type="Label" parent="Scroll/HBoxContainer/VBoxContainer3/UXTabService/TabContainer"]
visible = false
layout_mode = 2
text = "View 1"
[node name="Label3" type="Label" parent="Scroll/HBoxContainer/VBoxContainer3/UXTabService/TabContainer"]
visible = false
layout_mode = 2
text = "View 2"
[node name="Label4" type="Label" parent="Scroll/HBoxContainer/VBoxContainer3/UXTabService/TabContainer"]
visible = false
layout_mode = 2
text = "View 3"

File diff suppressed because one or more lines are too long