mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-02-13 09:13:07 +00:00
add icon
This commit is contained in:
parent
f882fd2375
commit
a672bbccff
BIN
assets/graphics/misc/share_config_off.png
Normal file
BIN
assets/graphics/misc/share_config_off.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 194 B |
34
assets/graphics/misc/share_config_off.png.import
Normal file
34
assets/graphics/misc/share_config_off.png.import
Normal 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
|
BIN
assets/graphics/misc/share_config_on.png
Normal file
BIN
assets/graphics/misc/share_config_on.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 195 B |
34
assets/graphics/misc/share_config_on.png.import
Normal file
34
assets/graphics/misc/share_config_on.png.import
Normal 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
|
|
@ -120,7 +120,7 @@ func _on_share_config_toggled(toggled_on: bool) -> void:
|
|||
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 file_name := "share_config_on.png"
|
||||
#if not toggled_on:
|
||||
#file_name = "share_config_off.png"
|
||||
#Global.change_button_texturerect(texture_button, file_name)
|
||||
var file_name := "share_config_on.png"
|
||||
if not toggled_on:
|
||||
file_name = "share_config_off.png"
|
||||
Global.change_button_texturerect(texture_button, file_name)
|
||||
|
|
|
@ -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://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="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="Texture2D" uid="uid://ce4xwgq2ewig8" path="res://assets/graphics/misc/share_config_off.png" id="8_7jpan"]
|
||||
|
||||
[sub_resource type="InputEventAction" id="InputEventAction_4k08w"]
|
||||
action = &"horizontal_mirror"
|
||||
|
@ -240,7 +241,7 @@ texture = ExtResource("6")
|
|||
[node name="ShareConfig" type="Button" parent="ScrollContainer/CenterContainer/GridContainer"]
|
||||
custom_minimum_size = Vector2(32, 32)
|
||||
layout_mode = 2
|
||||
tooltip_text = "Lock alpha"
|
||||
tooltip_text = "Share config between tools."
|
||||
mouse_default_cursor_shape = 2
|
||||
toggle_mode = true
|
||||
shortcut = SubResource("Shortcut_vcyug")
|
||||
|
@ -255,6 +256,7 @@ offset_left = -11.0
|
|||
offset_top = -10.0
|
||||
offset_right = 11.0
|
||||
offset_bottom = 10.0
|
||||
texture = ExtResource("8_7jpan")
|
||||
|
||||
[node name="DynamicsPanel" type="PopupPanel" parent="."]
|
||||
canvas_item_default_texture_filter = 0
|
||||
|
|
Loading…
Reference in a new issue