Skip to content

Commit

Permalink
1.2 RC1
Browse files Browse the repository at this point in the history
  • Loading branch information
Sirosky committed Feb 24, 2024
1 parent 4b8e825 commit 43473d4
Show file tree
Hide file tree
Showing 12 changed files with 505 additions and 40 deletions.
295 changes: 295 additions & 0 deletions Mai1677.tmp
Original file line number Diff line number Diff line change
@@ -0,0 +1,295 @@
[gd_scene load_steps=17 format=3 uid="uid://1rxr1ouddgbt"]

[ext_resource type="Script" path="res://Main.gd" id="1_kmuaj"]
[ext_resource type="Texture2D" uid="uid://c0xwld3gdkpos" path="res://assets/icon_drop.png" id="3_cqwdm"]
[ext_resource type="Theme" uid="uid://duthmaywmgemh" path="res://assets/Main.tres" id="3_vdeiu"]
[ext_resource type="Texture2D" uid="uid://cyax4i0sgj5e0" path="res://assets/icon_reset.png" id="4_0py1c"]
[ext_resource type="Script" path="res://UtilityBar.gd" id="4_an5dr"]
[ext_resource type="Script" path="res://Camera2D.gd" id="4_dqgki"]
[ext_resource type="Texture2D" uid="uid://0wdohl1e8st8" path="res://assets/icon_image_reset.png" id="5_fgbhl"]
[ext_resource type="Texture2D" uid="uid://d4ifpormas2as" path="res://assets/icon_focus.png" id="6_hkw8q"]
[ext_resource type="Texture2D" uid="uid://d3occe1uqlf8e" path="res://assets/icon_lock.png" id="7_tvrej"]
[ext_resource type="Texture2D" uid="uid://cm4ri8xxrdlpj" path="res://assets/icon_help.png" id="8_gh5p6"]
[ext_resource type="Texture2D" uid="uid://0m8kqu4lc50a" path="res://assets/icon_lock_bulk.png" id="8_whbnr"]
[ext_resource type="Script" path="res://InfoBar.gd" id="9_leqtl"]
[ext_resource type="Texture2D" uid="uid://ccwpn54jj8as6" path="res://assets/logo.png" id="10_4d0et"]
[ext_resource type="Script" path="res://PanelHelp.gd" id="11_0tg4f"]
[ext_resource type="FontFile" uid="uid://c4sdsntgoqvby" path="res://assets/Poppins-SemiBold.ttf" id="11_3ttfp"]
[ext_resource type="Script" path="res://Notifier.gd" id="16_fqhvv"]

[node name="Main" type="Node"]
script = ExtResource("1_kmuaj")

[node name="ViewBottom" type="SubViewportContainer" parent="."]
unique_name_in_owner = true
offset_left = 51.0
offset_top = 3.0
offset_right = 923.0
offset_bottom = 566.0
stretch = true

[node name="PortBottom" type="SubViewport" parent="ViewBottom"]
unique_name_in_owner = true
handle_input_locally = false
msaa_2d = 2
size = Vector2i(872, 563)
render_target_update_mode = 4

[node name="ImageBottom" type="TextureRect" parent="ViewBottom/PortBottom"]
size_flags_horizontal = 3
size_flags_vertical = 3
expand_mode = 3
stretch_mode = 4

[node name="ViewTop" type="SubViewportContainer" parent="."]
unique_name_in_owner = true
offset_left = 50.0
offset_top = 3.0
offset_right = 1116.0
offset_bottom = 639.0
stretch = true

[node name="PortTop" type="SubViewport" parent="ViewTop"]
unique_name_in_owner = true
handle_input_locally = false
snap_2d_transforms_to_pixel = true
snap_2d_vertices_to_pixel = true
msaa_2d = 3
screen_space_aa = 1
use_taa = true
size = Vector2i(1066, 636)
render_target_update_mode = 4

[node name="ImageTop" type="TextureRect" parent="ViewTop/PortTop"]
size_flags_horizontal = 3
size_flags_vertical = 3
expand_mode = 3
stretch_mode = 4

[node name="VSeparator" type="VSeparator" parent="."]
unique_name_in_owner = true
visible = false
custom_minimum_size = Vector2(4, 64)
offset_right = 4.0
offset_bottom = 408.0
mouse_filter = 1

[node name="Camera2D" type="Camera2D" parent="."]
unique_name_in_owner = true
position_smoothing_enabled = true
position_smoothing_speed = 15.0
drag_horizontal_enabled = true
drag_vertical_enabled = true
script = ExtResource("4_dqgki")
camera_speed = 1000

[node name="HUD" type="CanvasLayer" parent="."]
unique_name_in_owner = true

[node name="Tip" type="VBoxContainer" parent="HUD"]
unique_name_in_owner = true
modulate = Color(1, 1, 1, 0.588235)
offset_left = 673.0
offset_top = 251.0
offset_right = 1293.0
offset_bottom = 699.0

[node name="IconDrop" type="TextureRect" parent="HUD/Tip"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
texture = ExtResource("3_cqwdm")
stretch_mode = 2

[node name="LabelTip" type="Label" parent="HUD/Tip"]
layout_mode = 2
theme = ExtResource("3_vdeiu")
theme_override_colors/font_color = Color(0.0588235, 0.619608, 0.87451, 0.588235)
theme_override_font_sizes/font_size = 64
text = "Drag in two images
to get started."
horizontal_alignment = 1
vertical_alignment = 1

[node name="TopBar" type="HBoxContainer" parent="HUD"]
unique_name_in_owner = true
offset_left = 24.0
offset_top = 24.0
offset_right = 1896.0
offset_bottom = 80.0

[node name="MenuButtonL" type="MenuButton" parent="HUD/TopBar"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("3_vdeiu")
text = "Select left image"
alignment = 0
clip_text = true

[node name="MenuButtonR" type="MenuButton" parent="HUD/TopBar"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("3_vdeiu")
text = "Select right image"
alignment = 2
clip_text = true

[node name="UtilityBar" type="HBoxContainer" parent="HUD"]
unique_name_in_owner = true
offset_left = 8.0
offset_top = 980.0
offset_right = 330.0
offset_bottom = 1074.0
script = ExtResource("4_an5dr")

[node name="ButImageReset" type="Button" parent="HUD/UtilityBar"]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 4
tooltip_text = "Reset comparison."
theme = ExtResource("3_vdeiu")
icon = ExtResource("5_fgbhl")

[node name="ButLock" type="MenuButton" parent="HUD/UtilityBar"]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 4
tooltip_text = "Toggles image locks. Locks prevent an image from being removed unless with a hard reset."
theme = ExtResource("3_vdeiu")
toggle_mode = false
icon = ExtResource("7_tvrej")
flat = false

[node name="ButUnlockBulk" type="Button" parent="HUD/UtilityBar"]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 4
tooltip_text = "Bulk toggle image locks."
theme = ExtResource("3_vdeiu")
icon = ExtResource("8_whbnr")

[node name="ButCenter" type="Button" parent="HUD/UtilityBar"]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 4
tooltip_text = "Center camera."
theme = ExtResource("3_vdeiu")
icon = ExtResource("6_hkw8q")

[node name="ButZoomReset" type="Button" parent="HUD/UtilityBar"]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 4
tooltip_text = "Reset zoom."
theme = ExtResource("3_vdeiu")
icon = ExtResource("4_0py1c")

[node name="LabelZoom" type="Label" parent="HUD/UtilityBar"]
unique_name_in_owner = true
layout_mode = 2
theme = ExtResource("3_vdeiu")
theme_override_colors/font_color = Color(0.0588235, 0.619608, 0.87451, 1)
theme_override_font_sizes/font_size = 64
text = "%"

[node name="InfoBar" type="HBoxContainer" parent="HUD"]
unique_name_in_owner = true
offset_left = 1848.0
offset_top = 1013.0
offset_right = 1904.0
offset_bottom = 1069.0
alignment = 2
script = ExtResource("9_leqtl")

[node name="ButHelp" type="Button" parent="HUD/InfoBar"]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 4
tooltip_text = "Reset comparison."
theme = ExtResource("3_vdeiu")
icon = ExtResource("8_gh5p6")

[node name="PanelHelp" type="PanelContainer" parent="HUD"]
unique_name_in_owner = true
visible = false
custom_minimum_size = Vector2(800, 621)
offset_right = 800.0
offset_bottom = 621.0
theme = ExtResource("3_vdeiu")
script = ExtResource("11_0tg4f")

[node name="VBoxContainer" type="VBoxContainer" parent="HUD/PanelHelp"]
layout_mode = 2
size_flags_vertical = 0

[node name="TextureRect" type="TextureRect" parent="HUD/PanelHelp/VBoxContainer"]
layout_mode = 2
texture = ExtResource("10_4d0et")
stretch_mode = 5

[node name="LabelHeader" type="Label" parent="HUD/PanelHelp/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 1
theme_override_colors/font_color = Color(0.0588235, 0.619608, 0.87451, 1)
theme_override_font_sizes/font_size = 48
text = "Simple Image Compare!"
horizontal_alignment = 1

[node name="LabelInfo" type="RichTextLabel" parent="HUD/PanelHelp/VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
theme_override_colors/default_color = Color(0.0588235, 0.619608, 0.87451, 1)
theme_override_font_sizes/bold_italics_font_size = 16
theme_override_font_sizes/italics_font_size = 16
theme_override_font_sizes/mono_font_size = 16
theme_override_font_sizes/normal_font_size = 16
theme_override_font_sizes/bold_font_size = 16
bbcode_enabled = true
text = "Easy image comparisons. A completely free and open source application. Visit the [url=www.github.com/Sirosky/Simple-Image-Compare]Github[/url] for more information.

Material Symbols used under [url=www.apache.org/licenses/LICENSE-2.0]Apache License 2.0[/url]."
fit_content = true

[node name="HSeparator" type="HSeparator" parent="HUD/PanelHelp/VBoxContainer"]
layout_mode = 2

[node name="LabelControls" type="RichTextLabel" parent="HUD/PanelHelp/VBoxContainer"]
layout_mode = 2
theme_override_colors/default_color = Color(0.0588235, 0.619608, 0.87451, 1)
theme_override_fonts/bold_font = ExtResource("11_3ttfp")
bbcode_enabled = true
text = "[b]LMB[/b] drag over image: Activate slider comparison mode and drag the slider.
[b]Q/E[/b] or [b]Scroll[/b]: Activate full image comparison and cycle through the images.
[b]WASD[/b], [b]arrow keys[/b], or [b]RMB[/b] drag: Pan the camera.
[b]Control + Scroll[/b]: Zoom.
[b]Control + R[/b]: Reset the comparison.
[b]Control + Shift + R[/b]: Hard reset of the comparison, clearing any locked images.
[b] L[/b]: Toggles locks an image. Locked images will only be removed by a hard reset using Ctrl+Shift+R.
[b]Control + L[/b]: Toggles locks on all images.
[b]C[/b]: Center the camera.
[b]R[/b] or [b]Z[/b]: Reset zoom.
[b]H[/b]: Display help."
fit_content = true

[node name="ButExit" type="Button" parent="HUD/PanelHelp/VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
theme = ExtResource("3_vdeiu")
theme_override_colors/font_color = Color(0.0588235, 0.619608, 0.87451, 1)
text = "Got it."

[node name="Notifier" type="Label" parent="HUD"]
unique_name_in_owner = true
offset_left = 673.0
offset_top = 845.0
offset_right = 1293.0
offset_bottom = 1030.0
theme = ExtResource("3_vdeiu")
theme_override_colors/font_color = Color(0.0588235, 0.619608, 0.87451, 1)
theme_override_font_sizes/font_size = 24
text = "Welcome to Simple Image Compare!"
horizontal_alignment = 1
vertical_alignment = 1
script = ExtResource("16_fqhvv")
Loading

0 comments on commit 43473d4

Please sign in to comment.