2023-07-05 10:20:08 +08:00
|
|
|
using System.Diagnostics;
|
2023-07-03 02:34:01 +08:00
|
|
|
using Godot;
|
2023-07-08 00:02:32 +08:00
|
|
|
using Godot.Collections;
|
2023-07-03 02:34:01 +08:00
|
|
|
|
|
|
|
namespace BITKit;
|
|
|
|
|
2023-07-17 04:10:14 +08:00
|
|
|
public partial class UXContainer:Control
|
2023-07-03 02:34:01 +08:00
|
|
|
{
|
2023-07-17 04:10:14 +08:00
|
|
|
[ExportCategory(nameof(Label))]
|
2023-07-08 00:02:32 +08:00
|
|
|
[Export] public Array<Label> labels;
|
2023-09-17 02:55:33 +08:00
|
|
|
|
|
|
|
public Label label => labels[0];
|
|
|
|
|
2023-07-17 04:10:14 +08:00
|
|
|
[ExportCategory(nameof(Button))]
|
|
|
|
[Export] public Array<Button> buttons;
|
2023-09-17 02:55:33 +08:00
|
|
|
public Button button => buttons[0];
|
2023-07-17 04:10:14 +08:00
|
|
|
|
|
|
|
[ExportCategory(nameof(TextEdit))]
|
2023-07-08 00:02:32 +08:00
|
|
|
[Export] public Array<LineEdit> lineEdits;
|
2023-07-03 02:34:01 +08:00
|
|
|
|
2023-09-17 02:55:33 +08:00
|
|
|
public LineEdit lineEdit => lineEdits[0];
|
|
|
|
|
2023-07-17 04:10:14 +08:00
|
|
|
[ExportCategory(nameof(OptionButton))]
|
|
|
|
[Export] public Array<OptionButton> optionButtons;
|
2023-09-17 02:55:33 +08:00
|
|
|
public OptionButton optionButton=>optionButtons[0];
|
2023-07-17 04:10:14 +08:00
|
|
|
|
2023-07-03 02:34:01 +08:00
|
|
|
}
|