mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-19 01:29:49 +00:00
Merge pull request #5 from Orama-Interactive/master
Changed default cursor shape for the rulers, because they were in the wrong direction
This commit is contained in:
commit
95f6f29b9c
309
Main.tscn
309
Main.tscn
|
@ -47,11 +47,11 @@
|
|||
[sub_resource type="StyleBoxFlat" id=1]
|
||||
bg_color = Color( 0.223529, 0.223529, 0.243137, 1 )
|
||||
|
||||
[sub_resource type="InputEventKey" id=18]
|
||||
[sub_resource type="InputEventKey" id=2]
|
||||
scancode = 88
|
||||
|
||||
[sub_resource type="ShortCut" id=19]
|
||||
shortcut = SubResource( 18 )
|
||||
[sub_resource type="ShortCut" id=3]
|
||||
shortcut = SubResource( 2 )
|
||||
|
||||
[sub_resource type="Image" id=20]
|
||||
data = {
|
||||
|
@ -62,7 +62,7 @@ data = {
|
|||
"width": 32
|
||||
}
|
||||
|
||||
[sub_resource type="ImageTexture" id=3]
|
||||
[sub_resource type="ImageTexture" id=5]
|
||||
image = SubResource( 20 )
|
||||
size = Vector2( 32, 32 )
|
||||
|
||||
|
@ -75,42 +75,34 @@ data = {
|
|||
"width": 32
|
||||
}
|
||||
|
||||
[sub_resource type="ImageTexture" id=5]
|
||||
[sub_resource type="ImageTexture" id=7]
|
||||
image = SubResource( 21 )
|
||||
size = Vector2( 32, 32 )
|
||||
|
||||
[sub_resource type="InputEventKey" id=6]
|
||||
control = true
|
||||
command = true
|
||||
scancode = 16777229
|
||||
|
||||
[sub_resource type="ShortCut" id=7]
|
||||
shortcut = SubResource( 6 )
|
||||
|
||||
[sub_resource type="InputEventKey" id=8]
|
||||
control = true
|
||||
command = true
|
||||
scancode = 16777231
|
||||
scancode = 16777229
|
||||
|
||||
[sub_resource type="ShortCut" id=9]
|
||||
shortcut = SubResource( 8 )
|
||||
|
||||
[sub_resource type="InputEventKey" id=10]
|
||||
scancode = 16777247
|
||||
control = true
|
||||
command = true
|
||||
scancode = 16777231
|
||||
|
||||
[sub_resource type="ShortCut" id=11]
|
||||
shortcut = SubResource( 10 )
|
||||
|
||||
[sub_resource type="InputEventKey" id=12]
|
||||
scancode = 16777248
|
||||
scancode = 16777247
|
||||
|
||||
[sub_resource type="ShortCut" id=13]
|
||||
shortcut = SubResource( 12 )
|
||||
|
||||
[sub_resource type="InputEventKey" id=14]
|
||||
control = true
|
||||
command = true
|
||||
scancode = 16777233
|
||||
scancode = 16777248
|
||||
|
||||
[sub_resource type="ShortCut" id=15]
|
||||
shortcut = SubResource( 14 )
|
||||
|
@ -118,11 +110,19 @@ shortcut = SubResource( 14 )
|
|||
[sub_resource type="InputEventKey" id=16]
|
||||
control = true
|
||||
command = true
|
||||
scancode = 16777230
|
||||
scancode = 16777233
|
||||
|
||||
[sub_resource type="ShortCut" id=17]
|
||||
shortcut = SubResource( 16 )
|
||||
|
||||
[sub_resource type="InputEventKey" id=18]
|
||||
control = true
|
||||
command = true
|
||||
scancode = 16777230
|
||||
|
||||
[sub_resource type="ShortCut" id=19]
|
||||
shortcut = SubResource( 18 )
|
||||
|
||||
[node name="Control" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
@ -153,7 +153,7 @@ margin_right = 1010.0
|
|||
|
||||
[node name="FileMenu" type="MenuButton" parent="MenuAndUI/MenuContainer/MenuItems"]
|
||||
margin_right = 31.0
|
||||
margin_bottom = 21.0
|
||||
margin_bottom = 23.0
|
||||
mouse_default_cursor_shape = 2
|
||||
text = "File"
|
||||
switch_on_hover = true
|
||||
|
@ -161,7 +161,7 @@ switch_on_hover = true
|
|||
[node name="EditMenu" type="MenuButton" parent="MenuAndUI/MenuContainer/MenuItems"]
|
||||
margin_left = 35.0
|
||||
margin_right = 68.0
|
||||
margin_bottom = 21.0
|
||||
margin_bottom = 23.0
|
||||
mouse_default_cursor_shape = 2
|
||||
text = "Edit"
|
||||
switch_on_hover = true
|
||||
|
@ -169,7 +169,7 @@ switch_on_hover = true
|
|||
[node name="ViewMenu" type="MenuButton" parent="MenuAndUI/MenuContainer/MenuItems"]
|
||||
margin_left = 72.0
|
||||
margin_right = 110.0
|
||||
margin_bottom = 21.0
|
||||
margin_bottom = 23.0
|
||||
mouse_default_cursor_shape = 2
|
||||
text = "View"
|
||||
switch_on_hover = true
|
||||
|
@ -177,7 +177,7 @@ switch_on_hover = true
|
|||
[node name="HelpMenu" type="MenuButton" parent="MenuAndUI/MenuContainer/MenuItems"]
|
||||
margin_left = 114.0
|
||||
margin_right = 151.0
|
||||
margin_bottom = 21.0
|
||||
margin_bottom = 23.0
|
||||
mouse_default_cursor_shape = 2
|
||||
text = "Help"
|
||||
switch_on_hover = true
|
||||
|
@ -216,7 +216,6 @@ size_flags_vertical = 3
|
|||
custom_constants/separation = 0
|
||||
|
||||
[node name="ToolPanel" type="Panel" parent="MenuAndUI/UI"]
|
||||
editor/display_folded = true
|
||||
margin_right = 224.0
|
||||
margin_bottom = 620.0
|
||||
rect_min_size = Vector2( 224, 0 )
|
||||
|
@ -233,7 +232,6 @@ size_flags_vertical = 3
|
|||
custom_constants/separation = 32
|
||||
|
||||
[node name="MenusAndTools" type="VBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools"]
|
||||
editor/display_folded = true
|
||||
margin_right = 208.0
|
||||
margin_bottom = 127.0
|
||||
custom_constants/separation = 17
|
||||
|
@ -281,7 +279,6 @@ button_mask = 3
|
|||
texture_normal = ExtResource( 4 )
|
||||
|
||||
[node name="DrawTools" type="VBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/MenusAndTools"]
|
||||
editor/display_folded = true
|
||||
margin_top = 72.0
|
||||
margin_right = 208.0
|
||||
margin_bottom = 127.0
|
||||
|
@ -303,7 +300,6 @@ margin_right = 208.0
|
|||
margin_bottom = 19.0
|
||||
|
||||
[node name="PaintToolsContainer" type="HBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/MenusAndTools/DrawTools"]
|
||||
editor/display_folded = true
|
||||
margin_top = 23.0
|
||||
margin_right = 208.0
|
||||
margin_bottom = 55.0
|
||||
|
@ -344,7 +340,6 @@ button_mask = 3
|
|||
texture_normal = ExtResource( 8 )
|
||||
|
||||
[node name="ColorAndToolOptions" type="VBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools"]
|
||||
editor/display_folded = true
|
||||
margin_top = 159.0
|
||||
margin_right = 208.0
|
||||
margin_bottom = 612.0
|
||||
|
@ -353,9 +348,9 @@ custom_constants/separation = 8
|
|||
alignment = 1
|
||||
|
||||
[node name="ColorPickersCenter" type="CenterContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions"]
|
||||
margin_top = 35.0
|
||||
margin_top = 59.0
|
||||
margin_right = 208.0
|
||||
margin_bottom = 67.0
|
||||
margin_bottom = 91.0
|
||||
|
||||
[node name="ColorPickersHorizontal" type="HBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ColorPickersCenter"]
|
||||
margin_left = 27.0
|
||||
|
@ -388,7 +383,7 @@ margin_bottom = 7.0
|
|||
hint_tooltip = "COLORSWITCH_HT"
|
||||
mouse_default_cursor_shape = 2
|
||||
shortcut_in_tooltip = false
|
||||
shortcut = SubResource( 19 )
|
||||
shortcut = SubResource( 3 )
|
||||
texture_normal = ExtResource( 9 )
|
||||
|
||||
[node name="ColorDefaults" type="TextureButton" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ColorPickersCenter/ColorPickersHorizontal/ColorButtonsCenter/ColorButtonsVertical"]
|
||||
|
@ -412,13 +407,12 @@ flat = true
|
|||
color = Color( 1, 1, 1, 1 )
|
||||
|
||||
[node name="HSeparator" type="HSeparator" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions"]
|
||||
margin_top = 75.0
|
||||
margin_top = 99.0
|
||||
margin_right = 208.0
|
||||
margin_bottom = 79.0
|
||||
margin_bottom = 103.0
|
||||
|
||||
[node name="LeftToolOptions" type="VBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions"]
|
||||
editor/display_folded = true
|
||||
margin_top = 87.0
|
||||
margin_top = 111.0
|
||||
margin_right = 208.0
|
||||
margin_bottom = 242.0
|
||||
|
||||
|
@ -431,7 +425,7 @@ align = 1
|
|||
[node name="LeftIndicatorCheckbox" type="CheckBox" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions"]
|
||||
margin_top = 19.0
|
||||
margin_right = 208.0
|
||||
margin_bottom = 43.0
|
||||
margin_bottom = 35.0
|
||||
hint_tooltip = "LEFT_INDIC_HT"
|
||||
mouse_default_cursor_shape = 2
|
||||
pressed = true
|
||||
|
@ -439,9 +433,9 @@ text = "Left pixel indicator"
|
|||
|
||||
[node name="LeftBrushType" type="HBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions"]
|
||||
editor/display_folded = true
|
||||
margin_top = 47.0
|
||||
margin_top = 39.0
|
||||
margin_right = 208.0
|
||||
margin_bottom = 79.0
|
||||
margin_bottom = 71.0
|
||||
|
||||
[node name="LeftBrushTypeButton" type="TextureButton" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions/LeftBrushType"]
|
||||
margin_right = 36.0
|
||||
|
@ -455,7 +449,7 @@ texture_normal = ExtResource( 11 )
|
|||
[node name="BrushTexture" type="TextureRect" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions/LeftBrushType/LeftBrushTypeButton"]
|
||||
margin_right = 32.0
|
||||
margin_bottom = 32.0
|
||||
texture = SubResource( 3 )
|
||||
texture = SubResource( 5 )
|
||||
expand = true
|
||||
stretch_mode = 6
|
||||
|
||||
|
@ -468,20 +462,20 @@ text = "Brush: Pixel"
|
|||
|
||||
[node name="LeftBrushSize" type="HBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions"]
|
||||
editor/display_folded = true
|
||||
margin_top = 83.0
|
||||
margin_top = 75.0
|
||||
margin_right = 208.0
|
||||
margin_bottom = 108.0
|
||||
margin_bottom = 92.0
|
||||
|
||||
[node name="BrushSizeLabel" type="Label" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions/LeftBrushSize"]
|
||||
margin_top = 5.0
|
||||
margin_top = 1.0
|
||||
margin_right = 58.0
|
||||
margin_bottom = 20.0
|
||||
margin_bottom = 16.0
|
||||
text = "Brush size:"
|
||||
|
||||
[node name="LeftBrushSizeEdit" type="SpinBox" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions/LeftBrushSize"]
|
||||
margin_left = 62.0
|
||||
margin_right = 124.0
|
||||
margin_bottom = 25.0
|
||||
margin_right = 126.0
|
||||
margin_bottom = 17.0
|
||||
mouse_default_cursor_shape = 2
|
||||
min_value = 1.0
|
||||
value = 1.0
|
||||
|
@ -566,9 +560,9 @@ step = 0.01
|
|||
value = 0.1
|
||||
|
||||
[node name="LeftMirroring" type="VBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions"]
|
||||
margin_top = 112.0
|
||||
margin_top = 96.0
|
||||
margin_right = 208.0
|
||||
margin_bottom = 155.0
|
||||
margin_bottom = 131.0
|
||||
|
||||
[node name="Label" type="Label" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions/LeftMirroring"]
|
||||
margin_right = 208.0
|
||||
|
@ -578,19 +572,19 @@ text = "Mirroring"
|
|||
[node name="LeftMirrorButtons" type="HBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions/LeftMirroring"]
|
||||
margin_top = 19.0
|
||||
margin_right = 208.0
|
||||
margin_bottom = 43.0
|
||||
margin_bottom = 35.0
|
||||
|
||||
[node name="LeftHorizontalMirroring" type="CheckBox" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions/LeftMirroring/LeftMirrorButtons"]
|
||||
margin_right = 85.0
|
||||
margin_bottom = 24.0
|
||||
margin_right = 77.0
|
||||
margin_bottom = 16.0
|
||||
hint_tooltip = "HORIZMIRROR_HT"
|
||||
mouse_default_cursor_shape = 2
|
||||
text = "Horizontal"
|
||||
|
||||
[node name="LeftVerticalMirroring" type="CheckBox" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions/LeftMirroring/LeftMirrorButtons"]
|
||||
margin_left = 89.0
|
||||
margin_right = 158.0
|
||||
margin_bottom = 24.0
|
||||
margin_left = 81.0
|
||||
margin_right = 142.0
|
||||
margin_bottom = 16.0
|
||||
hint_tooltip = "VERTMIRROR_HT"
|
||||
mouse_default_cursor_shape = 2
|
||||
text = "Vertical"
|
||||
|
@ -604,7 +598,7 @@ margin_bottom = 254.0
|
|||
editor/display_folded = true
|
||||
margin_top = 262.0
|
||||
margin_right = 208.0
|
||||
margin_bottom = 417.0
|
||||
margin_bottom = 393.0
|
||||
|
||||
[node name="RightLabel" type="Label" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions"]
|
||||
margin_right = 208.0
|
||||
|
@ -615,16 +609,16 @@ align = 1
|
|||
[node name="RightIndicatorCheckbox" type="CheckBox" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions"]
|
||||
margin_top = 19.0
|
||||
margin_right = 208.0
|
||||
margin_bottom = 43.0
|
||||
margin_bottom = 35.0
|
||||
hint_tooltip = "RIGHT_INDIC_HT"
|
||||
mouse_default_cursor_shape = 2
|
||||
text = "Right pixel indicator"
|
||||
|
||||
[node name="RightBrushType" type="HBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions"]
|
||||
editor/display_folded = true
|
||||
margin_top = 47.0
|
||||
margin_top = 39.0
|
||||
margin_right = 208.0
|
||||
margin_bottom = 79.0
|
||||
margin_bottom = 71.0
|
||||
|
||||
[node name="RightBrushTypeButton" type="TextureButton" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions/RightBrushType"]
|
||||
margin_right = 36.0
|
||||
|
@ -638,7 +632,7 @@ texture_normal = ExtResource( 11 )
|
|||
[node name="BrushTexture" type="TextureRect" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions/RightBrushType/RightBrushTypeButton"]
|
||||
margin_right = 32.0
|
||||
margin_bottom = 32.0
|
||||
texture = SubResource( 5 )
|
||||
texture = SubResource( 7 )
|
||||
expand = true
|
||||
stretch_mode = 6
|
||||
|
||||
|
@ -651,20 +645,20 @@ text = "Brush: Pixel"
|
|||
|
||||
[node name="RightBrushSize" type="HBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions"]
|
||||
editor/display_folded = true
|
||||
margin_top = 83.0
|
||||
margin_top = 75.0
|
||||
margin_right = 208.0
|
||||
margin_bottom = 108.0
|
||||
margin_bottom = 92.0
|
||||
|
||||
[node name="BrushSizeLabel" type="Label" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions/RightBrushSize"]
|
||||
margin_top = 5.0
|
||||
margin_top = 1.0
|
||||
margin_right = 58.0
|
||||
margin_bottom = 20.0
|
||||
margin_bottom = 16.0
|
||||
text = "Brush size:"
|
||||
|
||||
[node name="RightBrushSizeEdit" type="SpinBox" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions/RightBrushSize"]
|
||||
margin_left = 62.0
|
||||
margin_right = 124.0
|
||||
margin_bottom = 25.0
|
||||
margin_right = 126.0
|
||||
margin_bottom = 17.0
|
||||
mouse_default_cursor_shape = 2
|
||||
min_value = 1.0
|
||||
value = 1.0
|
||||
|
@ -750,9 +744,9 @@ value = 0.1
|
|||
|
||||
[node name="RightMirroring" type="VBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions"]
|
||||
editor/display_folded = true
|
||||
margin_top = 112.0
|
||||
margin_top = 96.0
|
||||
margin_right = 208.0
|
||||
margin_bottom = 155.0
|
||||
margin_bottom = 131.0
|
||||
|
||||
[node name="Label" type="Label" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions/RightMirroring"]
|
||||
margin_right = 208.0
|
||||
|
@ -762,25 +756,24 @@ text = "Mirroring"
|
|||
[node name="RightMirrorButtons" type="HBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions/RightMirroring"]
|
||||
margin_top = 19.0
|
||||
margin_right = 208.0
|
||||
margin_bottom = 43.0
|
||||
margin_bottom = 35.0
|
||||
|
||||
[node name="RightHorizontalMirroring" type="CheckBox" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions/RightMirroring/RightMirrorButtons"]
|
||||
margin_right = 85.0
|
||||
margin_bottom = 24.0
|
||||
margin_right = 77.0
|
||||
margin_bottom = 16.0
|
||||
hint_tooltip = "HORIZMIRROR_HT"
|
||||
mouse_default_cursor_shape = 2
|
||||
text = "Horizontal"
|
||||
|
||||
[node name="RightVerticalMirroring" type="CheckBox" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions/RightMirroring/RightMirrorButtons"]
|
||||
margin_left = 89.0
|
||||
margin_right = 158.0
|
||||
margin_bottom = 24.0
|
||||
margin_left = 81.0
|
||||
margin_right = 142.0
|
||||
margin_bottom = 16.0
|
||||
hint_tooltip = "VERTMIRROR_HT"
|
||||
mouse_default_cursor_shape = 2
|
||||
text = "Vertical"
|
||||
|
||||
[node name="CanvasAndTimeline" type="VBoxContainer" parent="MenuAndUI/UI"]
|
||||
editor/display_folded = true
|
||||
margin_left = 224.0
|
||||
margin_right = 928.0
|
||||
margin_bottom = 620.0
|
||||
|
@ -788,7 +781,6 @@ size_flags_horizontal = 3
|
|||
custom_constants/separation = 0
|
||||
|
||||
[node name="HViewportContainer" type="HBoxContainer" parent="MenuAndUI/UI/CanvasAndTimeline"]
|
||||
editor/display_folded = true
|
||||
margin_right = 704.0
|
||||
margin_bottom = 478.0
|
||||
size_flags_horizontal = 3
|
||||
|
@ -806,7 +798,7 @@ margin_right = 704.0
|
|||
margin_bottom = 16.0
|
||||
rect_min_size = Vector2( 0, 16 )
|
||||
focus_mode = 0
|
||||
mouse_default_cursor_shape = 15
|
||||
mouse_default_cursor_shape = 14
|
||||
custom_styles/hover = ExtResource( 12 )
|
||||
custom_styles/pressed = ExtResource( 12 )
|
||||
custom_styles/focus = ExtResource( 12 )
|
||||
|
@ -827,7 +819,7 @@ margin_right = 16.0
|
|||
margin_bottom = 462.0
|
||||
rect_min_size = Vector2( 16, 0 )
|
||||
focus_mode = 0
|
||||
mouse_default_cursor_shape = 14
|
||||
mouse_default_cursor_shape = 15
|
||||
size_flags_horizontal = 0
|
||||
size_flags_vertical = 3
|
||||
custom_styles/hover = ExtResource( 12 )
|
||||
|
@ -896,7 +888,6 @@ zoom = Vector2( 0.15, 0.15 )
|
|||
script = ExtResource( 16 )
|
||||
|
||||
[node name="AnimationTimeline" type="Panel" parent="MenuAndUI/UI/CanvasAndTimeline"]
|
||||
editor/display_folded = true
|
||||
margin_top = 478.0
|
||||
margin_right = 704.0
|
||||
margin_bottom = 620.0
|
||||
|
@ -917,102 +908,102 @@ margin_left = 15.0
|
|||
margin_top = 4.0
|
||||
|
||||
[node name="TimelineContainer" type="VBoxContainer" parent="MenuAndUI/UI/CanvasAndTimeline/AnimationTimeline/AnimationContainer"]
|
||||
margin_right = 562.0
|
||||
margin_bottom = 139.0
|
||||
margin_right = 570.0
|
||||
margin_bottom = 138.0
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="AnimationButtons" type="HBoxContainer" parent="MenuAndUI/UI/CanvasAndTimeline/AnimationTimeline/AnimationContainer/TimelineContainer"]
|
||||
margin_right = 562.0
|
||||
margin_bottom = 25.0
|
||||
margin_right = 570.0
|
||||
margin_bottom = 24.0
|
||||
rect_min_size = Vector2( 0, 24 )
|
||||
|
||||
[node name="CurrentFrame" type="Label" parent="MenuAndUI/UI/CanvasAndTimeline/AnimationTimeline/AnimationContainer/TimelineContainer/AnimationButtons"]
|
||||
margin_top = 5.0
|
||||
margin_right = 234.0
|
||||
margin_bottom = 20.0
|
||||
margin_top = 4.0
|
||||
margin_right = 237.0
|
||||
margin_bottom = 19.0
|
||||
size_flags_horizontal = 3
|
||||
text = "Current frame: 1/1"
|
||||
|
||||
[node name="PlaybackButtons" type="HBoxContainer" parent="MenuAndUI/UI/CanvasAndTimeline/AnimationTimeline/AnimationContainer/TimelineContainer/AnimationButtons"]
|
||||
editor/display_folded = true
|
||||
margin_left = 238.0
|
||||
margin_right = 378.0
|
||||
margin_bottom = 25.0
|
||||
margin_left = 241.0
|
||||
margin_right = 381.0
|
||||
margin_bottom = 24.0
|
||||
size_flags_horizontal = 2
|
||||
|
||||
[node name="FirstFrame" type="TextureButton" parent="MenuAndUI/UI/CanvasAndTimeline/AnimationTimeline/AnimationContainer/TimelineContainer/AnimationButtons/PlaybackButtons"]
|
||||
margin_right = 20.0
|
||||
margin_bottom = 25.0
|
||||
margin_bottom = 24.0
|
||||
hint_tooltip = "FIRSTFRAME_HT"
|
||||
mouse_default_cursor_shape = 2
|
||||
shortcut_in_tooltip = false
|
||||
shortcut = SubResource( 7 )
|
||||
shortcut = SubResource( 9 )
|
||||
texture_normal = ExtResource( 19 )
|
||||
|
||||
[node name="PreviousFrame" type="TextureButton" parent="MenuAndUI/UI/CanvasAndTimeline/AnimationTimeline/AnimationContainer/TimelineContainer/AnimationButtons/PlaybackButtons"]
|
||||
margin_left = 24.0
|
||||
margin_right = 44.0
|
||||
margin_bottom = 25.0
|
||||
margin_bottom = 24.0
|
||||
hint_tooltip = "PREVIOUSFRAME_HT"
|
||||
mouse_default_cursor_shape = 2
|
||||
shortcut_in_tooltip = false
|
||||
shortcut = SubResource( 9 )
|
||||
shortcut = SubResource( 11 )
|
||||
texture_normal = ExtResource( 20 )
|
||||
|
||||
[node name="PlayBackwards" type="TextureButton" parent="MenuAndUI/UI/CanvasAndTimeline/AnimationTimeline/AnimationContainer/TimelineContainer/AnimationButtons/PlaybackButtons"]
|
||||
margin_left = 48.0
|
||||
margin_right = 68.0
|
||||
margin_bottom = 25.0
|
||||
margin_bottom = 24.0
|
||||
hint_tooltip = "PLAYBACKWARDS_HT"
|
||||
mouse_default_cursor_shape = 2
|
||||
toggle_mode = true
|
||||
shortcut_in_tooltip = false
|
||||
shortcut = SubResource( 11 )
|
||||
shortcut = SubResource( 13 )
|
||||
texture_normal = ExtResource( 21 )
|
||||
texture_pressed = ExtResource( 22 )
|
||||
|
||||
[node name="PlayForward" type="TextureButton" parent="MenuAndUI/UI/CanvasAndTimeline/AnimationTimeline/AnimationContainer/TimelineContainer/AnimationButtons/PlaybackButtons"]
|
||||
margin_left = 72.0
|
||||
margin_right = 92.0
|
||||
margin_bottom = 25.0
|
||||
margin_bottom = 24.0
|
||||
hint_tooltip = "PLAYFORWARD_HT"
|
||||
mouse_default_cursor_shape = 2
|
||||
size_flags_horizontal = 0
|
||||
toggle_mode = true
|
||||
shortcut_in_tooltip = false
|
||||
shortcut = SubResource( 13 )
|
||||
shortcut = SubResource( 15 )
|
||||
texture_normal = ExtResource( 23 )
|
||||
texture_pressed = ExtResource( 22 )
|
||||
|
||||
[node name="NextFrame" type="TextureButton" parent="MenuAndUI/UI/CanvasAndTimeline/AnimationTimeline/AnimationContainer/TimelineContainer/AnimationButtons/PlaybackButtons"]
|
||||
margin_left = 96.0
|
||||
margin_right = 116.0
|
||||
margin_bottom = 25.0
|
||||
margin_bottom = 24.0
|
||||
hint_tooltip = "NEXTFRAME_HT"
|
||||
mouse_default_cursor_shape = 2
|
||||
shortcut_in_tooltip = false
|
||||
shortcut = SubResource( 15 )
|
||||
shortcut = SubResource( 17 )
|
||||
texture_normal = ExtResource( 24 )
|
||||
|
||||
[node name="LastFrame" type="TextureButton" parent="MenuAndUI/UI/CanvasAndTimeline/AnimationTimeline/AnimationContainer/TimelineContainer/AnimationButtons/PlaybackButtons"]
|
||||
margin_left = 120.0
|
||||
margin_right = 140.0
|
||||
margin_bottom = 25.0
|
||||
margin_bottom = 24.0
|
||||
hint_tooltip = "LASTFRAME_HT"
|
||||
mouse_default_cursor_shape = 2
|
||||
shortcut_in_tooltip = false
|
||||
shortcut = SubResource( 17 )
|
||||
shortcut = SubResource( 19 )
|
||||
texture_normal = ExtResource( 25 )
|
||||
|
||||
[node name="LoopButtons" type="HBoxContainer" parent="MenuAndUI/UI/CanvasAndTimeline/AnimationTimeline/AnimationContainer/TimelineContainer/AnimationButtons"]
|
||||
margin_left = 476.0
|
||||
margin_right = 562.0
|
||||
margin_bottom = 25.0
|
||||
margin_left = 482.0
|
||||
margin_right = 570.0
|
||||
margin_bottom = 24.0
|
||||
size_flags_horizontal = 0
|
||||
|
||||
[node name="FPSValue" type="SpinBox" parent="MenuAndUI/UI/CanvasAndTimeline/AnimationTimeline/AnimationContainer/TimelineContainer/AnimationButtons/LoopButtons"]
|
||||
margin_right = 62.0
|
||||
margin_bottom = 25.0
|
||||
margin_right = 64.0
|
||||
margin_bottom = 24.0
|
||||
hint_tooltip = "FPS_HT"
|
||||
mouse_default_cursor_shape = 2
|
||||
min_value = 0.1
|
||||
|
@ -1021,35 +1012,35 @@ value = 6.0
|
|||
suffix = "FPS"
|
||||
|
||||
[node name="LoopAnim" type="TextureButton" parent="MenuAndUI/UI/CanvasAndTimeline/AnimationTimeline/AnimationContainer/TimelineContainer/AnimationButtons/LoopButtons"]
|
||||
margin_left = 66.0
|
||||
margin_right = 86.0
|
||||
margin_bottom = 25.0
|
||||
margin_left = 68.0
|
||||
margin_right = 88.0
|
||||
margin_bottom = 24.0
|
||||
hint_tooltip = "No loop"
|
||||
mouse_default_cursor_shape = 2
|
||||
texture_normal = ExtResource( 26 )
|
||||
|
||||
[node name="HSeparator" type="HSeparator" parent="MenuAndUI/UI/CanvasAndTimeline/AnimationTimeline/AnimationContainer/TimelineContainer"]
|
||||
margin_top = 29.0
|
||||
margin_right = 562.0
|
||||
margin_bottom = 33.0
|
||||
margin_top = 28.0
|
||||
margin_right = 570.0
|
||||
margin_bottom = 32.0
|
||||
|
||||
[node name="TimelineSeconds" type="Control" parent="MenuAndUI/UI/CanvasAndTimeline/AnimationTimeline/AnimationContainer/TimelineContainer"]
|
||||
margin_top = 37.0
|
||||
margin_right = 562.0
|
||||
margin_bottom = 53.0
|
||||
margin_top = 36.0
|
||||
margin_right = 570.0
|
||||
margin_bottom = 52.0
|
||||
rect_min_size = Vector2( 0, 16 )
|
||||
script = ExtResource( 27 )
|
||||
|
||||
[node name="HSeparator2" type="HSeparator" parent="MenuAndUI/UI/CanvasAndTimeline/AnimationTimeline/AnimationContainer/TimelineContainer"]
|
||||
margin_top = 57.0
|
||||
margin_right = 562.0
|
||||
margin_bottom = 61.0
|
||||
margin_top = 56.0
|
||||
margin_right = 570.0
|
||||
margin_bottom = 60.0
|
||||
|
||||
[node name="FrameAndButtonContainer" type="HBoxContainer" parent="MenuAndUI/UI/CanvasAndTimeline/AnimationTimeline/AnimationContainer/TimelineContainer"]
|
||||
editor/display_folded = true
|
||||
margin_top = 65.0
|
||||
margin_right = 562.0
|
||||
margin_bottom = 101.0
|
||||
margin_top = 64.0
|
||||
margin_right = 570.0
|
||||
margin_bottom = 100.0
|
||||
|
||||
[node name="AddFrame" type="TextureButton" parent="MenuAndUI/UI/CanvasAndTimeline/AnimationTimeline/AnimationContainer/TimelineContainer/FrameAndButtonContainer"]
|
||||
margin_right = 36.0
|
||||
|
@ -1061,7 +1052,7 @@ texture_normal = ExtResource( 28 )
|
|||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="MenuAndUI/UI/CanvasAndTimeline/AnimationTimeline/AnimationContainer/TimelineContainer/FrameAndButtonContainer"]
|
||||
margin_left = 40.0
|
||||
margin_right = 562.0
|
||||
margin_right = 570.0
|
||||
margin_bottom = 36.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
|
@ -1070,56 +1061,56 @@ scroll_vertical_enabled = false
|
|||
[node name="FrameContainer" type="HBoxContainer" parent="MenuAndUI/UI/CanvasAndTimeline/AnimationTimeline/AnimationContainer/TimelineContainer/FrameAndButtonContainer/ScrollContainer"]
|
||||
|
||||
[node name="VSeparator" type="VSeparator" parent="MenuAndUI/UI/CanvasAndTimeline/AnimationTimeline/AnimationContainer"]
|
||||
margin_left = 566.0
|
||||
margin_right = 570.0
|
||||
margin_bottom = 139.0
|
||||
margin_left = 574.0
|
||||
margin_right = 578.0
|
||||
margin_bottom = 138.0
|
||||
|
||||
[node name="OnionSkinningButtons" type="VBoxContainer" parent="MenuAndUI/UI/CanvasAndTimeline/AnimationTimeline/AnimationContainer"]
|
||||
editor/display_folded = true
|
||||
margin_left = 574.0
|
||||
margin_left = 582.0
|
||||
margin_right = 681.0
|
||||
margin_bottom = 139.0
|
||||
margin_bottom = 138.0
|
||||
|
||||
[node name="OnionSkinning" type="Label" parent="MenuAndUI/UI/CanvasAndTimeline/AnimationTimeline/AnimationContainer/OnionSkinningButtons"]
|
||||
margin_right = 107.0
|
||||
margin_right = 99.0
|
||||
margin_bottom = 15.0
|
||||
text = "Onion Skinning:"
|
||||
|
||||
[node name="OnionSkinningPast" type="Label" parent="MenuAndUI/UI/CanvasAndTimeline/AnimationTimeline/AnimationContainer/OnionSkinningButtons"]
|
||||
margin_top = 19.0
|
||||
margin_right = 107.0
|
||||
margin_right = 99.0
|
||||
margin_bottom = 34.0
|
||||
text = "Past Frames"
|
||||
|
||||
[node name="PastOnionSkinning" type="SpinBox" parent="MenuAndUI/UI/CanvasAndTimeline/AnimationTimeline/AnimationContainer/OnionSkinningButtons"]
|
||||
margin_top = 38.0
|
||||
margin_right = 107.0
|
||||
margin_bottom = 63.0
|
||||
margin_right = 99.0
|
||||
margin_bottom = 55.0
|
||||
mouse_default_cursor_shape = 2
|
||||
|
||||
[node name="OnionSkinningFuture" type="Label" parent="MenuAndUI/UI/CanvasAndTimeline/AnimationTimeline/AnimationContainer/OnionSkinningButtons"]
|
||||
margin_top = 67.0
|
||||
margin_right = 107.0
|
||||
margin_bottom = 82.0
|
||||
margin_top = 59.0
|
||||
margin_right = 99.0
|
||||
margin_bottom = 74.0
|
||||
text = "Future Frames"
|
||||
|
||||
[node name="FutureOnionSkinning" type="SpinBox" parent="MenuAndUI/UI/CanvasAndTimeline/AnimationTimeline/AnimationContainer/OnionSkinningButtons"]
|
||||
margin_top = 86.0
|
||||
margin_right = 107.0
|
||||
margin_bottom = 111.0
|
||||
margin_top = 78.0
|
||||
margin_right = 99.0
|
||||
margin_bottom = 95.0
|
||||
mouse_default_cursor_shape = 2
|
||||
|
||||
[node name="BlueRedMode" type="CheckBox" parent="MenuAndUI/UI/CanvasAndTimeline/AnimationTimeline/AnimationContainer/OnionSkinningButtons"]
|
||||
margin_top = 115.0
|
||||
margin_right = 107.0
|
||||
margin_bottom = 139.0
|
||||
margin_top = 99.0
|
||||
margin_right = 99.0
|
||||
margin_bottom = 115.0
|
||||
mouse_default_cursor_shape = 2
|
||||
text = "Blue-Red Mode"
|
||||
|
||||
[node name="VSeparator2" type="VSeparator" parent="MenuAndUI/UI/CanvasAndTimeline/AnimationTimeline/AnimationContainer"]
|
||||
margin_left = 685.0
|
||||
margin_right = 689.0
|
||||
margin_bottom = 139.0
|
||||
margin_bottom = 138.0
|
||||
|
||||
[node name="LayerPanel" type="Panel" parent="MenuAndUI/UI"]
|
||||
margin_left = 928.0
|
||||
|
@ -1171,7 +1162,6 @@ margin_right = 224.0
|
|||
margin_bottom = 199.0
|
||||
|
||||
[node name="LayerVBoxContainer" type="VBoxContainer" parent="MenuAndUI/UI/LayerPanel/LayersAndMisc"]
|
||||
editor/display_folded = true
|
||||
margin_top = 203.0
|
||||
margin_right = 224.0
|
||||
margin_bottom = 384.0
|
||||
|
@ -1243,7 +1233,6 @@ texture_normal = ExtResource( 37 )
|
|||
texture_disabled = ExtResource( 38 )
|
||||
|
||||
[node name="ScrollLayers" type="ScrollContainer" parent="MenuAndUI/UI/LayerPanel/LayersAndMisc/LayerVBoxContainer"]
|
||||
editor/display_folded = true
|
||||
margin_top = 38.0
|
||||
margin_right = 224.0
|
||||
margin_bottom = 181.0
|
||||
|
@ -1334,10 +1323,10 @@ drag_to_rearrange_enabled = true
|
|||
[node name="File" type="ScrollContainer" parent="BrushesPopup/TabContainer"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
margin_left = 4.0
|
||||
margin_top = 33.0
|
||||
margin_right = -4.0
|
||||
margin_bottom = -4.0
|
||||
margin_left = 5.0
|
||||
margin_top = 39.0
|
||||
margin_right = -5.0
|
||||
margin_bottom = -5.0
|
||||
rect_min_size = Vector2( 0, 36 )
|
||||
size_flags_horizontal = 3
|
||||
scroll_horizontal_enabled = false
|
||||
|
@ -1353,7 +1342,7 @@ visible = false
|
|||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
margin_left = 4.0
|
||||
margin_top = 33.0
|
||||
margin_top = 32.0
|
||||
margin_right = -4.0
|
||||
margin_bottom = -4.0
|
||||
rect_min_size = Vector2( 0, 36 )
|
||||
|
@ -1386,7 +1375,7 @@ margin_bottom = 70.0
|
|||
margin_left = 8.0
|
||||
margin_top = 8.0
|
||||
margin_right = 192.0
|
||||
margin_bottom = 33.0
|
||||
margin_bottom = 34.0
|
||||
|
||||
[node name="ImageSize" type="Label" parent="CreateNewImage/VBoxContainer"]
|
||||
margin_right = 184.0
|
||||
|
@ -1452,8 +1441,8 @@ resizable = true
|
|||
mode = 0
|
||||
access = 2
|
||||
filters = PoolStringArray( "*.pxo ; Pixelorama Project" )
|
||||
current_dir = "C:/Users/Overloaded/Dropbox/Orama Founding Members/εταιρικα αρχεια/Godot Projects/Pixelorama"
|
||||
current_path = "C:/Users/Overloaded/Dropbox/Orama Founding Members/εταιρικα αρχεια/Godot Projects/Pixelorama/"
|
||||
current_dir = "C:/Users/User/Desktop/Pixelorama themes"
|
||||
current_path = "C:/Users/User/Desktop/Pixelorama themes/"
|
||||
|
||||
[node name="SaveSprite" type="FileDialog" parent="."]
|
||||
anchor_left = 0.5
|
||||
|
@ -1468,8 +1457,8 @@ window_title = "Save Sprite as .pxo"
|
|||
resizable = true
|
||||
access = 2
|
||||
filters = PoolStringArray( "*.pxo ; Pixelorama Project" )
|
||||
current_dir = "C:/Users/Overloaded/Dropbox/Orama Founding Members/εταιρικα αρχεια/Godot Projects/Pixelorama"
|
||||
current_path = "C:/Users/Overloaded/Dropbox/Orama Founding Members/εταιρικα αρχεια/Godot Projects/Pixelorama/"
|
||||
current_dir = "C:/Users/User/Desktop/Pixelorama themes"
|
||||
current_path = "C:/Users/User/Desktop/Pixelorama themes/"
|
||||
|
||||
[node name="ImportSprites" type="FileDialog" parent="."]
|
||||
margin_right = 515.0
|
||||
|
@ -1479,8 +1468,8 @@ resizable = true
|
|||
mode = 1
|
||||
access = 2
|
||||
filters = PoolStringArray( "*.bmp ; BMP Image", "*.hdr ; Radiance HDR Image", "*.jpg,*.jpeg ; JPEG Image", "*.png ; PNG Image", "*.svg ; SVG Image", "*.tga ; TGA Image", "*.webp ; WebP Image" )
|
||||
current_dir = "C:/Users/Overloaded/Dropbox/Orama Founding Members/εταιρικα αρχεια/Godot Projects/Pixelorama"
|
||||
current_path = "C:/Users/Overloaded/Dropbox/Orama Founding Members/εταιρικα αρχεια/Godot Projects/Pixelorama/"
|
||||
current_dir = "C:/Users/User/Desktop/Pixelorama themes"
|
||||
current_path = "C:/Users/User/Desktop/Pixelorama themes/"
|
||||
|
||||
[node name="ExportSprites" type="FileDialog" parent="."]
|
||||
anchor_left = 0.5
|
||||
|
@ -1495,8 +1484,8 @@ window_title = "Export Sprite"
|
|||
resizable = true
|
||||
access = 2
|
||||
filters = PoolStringArray( "*.png ; PNG Image" )
|
||||
current_dir = "C:/Users/Overloaded/Dropbox/Orama Founding Members/εταιρικα αρχεια/Godot Projects/Pixelorama"
|
||||
current_path = "C:/Users/Overloaded/Dropbox/Orama Founding Members/εταιρικα αρχεια/Godot Projects/Pixelorama/"
|
||||
current_dir = "C:/Users/User/Desktop/Pixelorama themes"
|
||||
current_path = "C:/Users/User/Desktop/Pixelorama themes/"
|
||||
|
||||
[node name="ScaleImage" type="ConfirmationDialog" parent="."]
|
||||
editor/display_folded = true
|
||||
|
@ -1507,7 +1496,7 @@ margin_bottom = 114.0
|
|||
margin_left = 8.0
|
||||
margin_top = 8.0
|
||||
margin_right = 192.0
|
||||
margin_bottom = 77.0
|
||||
margin_bottom = 78.0
|
||||
|
||||
[node name="ImageSize" type="Label" parent="ScaleImage/VBoxContainer"]
|
||||
margin_right = 184.0
|
||||
|
@ -1580,7 +1569,7 @@ anchor_right = 0.5
|
|||
margin_left = -92.0
|
||||
margin_top = 8.0
|
||||
margin_right = 92.0
|
||||
margin_bottom = 33.0
|
||||
margin_bottom = 34.0
|
||||
|
||||
[node name="OptionsContainer" type="GridContainer" parent="PreferencesDialog/VBoxContainer"]
|
||||
margin_right = 184.0
|
||||
|
@ -1668,7 +1657,7 @@ script = ExtResource( 43 )
|
|||
margin_left = 8.0
|
||||
margin_top = 8.0
|
||||
margin_right = 276.0
|
||||
margin_bottom = 149.0
|
||||
margin_bottom = 150.0
|
||||
|
||||
[node name="Pixelorama" type="Label" parent="AboutDialog/AboutUI"]
|
||||
margin_right = 268.0
|
||||
|
@ -1694,7 +1683,7 @@ margin_bottom = 95.0
|
|||
editor/display_folded = true
|
||||
margin_left = 37.0
|
||||
margin_right = 231.0
|
||||
margin_bottom = 21.0
|
||||
margin_bottom = 23.0
|
||||
|
||||
[node name="Website" type="Button" parent="AboutDialog/AboutUI/Links/LinkButtons"]
|
||||
margin_right = 55.0
|
||||
|
|
|
@ -1,27 +1,7 @@
|
|||
[gd_scene load_steps=5 format=2]
|
||||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://Scripts/FrameButton.gd" type="Script" id=1]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=1]
|
||||
bg_color = Color( 0.337255, 0.32549, 0.388235, 1 )
|
||||
corner_radius_top_left = 2
|
||||
corner_radius_top_right = 2
|
||||
corner_radius_bottom_right = 2
|
||||
corner_radius_bottom_left = 2
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=2]
|
||||
bg_color = Color( 0.211765, 0.2, 0.247059, 1 )
|
||||
corner_radius_top_left = 2
|
||||
corner_radius_top_right = 2
|
||||
corner_radius_bottom_right = 2
|
||||
corner_radius_bottom_left = 2
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=3]
|
||||
bg_color = Color( 0.270588, 0.258824, 0.305882, 1 )
|
||||
corner_radius_top_left = 2
|
||||
corner_radius_top_right = 2
|
||||
corner_radius_bottom_right = 2
|
||||
corner_radius_bottom_left = 2
|
||||
[ext_resource path="res://Themes & Styles/Main Theme.tres" type="Theme" id=1]
|
||||
[ext_resource path="res://Scripts/FrameButton.gd" type="Script" id=2]
|
||||
|
||||
[node name="Frame" type="VBoxContainer"]
|
||||
margin_right = 32.0
|
||||
|
@ -34,12 +14,10 @@ rect_min_size = Vector2( 36, 36 )
|
|||
mouse_default_cursor_shape = 2
|
||||
size_flags_horizontal = 0
|
||||
size_flags_vertical = 0
|
||||
custom_styles/hover = SubResource( 1 )
|
||||
custom_styles/pressed = SubResource( 2 )
|
||||
custom_styles/normal = SubResource( 3 )
|
||||
theme = ExtResource( 1 )
|
||||
toggle_mode = true
|
||||
button_mask = 3
|
||||
script = ExtResource( 1 )
|
||||
script = ExtResource( 2 )
|
||||
|
||||
[node name="FrameTexture" type="TextureRect" parent="FrameButton"]
|
||||
margin_left = 2.0
|
||||
|
|
|
@ -1,26 +1,16 @@
|
|||
[gd_scene load_steps=6 format=2]
|
||||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://Scripts/LayerContainer.gd" type="Script" id=1]
|
||||
[ext_resource path="res://Assets/Graphics/Layers/layer_visible.png" type="Texture" id=2]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=1]
|
||||
bg_color = Color( 0.337255, 0.32549, 0.388235, 1 )
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=2]
|
||||
bg_color = Color( 0.211765, 0.2, 0.247059, 1 )
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=3]
|
||||
bg_color = Color( 0.270588, 0.258824, 0.305882, 1 )
|
||||
[ext_resource path="res://Themes & Styles/Main Theme.tres" type="Theme" id=1]
|
||||
[ext_resource path="res://Scripts/LayerContainer.gd" type="Script" id=2]
|
||||
[ext_resource path="res://Assets/Graphics/Layers/layer_visible.png" type="Texture" id=3]
|
||||
|
||||
[node name="LayerContainer" type="Button"]
|
||||
margin_right = 160.0
|
||||
margin_bottom = 42.0
|
||||
rect_min_size = Vector2( 160, 42 )
|
||||
custom_styles/hover = SubResource( 1 )
|
||||
custom_styles/pressed = SubResource( 2 )
|
||||
custom_styles/normal = SubResource( 3 )
|
||||
theme = ExtResource( 1 )
|
||||
toggle_mode = true
|
||||
script = ExtResource( 1 )
|
||||
script = ExtResource( 2 )
|
||||
__meta__ = {
|
||||
"_edit_horizontal_guides_": [ ]
|
||||
}
|
||||
|
@ -34,7 +24,7 @@ hint_tooltip = "LAYERVISIBILITY_HT"
|
|||
mouse_default_cursor_shape = 2
|
||||
size_flags_horizontal = 0
|
||||
size_flags_vertical = 4
|
||||
texture_normal = ExtResource( 2 )
|
||||
texture_normal = ExtResource( 3 )
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
||||
anchor_left = 0.5
|
||||
|
@ -57,8 +47,8 @@ stretch_mode = 6
|
|||
|
||||
[node name="Label" type="Label" parent="HBoxContainer"]
|
||||
margin_left = 36.0
|
||||
margin_top = 9.0
|
||||
margin_right = 82.0
|
||||
margin_top = 8.0
|
||||
margin_right = 75.0
|
||||
margin_bottom = 23.0
|
||||
text = "Layer 0"
|
||||
align = 1
|
||||
|
|
|
@ -14,9 +14,9 @@ func _process(delta : float) -> void:
|
|||
update()
|
||||
var mouse_pos := get_local_mouse_position()
|
||||
if mouse_pos.x < RULER_WIDTH: #For double guides
|
||||
mouse_default_cursor_shape = Control.CURSOR_BDIAGSIZE
|
||||
mouse_default_cursor_shape = Control.CURSOR_FDIAGSIZE
|
||||
else:
|
||||
mouse_default_cursor_shape = Control.CURSOR_HSPLIT
|
||||
mouse_default_cursor_shape = Control.CURSOR_VSPLIT
|
||||
|
||||
#Code taken and modified from Godot's source code
|
||||
func _draw() -> void:
|
||||
|
|
|
@ -1,8 +1,170 @@
|
|||
[gd_resource type="Theme" load_steps=2 format=2]
|
||||
[gd_resource type="Theme" load_steps=14 format=2]
|
||||
|
||||
[ext_resource path="res://Assets/Fonts/Roboto-Regular.tres" type="DynamicFont" id=1]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=1]
|
||||
bg_color = Color( 0.517647, 0.517647, 0.517647, 1 )
|
||||
border_width_left = 6
|
||||
border_width_top = 4
|
||||
border_width_right = 6
|
||||
border_width_bottom = 4
|
||||
border_color = Color( 0.517647, 0.517647, 0.517647, 1 )
|
||||
corner_radius_top_left = 4
|
||||
corner_radius_top_right = 4
|
||||
corner_radius_bottom_right = 4
|
||||
corner_radius_bottom_left = 4
|
||||
anti_aliasing = false
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=2]
|
||||
bg_color = Color( 0.321569, 0.321569, 0.321569, 1 )
|
||||
border_width_left = 6
|
||||
border_width_top = 4
|
||||
border_width_right = 6
|
||||
border_width_bottom = 4
|
||||
border_color = Color( 0.321569, 0.321569, 0.321569, 1 )
|
||||
corner_radius_top_left = 4
|
||||
corner_radius_top_right = 4
|
||||
corner_radius_bottom_right = 4
|
||||
corner_radius_bottom_left = 4
|
||||
anti_aliasing = false
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=3]
|
||||
bg_color = Color( 0.2, 0.2, 0.2, 1 )
|
||||
border_width_left = 6
|
||||
border_width_top = 4
|
||||
border_width_right = 6
|
||||
border_width_bottom = 4
|
||||
border_color = Color( 0.2, 0.2, 0.2, 1 )
|
||||
corner_radius_top_left = 4
|
||||
corner_radius_top_right = 4
|
||||
corner_radius_bottom_right = 4
|
||||
corner_radius_bottom_left = 4
|
||||
anti_aliasing = false
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=4]
|
||||
bg_color = Color( 0.6, 0.6, 0.6, 0 )
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=5]
|
||||
bg_color = Color( 0.6, 0.6, 0.6, 0 )
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=6]
|
||||
bg_color = Color( 0.6, 0.6, 0.6, 0 )
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=7]
|
||||
bg_color = Color( 0.6, 0.6, 0.6, 0 )
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=12]
|
||||
bg_color = Color( 0.321569, 0.321569, 0.321569, 1 )
|
||||
border_width_left = 8
|
||||
border_width_top = 1
|
||||
border_width_right = 4
|
||||
border_width_bottom = 1
|
||||
border_color = Color( 0.321569, 0.321569, 0.321569, 1 )
|
||||
corner_radius_top_left = 4
|
||||
corner_radius_top_right = 4
|
||||
corner_radius_bottom_right = 4
|
||||
corner_radius_bottom_left = 4
|
||||
anti_aliasing = false
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=8]
|
||||
bg_color = Color( 0.321569, 0.321569, 0.321569, 1 )
|
||||
border_width_left = 5
|
||||
border_width_top = 10
|
||||
border_width_right = 5
|
||||
border_width_bottom = 5
|
||||
border_color = Color( 0.321569, 0.321569, 0.321569, 1 )
|
||||
corner_radius_top_left = 4
|
||||
corner_radius_top_right = 4
|
||||
corner_radius_bottom_right = 4
|
||||
corner_radius_bottom_left = 4
|
||||
anti_aliasing = false
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=9]
|
||||
bg_color = Color( 0.2, 0.2, 0.2, 1 )
|
||||
border_width_left = 10
|
||||
border_width_top = 6
|
||||
border_width_right = 10
|
||||
border_width_bottom = 8
|
||||
border_color = Color( 0.2, 0.2, 0.2, 1 )
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=10]
|
||||
bg_color = Color( 0.145098, 0.145098, 0.164706, 1 )
|
||||
border_width_left = 10
|
||||
border_width_top = 6
|
||||
border_width_right = 10
|
||||
border_width_bottom = 8
|
||||
border_color = Color( 0.145098, 0.145098, 0.164706, 1 )
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=11]
|
||||
bg_color = Color( 0.321569, 0.321569, 0.321569, 1 )
|
||||
border_width_left = 10
|
||||
border_width_top = 6
|
||||
border_width_right = 10
|
||||
border_width_bottom = 8
|
||||
border_color = Color( 0.321569, 0.321569, 0.321569, 1 )
|
||||
|
||||
[resource]
|
||||
default_font = ExtResource( 1 )
|
||||
Button/colors/font_color = Color( 0.878431, 0.878431, 0.878431, 1 )
|
||||
Button/colors/font_color_disabled = Color( 0.9, 0.9, 0.9, 0.2 )
|
||||
Button/colors/font_color_hover = Color( 0.941176, 0.941176, 0.941176, 1 )
|
||||
Button/colors/font_color_pressed = Color( 1, 1, 1, 1 )
|
||||
Button/constants/hseparation = 2
|
||||
Button/fonts/font = null
|
||||
Button/styles/disabled = null
|
||||
Button/styles/focus = null
|
||||
Button/styles/hover = SubResource( 1 )
|
||||
Button/styles/normal = SubResource( 2 )
|
||||
Button/styles/pressed = SubResource( 3 )
|
||||
CheckBox/colors/font_color = Color( 0.878431, 0.878431, 0.878431, 1 )
|
||||
CheckBox/colors/font_color_disabled = Color( 0.9, 0.9, 0.9, 0.2 )
|
||||
CheckBox/colors/font_color_hover = Color( 0.941176, 0.941176, 0.941176, 1 )
|
||||
CheckBox/colors/font_color_hover_pressed = Color( 1, 1, 1, 1 )
|
||||
CheckBox/colors/font_color_pressed = Color( 1, 1, 1, 1 )
|
||||
CheckBox/constants/check_vadjust = 0
|
||||
CheckBox/constants/hseparation = 4
|
||||
CheckBox/fonts/font = null
|
||||
CheckBox/icons/checked = null
|
||||
CheckBox/icons/radio_checked = null
|
||||
CheckBox/icons/radio_unchecked = null
|
||||
CheckBox/icons/unchecked = null
|
||||
CheckBox/styles/disabled = null
|
||||
CheckBox/styles/focus = null
|
||||
CheckBox/styles/hover = SubResource( 4 )
|
||||
CheckBox/styles/hover_pressed = SubResource( 5 )
|
||||
CheckBox/styles/normal = SubResource( 6 )
|
||||
CheckBox/styles/pressed = SubResource( 7 )
|
||||
GridContainer/constants/hseparation = 0
|
||||
GridContainer/constants/vseparation = 0
|
||||
LineEdit/colors/clear_button_color = Color( 0.878431, 0.878431, 0.878431, 1 )
|
||||
LineEdit/colors/clear_button_color_pressed = Color( 1, 1, 1, 1 )
|
||||
LineEdit/colors/cursor_color = Color( 0.941176, 0.941176, 0.941176, 1 )
|
||||
LineEdit/colors/font_color = Color( 0.878431, 0.878431, 0.878431, 1 )
|
||||
LineEdit/colors/font_color_selected = Color( 0, 0, 0, 1 )
|
||||
LineEdit/colors/selection_color = Color( 0.490196, 0.490196, 0.490196, 1 )
|
||||
LineEdit/constants/minimum_spaces = 12
|
||||
LineEdit/fonts/font = null
|
||||
LineEdit/icons/clear = null
|
||||
LineEdit/styles/focus = null
|
||||
LineEdit/styles/normal = SubResource( 12 )
|
||||
LineEdit/styles/read_only = null
|
||||
TabContainer/colors/font_color_bg = Color( 0.690196, 0.690196, 0.690196, 1 )
|
||||
TabContainer/colors/font_color_disabled = Color( 0.9, 0.9, 0.9, 0.2 )
|
||||
TabContainer/colors/font_color_fg = Color( 0.941176, 0.941176, 0.941176, 1 )
|
||||
TabContainer/constants/hseparation = 4
|
||||
TabContainer/constants/label_valign_bg = 2
|
||||
TabContainer/constants/label_valign_fg = 0
|
||||
TabContainer/constants/side_margin = 8
|
||||
TabContainer/constants/top_margin = 24
|
||||
TabContainer/fonts/font = null
|
||||
TabContainer/icons/decrement = null
|
||||
TabContainer/icons/decrement_highlight = null
|
||||
TabContainer/icons/increment = null
|
||||
TabContainer/icons/increment_highlight = null
|
||||
TabContainer/icons/menu = null
|
||||
TabContainer/icons/menu_highlight = null
|
||||
TabContainer/styles/panel = SubResource( 8 )
|
||||
TabContainer/styles/tab_bg = SubResource( 9 )
|
||||
TabContainer/styles/tab_disabled = SubResource( 10 )
|
||||
TabContainer/styles/tab_fg = SubResource( 11 )
|
||||
VBoxContainer/constants/separation = 4
|
||||
|
|
Loading…
Reference in a new issue