Добавление файлов

This commit is contained in:
MaD_CaT
2023-01-23 15:40:15 +03:00
parent 6af12956ae
commit 7fb071b6f5
12 changed files with 307 additions and 3 deletions

View File

@@ -1,7 +1,10 @@
[gd_scene load_steps=6 format=2]
[gd_scene load_steps=9 format=2]
[ext_resource path="res://data/DejaVuSansCondensed.ttf" type="DynamicFontData" id=1]
[ext_resource path="res://data/мп550-работа-эскиз.png" type="Texture" id=2]
[ext_resource path="res://main.gd" type="Script" id=3]
[ext_resource path="res://data/УФ.png" type="Texture" id=4]
[ext_resource path="res://Контроль.gd" type="Script" id=5]
[sub_resource type="DynamicFont" id=1]
size = 20
@@ -23,6 +26,7 @@ anchor_bottom = 1.0
rect_pivot_offset = Vector2( 800, 600 )
custom_fonts/font = SubResource( 1 )
tab_align = 0
script = ExtResource( 3 )
__meta__ = {
"_edit_use_anchors_": true
}
@@ -42,10 +46,21 @@ scale = Vector2( 1.00375, 0.973333 )
texture = ExtResource( 2 )
[node name="Контроль" type="Panel" parent="."]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 4.0
margin_top = 42.0
margin_right = -4.0
margin_bottom = -4.0
script = ExtResource( 5 )
[node name="pribor_UF" type="TextureButton" parent="Контроль"]
margin_left = 1048.0
margin_top = 542.0
margin_right = 1100.0
margin_bottom = 658.0
size_flags_horizontal = 15
size_flags_vertical = 15
texture_normal = ExtResource( 4 )
expand = true
stretch_mode = 4

View File

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/Грани22.png-493da837cf4c5e4bcc358b597e0bef6b.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://data/Грани22.png"
dest_files=[ "res://.import/Грани22.png-493da837cf4c5e4bcc358b597e0bef6b.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

View File

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/Изделие МП-550.png-aa08827e688aa0a8c85fe1ebf96c39ec.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://data/Изделие МП-550.png"
dest_files=[ "res://.import/Изделие МП-550.png-aa08827e688aa0a8c85fe1ebf96c39ec.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

35
data/П16.png.import Normal file
View File

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/П16.png-bf31d24368470afda2405017885d019f.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://data/П16.png"
dest_files=[ "res://.import/П16.png-bf31d24368470afda2405017885d019f.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

35
data/ПРД.png.import Normal file
View File

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/ПРД.png-0583ee2ff33bda5b96809f18eb4b6d3c.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://data/ПРД.png"
dest_files=[ "res://.import/ПРД.png-0583ee2ff33bda5b96809f18eb4b6d3c.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

35
data/СПТ.png.import Normal file
View File

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/СПТ.png-8f936ad6e2c2488a3dc88469226a44c7.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://data/СПТ.png"
dest_files=[ "res://.import/СПТ.png-8f936ad6e2c2488a3dc88469226a44c7.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

35
data/УФ.png.import Normal file
View File

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/УФ.png-1921501d9e9f088f15714b06ceba80a7.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://data/УФ.png"
dest_files=[ "res://.import/УФ.png-1921501d9e9f088f15714b06ceba80a7.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

35
data/Щ3.png.import Normal file
View File

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/Щ3.png-0dddb7358beb598783af26f75da91b9a.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://data/Щ3.png"
dest_files=[ "res://.import/Щ3.png-0dddb7358beb598783af26f75da91b9a.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

15
main.gd Normal file
View File

@@ -0,0 +1,15 @@
extends TabContainer
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
func _input(event: InputEvent):
if event is InputEventKey:
if event.pressed and (event.scancode == KEY_F11):
OS.window_fullscreen = !OS.window_fullscreen
# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta):
# pass

10
pribor_UF.tscn Normal file
View File

@@ -0,0 +1,10 @@
[gd_scene format=2]
[node name="pribor_UF" type="Node2D"]
[node name="test_label" type="Label" parent="."]
margin_left = 12.0
margin_top = 8.0
margin_right = 154.0
margin_bottom = 22.0
text = "Тестовый lbl1"

View File

@@ -18,7 +18,6 @@ config/icon="res://data/icon.png"
window/size/width=1600
window/size/height=1200
window/size/fullscreen=true
window/size/test_width=1600
window/size/test_height=1100
window/vsync/use_vsync=false

20
Контроль.gd Normal file
View File

@@ -0,0 +1,20 @@
extends Panel
# Declare member variables here. Examples:
# var a = 2
# var b = "text"
# Called when the node enters the scene tree for the first time.
func _ready():
$pribor_UF.connect('button_up', self, 'on_pribor_press', ['111'])
func on_pribor_press(text: String):
prints(text)
# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta):
# pass