1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-02-13 17:23:08 +00:00
This commit is contained in:
Variable 2024-10-14 20:47:13 +05:00
parent f882fd2375
commit a672bbccff
6 changed files with 76 additions and 6 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ce4xwgq2ewig8"
path="res://.godot/imported/share_config_off.png-c0be93b81740c9bf1e8080491cc2ab97.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/graphics/misc/share_config_off.png"
dest_files=["res://.godot/imported/share_config_off.png-c0be93b81740c9bf1e8080491cc2ab97.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: 195 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ctqpf1rtxr8p2"
path="res://.godot/imported/share_config_on.png-4896bc6065b2e26d04ed13bcdb11770c.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/graphics/misc/share_config_on.png"
dest_files=["res://.godot/imported/share_config_on.png-4896bc6065b2e26d04ed13bcdb11770c.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

@ -120,7 +120,7 @@ func _on_share_config_toggled(toggled_on: bool) -> void:
Tools.share_config = toggled_on Tools.share_config = toggled_on
Global.config_cache.set_value("tools", "share_config", toggled_on) Global.config_cache.set_value("tools", "share_config", toggled_on)
var texture_button: TextureRect = share_config.get_node("TextureRect") var texture_button: TextureRect = share_config.get_node("TextureRect")
#var file_name := "share_config_on.png" var file_name := "share_config_on.png"
#if not toggled_on: if not toggled_on:
#file_name = "share_config_off.png" file_name = "share_config_off.png"
#Global.change_button_texturerect(texture_button, file_name) Global.change_button_texturerect(texture_button, file_name)

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=25 format=3 uid="uid://wo0hqxkst808"] [gd_scene load_steps=26 format=3 uid="uid://wo0hqxkst808"]
[ext_resource type="Texture2D" uid="uid://cjrokejjsp5dm" path="res://assets/graphics/misc/horizontal_mirror_off.png" id="1"] [ext_resource type="Texture2D" uid="uid://cjrokejjsp5dm" path="res://assets/graphics/misc/horizontal_mirror_off.png" id="1"]
[ext_resource type="Texture2D" uid="uid://hiduvaa73fr6" path="res://assets/graphics/misc/vertical_mirror_off.png" id="2"] [ext_resource type="Texture2D" uid="uid://hiduvaa73fr6" path="res://assets/graphics/misc/vertical_mirror_off.png" id="2"]
@ -11,6 +11,7 @@
[ext_resource type="Texture2D" uid="uid://di8au2u87jgv5" path="res://assets/graphics/misc/uncheck.png" id="7"] [ext_resource type="Texture2D" uid="uid://di8au2u87jgv5" path="res://assets/graphics/misc/uncheck.png" id="7"]
[ext_resource type="Script" path="res://src/UI/GlobalToolOptions/DynamicsPanel.gd" id="7_iqcw1"] [ext_resource type="Script" path="res://src/UI/GlobalToolOptions/DynamicsPanel.gd" id="7_iqcw1"]
[ext_resource type="PackedScene" uid="uid://bmsc0s03pwji4" path="res://src/UI/Nodes/MaxMinEdit.tscn" id="8"] [ext_resource type="PackedScene" uid="uid://bmsc0s03pwji4" path="res://src/UI/Nodes/MaxMinEdit.tscn" id="8"]
[ext_resource type="Texture2D" uid="uid://ce4xwgq2ewig8" path="res://assets/graphics/misc/share_config_off.png" id="8_7jpan"]
[sub_resource type="InputEventAction" id="InputEventAction_4k08w"] [sub_resource type="InputEventAction" id="InputEventAction_4k08w"]
action = &"horizontal_mirror" action = &"horizontal_mirror"
@ -240,7 +241,7 @@ texture = ExtResource("6")
[node name="ShareConfig" type="Button" parent="ScrollContainer/CenterContainer/GridContainer"] [node name="ShareConfig" type="Button" parent="ScrollContainer/CenterContainer/GridContainer"]
custom_minimum_size = Vector2(32, 32) custom_minimum_size = Vector2(32, 32)
layout_mode = 2 layout_mode = 2
tooltip_text = "Lock alpha" tooltip_text = "Share config between tools."
mouse_default_cursor_shape = 2 mouse_default_cursor_shape = 2
toggle_mode = true toggle_mode = true
shortcut = SubResource("Shortcut_vcyug") shortcut = SubResource("Shortcut_vcyug")
@ -255,6 +256,7 @@ offset_left = -11.0
offset_top = -10.0 offset_top = -10.0
offset_right = 11.0 offset_right = 11.0
offset_bottom = 10.0 offset_bottom = 10.0
texture = ExtResource("8_7jpan")
[node name="DynamicsPanel" type="PopupPanel" parent="."] [node name="DynamicsPanel" type="PopupPanel" parent="."]
canvas_item_default_texture_filter = 0 canvas_item_default_texture_filter = 0