mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 17:19:50 +00:00
Big UI overhaul - added PanelContainers to group similar elements
Removed separators entirely. Also made the AnimationTimeline have a StyleBoxFlat of its own, which we use to expand its margin top to cover the little space left because of the VSplitContainer. We also use a TextureRect as a fake VSplitContainer grabber.
This commit is contained in:
parent
7559756c50
commit
c1602ad26a
|
@ -1,4 +1,4 @@
|
|||
[gd_resource type="Theme" load_steps=40 format=2]
|
||||
[gd_resource type="Theme" load_steps=42 format=2]
|
||||
|
||||
[ext_resource path="res://assets/fonts/Roboto-Regular.tres" type="DynamicFont" id=1]
|
||||
[ext_resource path="res://assets/themes/dark/icons/grabber.png" type="Texture" id=2]
|
||||
|
@ -190,8 +190,27 @@ content_margin_right = 0.0
|
|||
content_margin_top = 2.0
|
||||
content_margin_bottom = 2.0
|
||||
bg_color = Color( 0.0627451, 0.0627451, 0.0627451, 1 )
|
||||
expand_margin_top = 6.0
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=22]
|
||||
content_margin_left = 0.0
|
||||
content_margin_right = 0.0
|
||||
content_margin_top = 2.0
|
||||
content_margin_bottom = 2.0
|
||||
bg_color = Color( 0.0627451, 0.0627451, 0.0627451, 1 )
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=23]
|
||||
content_margin_left = 4.5
|
||||
content_margin_right = 4.5
|
||||
content_margin_top = 3.0
|
||||
content_margin_bottom = 3.0
|
||||
bg_color = Color( 0.168627, 0.168627, 0.168627, 1 )
|
||||
corner_radius_top_left = 5
|
||||
corner_radius_top_right = 5
|
||||
corner_radius_bottom_right = 5
|
||||
corner_radius_bottom_left = 5
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=24]
|
||||
bg_color = Color( 0.2, 0.2, 0.2, 1 )
|
||||
border_width_left = 6
|
||||
border_width_top = 10
|
||||
|
@ -204,10 +223,10 @@ corner_radius_bottom_right = 4
|
|||
corner_radius_bottom_left = 4
|
||||
anti_aliasing = false
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=23]
|
||||
[sub_resource type="StyleBoxFlat" id=25]
|
||||
bg_color = Color( 0.2, 0.2, 0.2, 1 )
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=24]
|
||||
[sub_resource type="StyleBoxFlat" id=26]
|
||||
bg_color = Color( 0.321569, 0.321569, 0.321569, 1 )
|
||||
border_width_left = 5
|
||||
border_width_top = 10
|
||||
|
@ -220,7 +239,7 @@ corner_radius_bottom_right = 4
|
|||
corner_radius_bottom_left = 4
|
||||
anti_aliasing = false
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=25]
|
||||
[sub_resource type="StyleBoxFlat" id=27]
|
||||
bg_color = Color( 0.2, 0.2, 0.2, 1 )
|
||||
border_width_left = 10
|
||||
border_width_top = 6
|
||||
|
@ -228,7 +247,7 @@ border_width_right = 10
|
|||
border_width_bottom = 8
|
||||
border_color = Color( 0.2, 0.2, 0.2, 1 )
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=26]
|
||||
[sub_resource type="StyleBoxFlat" id=28]
|
||||
bg_color = Color( 0.145098, 0.145098, 0.164706, 1 )
|
||||
border_width_left = 10
|
||||
border_width_top = 6
|
||||
|
@ -236,7 +255,7 @@ border_width_right = 10
|
|||
border_width_bottom = 8
|
||||
border_color = Color( 0.145098, 0.145098, 0.164706, 1 )
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=27]
|
||||
[sub_resource type="StyleBoxFlat" id=29]
|
||||
bg_color = Color( 0.321569, 0.321569, 0.321569, 1 )
|
||||
border_width_left = 10
|
||||
border_width_top = 6
|
||||
|
@ -244,7 +263,7 @@ border_width_right = 10
|
|||
border_width_bottom = 8
|
||||
border_color = Color( 0.321569, 0.321569, 0.321569, 1 )
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=28]
|
||||
[sub_resource type="StyleBoxFlat" id=30]
|
||||
bg_color = Color( 0.321569, 0.321569, 0.321569, 1 )
|
||||
border_width_left = 5
|
||||
border_width_top = 10
|
||||
|
@ -253,7 +272,7 @@ border_width_bottom = 5
|
|||
border_color = Color( 0.321569, 0.321569, 0.321569, 1 )
|
||||
anti_aliasing = false
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=29]
|
||||
[sub_resource type="StyleBoxFlat" id=31]
|
||||
bg_color = Color( 0.2, 0.2, 0.2, 1 )
|
||||
border_width_left = 10
|
||||
border_width_top = 6
|
||||
|
@ -261,7 +280,7 @@ border_width_right = 10
|
|||
border_width_bottom = 8
|
||||
border_color = Color( 0.2, 0.2, 0.2, 1 )
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=30]
|
||||
[sub_resource type="StyleBoxFlat" id=32]
|
||||
bg_color = Color( 0.321569, 0.321569, 0.321569, 1 )
|
||||
border_width_left = 4
|
||||
border_width_top = 4
|
||||
|
@ -274,7 +293,7 @@ corner_radius_bottom_right = 4
|
|||
corner_radius_bottom_left = 4
|
||||
anti_aliasing = false
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=31]
|
||||
[sub_resource type="StyleBoxFlat" id=33]
|
||||
bg_color = Color( 0.321569, 0.321569, 0.321569, 1 )
|
||||
border_width_left = 4
|
||||
border_width_top = 4
|
||||
|
@ -286,15 +305,15 @@ corner_radius_top_right = 4
|
|||
corner_radius_bottom_right = 4
|
||||
corner_radius_bottom_left = 4
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=32]
|
||||
[sub_resource type="StyleBoxFlat" id=34]
|
||||
border_width_left = 2
|
||||
border_width_right = 2
|
||||
border_color = Color( 0.321569, 0.321569, 0.321569, 1 )
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=33]
|
||||
[sub_resource type="StyleBoxFlat" id=35]
|
||||
bg_color = Color( 0.133333, 0.133333, 0.133333, 1 )
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=34]
|
||||
[sub_resource type="StyleBoxFlat" id=36]
|
||||
bg_color = Color( 0.0705882, 0.0705882, 0.0705882, 1 )
|
||||
border_width_left = 2
|
||||
border_width_top = 20
|
||||
|
@ -443,9 +462,11 @@ OptionButton/styles/focus = null
|
|||
OptionButton/styles/hover = null
|
||||
OptionButton/styles/normal = null
|
||||
OptionButton/styles/pressed = null
|
||||
Panel/styles/panel = SubResource( 21 )
|
||||
Panel/styles/AnimationTimeline = SubResource( 21 )
|
||||
Panel/styles/panel = SubResource( 22 )
|
||||
Panel/styles/panelf = null
|
||||
Panel/styles/panelnc = null
|
||||
PanelContainer/styles/panel = SubResource( 23 )
|
||||
PopupMenu/colors/font_color = Color( 0.878431, 0.878431, 0.878431, 1 )
|
||||
PopupMenu/colors/font_color_accel = Color( 0.7, 0.7, 0.7, 0.8 )
|
||||
PopupMenu/colors/font_color_disabled = Color( 0.4, 0.4, 0.4, 0.8 )
|
||||
|
@ -461,10 +482,10 @@ PopupMenu/icons/unchecked = null
|
|||
PopupMenu/styles/hover = null
|
||||
PopupMenu/styles/labeled_separator_left = null
|
||||
PopupMenu/styles/labeled_separator_right = null
|
||||
PopupMenu/styles/panel = SubResource( 22 )
|
||||
PopupMenu/styles/panel = SubResource( 24 )
|
||||
PopupMenu/styles/panel_disabled = null
|
||||
PopupMenu/styles/separator = null
|
||||
PopupPanel/styles/panel = SubResource( 23 )
|
||||
PopupPanel/styles/panel = SubResource( 25 )
|
||||
SpinBox/icons/updown = 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 )
|
||||
|
@ -481,10 +502,10 @@ TabContainer/icons/increment = null
|
|||
TabContainer/icons/increment_highlight = null
|
||||
TabContainer/icons/menu = null
|
||||
TabContainer/icons/menu_highlight = null
|
||||
TabContainer/styles/panel = SubResource( 24 )
|
||||
TabContainer/styles/tab_bg = SubResource( 25 )
|
||||
TabContainer/styles/tab_disabled = SubResource( 26 )
|
||||
TabContainer/styles/tab_fg = SubResource( 27 )
|
||||
TabContainer/styles/panel = SubResource( 26 )
|
||||
TabContainer/styles/tab_bg = SubResource( 27 )
|
||||
TabContainer/styles/tab_disabled = SubResource( 28 )
|
||||
TabContainer/styles/tab_fg = SubResource( 29 )
|
||||
Tabs/colors/font_color_bg = Color( 0.69, 0.69, 0.69, 1 )
|
||||
Tabs/colors/font_color_disabled = Color( 0.9, 0.9, 0.9, 0.2 )
|
||||
Tabs/colors/font_color_fg = Color( 0.94, 0.94, 0.94, 1 )
|
||||
|
@ -500,10 +521,10 @@ Tabs/icons/increment = null
|
|||
Tabs/icons/increment_highlight = null
|
||||
Tabs/styles/button = null
|
||||
Tabs/styles/button_pressed = null
|
||||
Tabs/styles/panel = SubResource( 28 )
|
||||
Tabs/styles/tab_bg = SubResource( 29 )
|
||||
Tabs/styles/tab_disabled = SubResource( 26 )
|
||||
Tabs/styles/tab_fg = SubResource( 27 )
|
||||
Tabs/styles/panel = SubResource( 30 )
|
||||
Tabs/styles/tab_bg = SubResource( 31 )
|
||||
Tabs/styles/tab_disabled = SubResource( 28 )
|
||||
Tabs/styles/tab_fg = SubResource( 29 )
|
||||
TextEdit/colors/background_color = Color( 0, 0, 0, 0 )
|
||||
TextEdit/colors/brace_mismatch_color = Color( 1, 0.2, 0.2, 1 )
|
||||
TextEdit/colors/breakpoint_color = Color( 0.8, 0.8, 0.4, 0.2 )
|
||||
|
@ -535,8 +556,13 @@ TextEdit/fonts/font = null
|
|||
TextEdit/icons/tab = null
|
||||
TextEdit/styles/completion = null
|
||||
TextEdit/styles/focus = null
|
||||
TextEdit/styles/normal = SubResource( 30 )
|
||||
TextEdit/styles/normal = SubResource( 32 )
|
||||
TextEdit/styles/read_only = null
|
||||
TooltipLabel/colors/font_color = Color( 1, 1, 1, 1 )
|
||||
TooltipLabel/colors/font_color_shadow = Color( 0, 0, 0, 0.1 )
|
||||
TooltipLabel/constants/shadow_offset_x = 1
|
||||
TooltipLabel/constants/shadow_offset_y = 1
|
||||
TooltipLabel/fonts/font = null
|
||||
Tree/colors/cursor_color = Color( 0, 0, 0, 1 )
|
||||
Tree/colors/custom_button_font_highlight = Color( 0.941176, 0.941176, 0.941176, 1 )
|
||||
Tree/colors/drop_position_color = Color( 1, 0.3, 0.2, 1 )
|
||||
|
@ -563,7 +589,7 @@ Tree/icons/checked = null
|
|||
Tree/icons/select_arrow = null
|
||||
Tree/icons/unchecked = null
|
||||
Tree/icons/updown = null
|
||||
Tree/styles/bg = SubResource( 31 )
|
||||
Tree/styles/bg = SubResource( 33 )
|
||||
Tree/styles/bg_focus = null
|
||||
Tree/styles/button_pressed = null
|
||||
Tree/styles/cursor = null
|
||||
|
@ -587,11 +613,11 @@ VScrollBar/styles/grabber_pressed = SubResource( 15 )
|
|||
VScrollBar/styles/scroll = null
|
||||
VScrollBar/styles/scroll_focus = null
|
||||
VSeparator/constants/separation = 4
|
||||
VSeparator/styles/separator = SubResource( 32 )
|
||||
VSeparator/styles/separator = SubResource( 34 )
|
||||
VSplitContainer/constants/autohide = 1
|
||||
VSplitContainer/constants/separation = 6
|
||||
VSplitContainer/icons/grabber = ExtResource( 5 )
|
||||
VSplitContainer/styles/bg = SubResource( 33 )
|
||||
VSplitContainer/styles/bg = SubResource( 35 )
|
||||
WindowDialog/colors/title_color = Color( 1, 1, 1, 1 )
|
||||
WindowDialog/constants/close_h_ofs = 18
|
||||
WindowDialog/constants/close_v_ofs = 18
|
||||
|
@ -600,4 +626,4 @@ WindowDialog/constants/title_height = 20
|
|||
WindowDialog/fonts/title_font = null
|
||||
WindowDialog/icons/close = null
|
||||
WindowDialog/icons/close_highlight = null
|
||||
WindowDialog/styles/panel = SubResource( 34 )
|
||||
WindowDialog/styles/panel = SubResource( 36 )
|
||||
|
|
|
@ -169,8 +169,7 @@ content_margin_left = 4.5
|
|||
content_margin_right = 4.5
|
||||
content_margin_top = 3.0
|
||||
content_margin_bottom = 3.0
|
||||
bg_color = Color( 0.15, 0.1725, 0.2325, 1 )
|
||||
draw_center = false
|
||||
bg_color = Color( 0.231373, 0.266667, 0.360784, 1 )
|
||||
corner_radius_top_left = 5
|
||||
corner_radius_top_right = 5
|
||||
corner_radius_bottom_right = 5
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[gd_resource type="Theme" load_steps=35 format=2]
|
||||
[gd_resource type="Theme" load_steps=36 format=2]
|
||||
|
||||
[ext_resource path="res://assets/themes/light/icons/hsplit.png" type="Texture" id=1]
|
||||
[ext_resource path="res://assets/themes/light/icons/grabber.png" type="Texture" id=2]
|
||||
|
@ -168,6 +168,17 @@ anti_aliasing = false
|
|||
bg_color = Color( 0.854902, 0.74902, 0.494118, 1 )
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=19]
|
||||
content_margin_left = 4.5
|
||||
content_margin_right = 4.5
|
||||
content_margin_top = 3.0
|
||||
content_margin_bottom = 3.0
|
||||
bg_color = Color( 0.694118, 0.619608, 0.458824, 1 )
|
||||
corner_radius_top_left = 5
|
||||
corner_radius_top_right = 5
|
||||
corner_radius_bottom_right = 5
|
||||
corner_radius_bottom_left = 5
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=20]
|
||||
bg_color = Color( 0.588235, 0.568627, 0.470588, 1 )
|
||||
border_width_left = 6
|
||||
border_width_top = 10
|
||||
|
@ -180,10 +191,10 @@ corner_radius_bottom_right = 4
|
|||
corner_radius_bottom_left = 4
|
||||
anti_aliasing = false
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=20]
|
||||
[sub_resource type="StyleBoxFlat" id=21]
|
||||
bg_color = Color( 0.219608, 0.211765, 0.168627, 1 )
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=21]
|
||||
[sub_resource type="StyleBoxFlat" id=22]
|
||||
bg_color = Color( 1, 0.898039, 0.501961, 1 )
|
||||
border_width_left = 5
|
||||
border_width_top = 10
|
||||
|
@ -196,7 +207,7 @@ corner_radius_bottom_right = 4
|
|||
corner_radius_bottom_left = 4
|
||||
anti_aliasing = false
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=22]
|
||||
[sub_resource type="StyleBoxFlat" id=23]
|
||||
bg_color = Color( 0.545098, 0.384314, 0, 1 )
|
||||
border_width_left = 10
|
||||
border_width_top = 6
|
||||
|
@ -204,7 +215,7 @@ border_width_right = 10
|
|||
border_width_bottom = 8
|
||||
border_color = Color( 0.545098, 0.384314, 0, 1 )
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=23]
|
||||
[sub_resource type="StyleBoxFlat" id=24]
|
||||
bg_color = Color( 0.145098, 0.145098, 0.164706, 1 )
|
||||
border_width_left = 10
|
||||
border_width_top = 6
|
||||
|
@ -212,7 +223,7 @@ border_width_right = 10
|
|||
border_width_bottom = 8
|
||||
border_color = Color( 0.145098, 0.145098, 0.164706, 1 )
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=24]
|
||||
[sub_resource type="StyleBoxFlat" id=25]
|
||||
bg_color = Color( 1, 0.898039, 0.501961, 1 )
|
||||
border_width_left = 10
|
||||
border_width_top = 6
|
||||
|
@ -220,19 +231,6 @@ border_width_right = 10
|
|||
border_width_bottom = 8
|
||||
border_color = Color( 1, 0.898039, 0.501961, 1 )
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=25]
|
||||
bg_color = Color( 0.588235, 0.568627, 0.470588, 1 )
|
||||
border_width_left = 4
|
||||
border_width_top = 4
|
||||
border_width_right = 4
|
||||
border_width_bottom = 4
|
||||
border_color = Color( 0.588235, 0.568627, 0.470588, 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=26]
|
||||
bg_color = Color( 0.588235, 0.568627, 0.470588, 1 )
|
||||
border_width_left = 4
|
||||
|
@ -244,8 +242,21 @@ 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=27]
|
||||
bg_color = Color( 0.588235, 0.568627, 0.470588, 1 )
|
||||
border_width_left = 4
|
||||
border_width_top = 4
|
||||
border_width_right = 4
|
||||
border_width_bottom = 4
|
||||
border_color = Color( 0.588235, 0.568627, 0.470588, 1 )
|
||||
corner_radius_top_left = 4
|
||||
corner_radius_top_right = 4
|
||||
corner_radius_bottom_right = 4
|
||||
corner_radius_bottom_left = 4
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=28]
|
||||
bg_color = Color( 0.445313, 0.432846, 0.370514, 1 )
|
||||
border_width_left = 5
|
||||
border_width_right = 5
|
||||
|
@ -255,13 +266,13 @@ corner_radius_top_right = 4
|
|||
corner_radius_bottom_right = 4
|
||||
corner_radius_bottom_left = 4
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=28]
|
||||
[sub_resource type="StyleBoxFlat" id=29]
|
||||
bg_color = Color( 0.372549, 0.360784, 0.301961, 1 )
|
||||
border_width_left = 2
|
||||
border_width_right = 2
|
||||
border_color = Color( 0.552941, 0.376471, 0, 1 )
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=29]
|
||||
[sub_resource type="StyleBoxFlat" id=30]
|
||||
bg_color = Color( 0.901961, 0.866667, 0.670588, 1 )
|
||||
border_width_left = 2
|
||||
border_width_top = 20
|
||||
|
@ -403,6 +414,7 @@ OptionButton/styles/pressed = null
|
|||
Panel/styles/panel = SubResource( 18 )
|
||||
Panel/styles/panelf = null
|
||||
Panel/styles/panelnc = null
|
||||
PanelContainer/styles/panel = SubResource( 19 )
|
||||
PopupMenu/colors/font_color = Color( 0, 0, 0, 1 )
|
||||
PopupMenu/colors/font_color_accel = Color( 0.701961, 0.701961, 0.701961, 0.8 )
|
||||
PopupMenu/colors/font_color_disabled = Color( 0.4, 0.4, 0.4, 0.8 )
|
||||
|
@ -418,10 +430,10 @@ PopupMenu/icons/unchecked = null
|
|||
PopupMenu/styles/hover = null
|
||||
PopupMenu/styles/labeled_separator_left = null
|
||||
PopupMenu/styles/labeled_separator_right = null
|
||||
PopupMenu/styles/panel = SubResource( 19 )
|
||||
PopupMenu/styles/panel = SubResource( 20 )
|
||||
PopupMenu/styles/panel_disabled = null
|
||||
PopupMenu/styles/separator = null
|
||||
PopupPanel/styles/panel = SubResource( 20 )
|
||||
PopupPanel/styles/panel = SubResource( 21 )
|
||||
SpinBox/icons/updown = null
|
||||
TabContainer/colors/font_color_bg = Color( 0, 0, 0, 1 )
|
||||
TabContainer/colors/font_color_disabled = Color( 0.9, 0.9, 0.9, 0.2 )
|
||||
|
@ -438,10 +450,10 @@ TabContainer/icons/increment = null
|
|||
TabContainer/icons/increment_highlight = null
|
||||
TabContainer/icons/menu = null
|
||||
TabContainer/icons/menu_highlight = null
|
||||
TabContainer/styles/panel = SubResource( 21 )
|
||||
TabContainer/styles/tab_bg = SubResource( 22 )
|
||||
TabContainer/styles/tab_disabled = SubResource( 23 )
|
||||
TabContainer/styles/tab_fg = SubResource( 24 )
|
||||
TabContainer/styles/panel = SubResource( 22 )
|
||||
TabContainer/styles/tab_bg = SubResource( 23 )
|
||||
TabContainer/styles/tab_disabled = SubResource( 24 )
|
||||
TabContainer/styles/tab_fg = SubResource( 25 )
|
||||
Tabs/colors/font_color_bg = Color( 0.69, 0.69, 0.69, 1 )
|
||||
Tabs/colors/font_color_disabled = Color( 0.9, 0.9, 0.9, 0.2 )
|
||||
Tabs/colors/font_color_fg = Color( 0.94, 0.94, 0.94, 1 )
|
||||
|
@ -457,10 +469,10 @@ Tabs/icons/increment = null
|
|||
Tabs/icons/increment_highlight = null
|
||||
Tabs/styles/button = null
|
||||
Tabs/styles/button_pressed = null
|
||||
Tabs/styles/panel = SubResource( 21 )
|
||||
Tabs/styles/tab_bg = SubResource( 22 )
|
||||
Tabs/styles/tab_disabled = SubResource( 23 )
|
||||
Tabs/styles/tab_fg = SubResource( 24 )
|
||||
Tabs/styles/panel = SubResource( 22 )
|
||||
Tabs/styles/tab_bg = SubResource( 23 )
|
||||
Tabs/styles/tab_disabled = SubResource( 24 )
|
||||
Tabs/styles/tab_fg = SubResource( 25 )
|
||||
TextEdit/colors/background_color = Color( 0, 0, 0, 0 )
|
||||
TextEdit/colors/brace_mismatch_color = Color( 1, 0.2, 0.2, 1 )
|
||||
TextEdit/colors/breakpoint_color = Color( 0.8, 0.8, 0.4, 0.2 )
|
||||
|
@ -492,7 +504,7 @@ TextEdit/fonts/font = null
|
|||
TextEdit/icons/tab = null
|
||||
TextEdit/styles/completion = null
|
||||
TextEdit/styles/focus = null
|
||||
TextEdit/styles/normal = SubResource( 25 )
|
||||
TextEdit/styles/normal = SubResource( 26 )
|
||||
TextEdit/styles/read_only = null
|
||||
Tree/colors/cursor_color = Color( 0, 0, 0, 1 )
|
||||
Tree/colors/custom_button_font_highlight = Color( 0.941176, 0.941176, 0.941176, 1 )
|
||||
|
@ -520,7 +532,7 @@ Tree/icons/checked = null
|
|||
Tree/icons/select_arrow = null
|
||||
Tree/icons/unchecked = null
|
||||
Tree/icons/updown = null
|
||||
Tree/styles/bg = SubResource( 26 )
|
||||
Tree/styles/bg = SubResource( 27 )
|
||||
Tree/styles/bg_focus = null
|
||||
Tree/styles/button_pressed = null
|
||||
Tree/styles/cursor = null
|
||||
|
@ -541,10 +553,10 @@ VScrollBar/icons/increment_highlight = null
|
|||
VScrollBar/styles/grabber = SubResource( 10 )
|
||||
VScrollBar/styles/grabber_highlight = SubResource( 11 )
|
||||
VScrollBar/styles/grabber_pressed = SubResource( 12 )
|
||||
VScrollBar/styles/scroll = SubResource( 27 )
|
||||
VScrollBar/styles/scroll = SubResource( 28 )
|
||||
VScrollBar/styles/scroll_focus = null
|
||||
VSeparator/constants/separation = 4
|
||||
VSeparator/styles/separator = SubResource( 28 )
|
||||
VSeparator/styles/separator = SubResource( 29 )
|
||||
VSplitContainer/constants/autohide = 1
|
||||
VSplitContainer/constants/separation = 6
|
||||
VSplitContainer/icons/grabber = ExtResource( 4 )
|
||||
|
@ -557,4 +569,4 @@ WindowDialog/constants/title_height = 20
|
|||
WindowDialog/fonts/title_font = null
|
||||
WindowDialog/icons/close = null
|
||||
WindowDialog/icons/close_highlight = null
|
||||
WindowDialog/styles/panel = SubResource( 29 )
|
||||
WindowDialog/styles/panel = SubResource( 30 )
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[gd_resource type="Theme" load_steps=35 format=2]
|
||||
[gd_resource type="Theme" load_steps=36 format=2]
|
||||
|
||||
[ext_resource path="res://assets/fonts/Roboto-Regular.tres" type="DynamicFont" id=1]
|
||||
|
||||
|
@ -185,6 +185,17 @@ anti_aliasing = false
|
|||
[sub_resource type="StyleBoxFlat" id=22]
|
||||
bg_color = Color( 0.180392, 0.180392, 0.180392, 1 )
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=34]
|
||||
content_margin_left = 4.5
|
||||
content_margin_right = 4.5
|
||||
content_margin_top = 3.0
|
||||
content_margin_bottom = 3.0
|
||||
bg_color = Color( 0.247059, 0.247059, 0.247059, 1 )
|
||||
corner_radius_top_left = 5
|
||||
corner_radius_top_right = 5
|
||||
corner_radius_bottom_right = 5
|
||||
corner_radius_bottom_left = 5
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=23]
|
||||
bg_color = Color( 0.2, 0.2, 0.2, 1 )
|
||||
border_width_left = 6
|
||||
|
@ -405,6 +416,7 @@ OptionButton/styles/pressed = null
|
|||
Panel/styles/panel = SubResource( 22 )
|
||||
Panel/styles/panelf = null
|
||||
Panel/styles/panelnc = null
|
||||
PanelContainer/styles/panel = SubResource( 34 )
|
||||
PopupMenu/colors/font_color = Color( 0.878431, 0.878431, 0.878431, 1 )
|
||||
PopupMenu/colors/font_color_accel = Color( 0.7, 0.7, 0.7, 0.8 )
|
||||
PopupMenu/colors/font_color_disabled = Color( 0.4, 0.4, 0.4, 0.8 )
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[gd_resource type="Theme" load_steps=36 format=2]
|
||||
[gd_resource type="Theme" load_steps=37 format=2]
|
||||
|
||||
[ext_resource path="res://assets/themes/light/icons/hsplit.png" type="Texture" id=1]
|
||||
[ext_resource path="res://assets/themes/light/icons/grabber.png" type="Texture" id=2]
|
||||
|
@ -177,6 +177,17 @@ anti_aliasing = false
|
|||
[sub_resource type="StyleBoxFlat" id=19]
|
||||
bg_color = Color( 1, 1, 1, 1 )
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=31]
|
||||
content_margin_left = 4.5
|
||||
content_margin_right = 4.5
|
||||
content_margin_top = 3.0
|
||||
content_margin_bottom = 3.0
|
||||
bg_color = Color( 0.905882, 0.905882, 0.905882, 1 )
|
||||
corner_radius_top_left = 5
|
||||
corner_radius_top_right = 5
|
||||
corner_radius_bottom_right = 5
|
||||
corner_radius_bottom_left = 5
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=20]
|
||||
bg_color = Color( 0.627451, 0.627451, 0.627451, 1 )
|
||||
border_width_left = 6
|
||||
|
@ -413,6 +424,7 @@ OptionButton/styles/pressed = null
|
|||
Panel/styles/panel = SubResource( 19 )
|
||||
Panel/styles/panelf = null
|
||||
Panel/styles/panelnc = null
|
||||
PanelContainer/styles/panel = SubResource( 31 )
|
||||
PopupMenu/colors/font_color = Color( 0, 0, 0, 1 )
|
||||
PopupMenu/colors/font_color_accel = Color( 0.164706, 0.164706, 0.164706, 0.8 )
|
||||
PopupMenu/colors/font_color_disabled = Color( 0.4, 0.4, 0.4, 0.8 )
|
||||
|
|
535
src/Main.tscn
535
src/Main.tscn
File diff suppressed because it is too large
Load diff
|
@ -311,24 +311,24 @@ func _on_Theme_pressed(button : Button) -> void:
|
|||
|
||||
func change_theme(ID : int) -> void:
|
||||
var font = Global.control.theme.default_font
|
||||
var main_theme
|
||||
var main_theme : Theme
|
||||
var top_menu_style
|
||||
var ruler_style
|
||||
if ID == 0: # Dark Theme
|
||||
Global.theme_type = "Dark"
|
||||
VisualServer.set_default_clear_color(Color(0.247059, 0.25098, 0.247059))
|
||||
VisualServer.set_default_clear_color(Color("2b2b2b"))
|
||||
main_theme = preload("res://assets/themes/dark/theme.tres")
|
||||
top_menu_style = preload("res://assets/themes/dark/top_menu_style.tres")
|
||||
ruler_style = preload("res://assets/themes/dark/ruler_style.tres")
|
||||
elif ID == 1: # Gray Theme
|
||||
Global.theme_type = "Dark"
|
||||
VisualServer.set_default_clear_color(Color(0.301961, 0.301961, 0.301961))
|
||||
VisualServer.set_default_clear_color(Color("3f3f3f"))
|
||||
main_theme = preload("res://assets/themes/gray/theme.tres")
|
||||
top_menu_style = preload("res://assets/themes/gray/top_menu_style.tres")
|
||||
ruler_style = preload("res://assets/themes/dark/ruler_style.tres")
|
||||
elif ID == 2: # Godot's Theme
|
||||
Global.theme_type = "Dark"
|
||||
VisualServer.set_default_clear_color(Color("3c465d"))
|
||||
VisualServer.set_default_clear_color(Color("3b445c"))
|
||||
main_theme = preload("res://assets/themes/godot/theme.tres")
|
||||
top_menu_style = preload("res://assets/themes/godot/top_menu_style.tres")
|
||||
ruler_style = preload("res://assets/themes/godot/ruler_style.tres")
|
||||
|
@ -340,13 +340,17 @@ func change_theme(ID : int) -> void:
|
|||
ruler_style = preload("res://assets/themes/gold/ruler_style.tres")
|
||||
elif ID == 4: # Light Theme
|
||||
Global.theme_type = "Light"
|
||||
VisualServer.set_default_clear_color(Color(0.705882, 0.705882, 0.705882))
|
||||
VisualServer.set_default_clear_color(Color("e7e7e7"))
|
||||
main_theme = preload("res://assets/themes/light/theme.tres")
|
||||
top_menu_style = preload("res://assets/themes/light/top_menu_style.tres")
|
||||
ruler_style = preload("res://assets/themes/light/ruler_style.tres")
|
||||
|
||||
Global.control.theme = main_theme
|
||||
Global.control.theme.default_font = font
|
||||
(Global.animation_timeline.get_stylebox("panel", "Panel") as StyleBoxFlat).bg_color = main_theme.get_stylebox("panel", "Panel").bg_color
|
||||
var layer_button_panel_container : PanelContainer = Global.find_node_by_name(Global.animation_timeline, "LayerButtonPanelContainer")
|
||||
(layer_button_panel_container.get_stylebox("panel", "PanelContainer") as StyleBoxFlat).bg_color = main_theme.get_stylebox("panel", "PanelContainer").bg_color
|
||||
|
||||
Global.top_menu_container.add_stylebox_override("panel", top_menu_style)
|
||||
Global.horizontal_ruler.add_stylebox_override("normal", ruler_style)
|
||||
Global.horizontal_ruler.add_stylebox_override("pressed", ruler_style)
|
||||
|
|
|
@ -6,11 +6,13 @@ var animation_forward := true
|
|||
var first_frame := 0
|
||||
var last_frame := Global.canvases.size() - 1
|
||||
|
||||
onready var timeline_scroll : ScrollContainer = $AnimationContainer/TimelineContainer/TimelineScroll
|
||||
onready var tag_scroll_container : ScrollContainer = $AnimationContainer/TimelineContainer/OpacityAndTagContainer/TagScroll
|
||||
var timeline_scroll : ScrollContainer
|
||||
var tag_scroll_container : ScrollContainer
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
timeline_scroll = Global.find_node_by_name(self, "TimelineScroll")
|
||||
tag_scroll_container = Global.find_node_by_name(self, "TagScroll")
|
||||
timeline_scroll.get_h_scrollbar().connect("value_changed", self, "_h_scroll_changed")
|
||||
Global.animation_timer.wait_time = 1 / fps
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=41 format=2]
|
||||
[gd_scene load_steps=44 format=2]
|
||||
|
||||
[ext_resource path="res://src/UI/Timeline/AnimationTimeline.gd" type="Script" id=1]
|
||||
[ext_resource path="res://assets/graphics/dark_themes/layers/new_layer.png" type="Texture" id=2]
|
||||
|
@ -7,6 +7,7 @@
|
|||
[ext_resource path="res://assets/graphics/dark_themes/layers/move_down_disabled.png" type="Texture" id=5]
|
||||
[ext_resource path="res://assets/graphics/dark_themes/layers/merge_down_disabled.png" type="Texture" id=6]
|
||||
[ext_resource path="res://assets/graphics/dark_themes/layers/clone_layer.png" type="Texture" id=7]
|
||||
[ext_resource path="res://assets/themes/dark/icons/vsplit.png" type="Texture" id=8]
|
||||
[ext_resource path="res://src/UI/Timeline/LayerButton.tscn" type="PackedScene" id=18]
|
||||
[ext_resource path="res://assets/graphics/dark_themes/timeline/new_frame.png" type="Texture" id=19]
|
||||
[ext_resource path="res://assets/graphics/dark_themes/timeline/remove_frame.png" type="Texture" id=20]
|
||||
|
@ -23,38 +24,46 @@
|
|||
[ext_resource path="res://assets/graphics/dark_themes/timeline/loop.png" type="Texture" id=31]
|
||||
[ext_resource path="res://src/UI/Dialogs/FrameTagDialog.tscn" type="PackedScene" id=42]
|
||||
|
||||
[sub_resource type="InputEventKey" id=1]
|
||||
control = true
|
||||
command = true
|
||||
scancode = 16777229
|
||||
[sub_resource type="StyleBoxFlat" id=1]
|
||||
bg_color = Color( 0.0627451, 0.0627451, 0.0627451, 1 )
|
||||
expand_margin_top = 6.0
|
||||
|
||||
[sub_resource type="ShortCut" id=2]
|
||||
shortcut = SubResource( 1 )
|
||||
[sub_resource type="StyleBoxFlat" id=2]
|
||||
content_margin_left = 4.5
|
||||
content_margin_right = 4.5
|
||||
content_margin_top = 3.0
|
||||
content_margin_bottom = 3.0
|
||||
bg_color = Color( 0.168627, 0.168627, 0.168627, 1 )
|
||||
corner_radius_top_left = 5
|
||||
corner_radius_top_right = 5
|
||||
corner_radius_bottom_right = 5
|
||||
corner_radius_bottom_left = 5
|
||||
expand_margin_bottom = 32.0
|
||||
|
||||
[sub_resource type="InputEventKey" id=3]
|
||||
control = true
|
||||
command = true
|
||||
scancode = 16777231
|
||||
scancode = 16777229
|
||||
|
||||
[sub_resource type="ShortCut" id=4]
|
||||
shortcut = SubResource( 3 )
|
||||
|
||||
[sub_resource type="InputEventKey" id=5]
|
||||
scancode = 16777247
|
||||
control = true
|
||||
command = true
|
||||
scancode = 16777231
|
||||
|
||||
[sub_resource type="ShortCut" id=6]
|
||||
shortcut = SubResource( 5 )
|
||||
|
||||
[sub_resource type="InputEventKey" id=7]
|
||||
scancode = 16777248
|
||||
scancode = 16777247
|
||||
|
||||
[sub_resource type="ShortCut" id=8]
|
||||
shortcut = SubResource( 7 )
|
||||
|
||||
[sub_resource type="InputEventKey" id=9]
|
||||
control = true
|
||||
command = true
|
||||
scancode = 16777233
|
||||
scancode = 16777248
|
||||
|
||||
[sub_resource type="ShortCut" id=10]
|
||||
shortcut = SubResource( 9 )
|
||||
|
@ -62,14 +71,18 @@ shortcut = SubResource( 9 )
|
|||
[sub_resource type="InputEventKey" id=11]
|
||||
control = true
|
||||
command = true
|
||||
scancode = 16777230
|
||||
scancode = 16777233
|
||||
|
||||
[sub_resource type="ShortCut" id=12]
|
||||
shortcut = SubResource( 11 )
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id=13]
|
||||
[sub_resource type="InputEventKey" id=13]
|
||||
control = true
|
||||
command = true
|
||||
scancode = 16777230
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id=14]
|
||||
[sub_resource type="ShortCut" id=14]
|
||||
shortcut = SubResource( 13 )
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id=15]
|
||||
|
||||
|
@ -77,16 +90,20 @@ shortcut = SubResource( 11 )
|
|||
|
||||
[sub_resource type="StyleBoxEmpty" id=17]
|
||||
|
||||
[sub_resource type="Theme" id=18]
|
||||
[sub_resource type="StyleBoxEmpty" id=18]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id=19]
|
||||
|
||||
[sub_resource type="Theme" id=20]
|
||||
HScrollBar/icons/decrement = null
|
||||
HScrollBar/icons/decrement_highlight = null
|
||||
HScrollBar/icons/increment = null
|
||||
HScrollBar/icons/increment_highlight = null
|
||||
HScrollBar/styles/grabber = SubResource( 13 )
|
||||
HScrollBar/styles/grabber_highlight = SubResource( 14 )
|
||||
HScrollBar/styles/grabber_pressed = SubResource( 15 )
|
||||
HScrollBar/styles/scroll = SubResource( 16 )
|
||||
HScrollBar/styles/scroll_focus = SubResource( 17 )
|
||||
HScrollBar/styles/grabber = SubResource( 15 )
|
||||
HScrollBar/styles/grabber_highlight = SubResource( 16 )
|
||||
HScrollBar/styles/grabber_pressed = SubResource( 17 )
|
||||
HScrollBar/styles/scroll = SubResource( 18 )
|
||||
HScrollBar/styles/scroll_focus = SubResource( 19 )
|
||||
|
||||
[node name="AnimationTimeline" type="Panel"]
|
||||
margin_top = 438.0
|
||||
|
@ -94,6 +111,7 @@ margin_right = 902.0
|
|||
margin_bottom = 638.0
|
||||
rect_min_size = Vector2( 0, 200 )
|
||||
size_flags_horizontal = 3
|
||||
custom_styles/panel = SubResource( 1 )
|
||||
script = ExtResource( 1 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
|
@ -107,25 +125,34 @@ __meta__ = {
|
|||
}
|
||||
|
||||
[node name="TimelineContainer" type="VBoxContainer" parent="AnimationContainer"]
|
||||
margin_right = 894.0
|
||||
margin_right = 902.0
|
||||
margin_bottom = 200.0
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="SpacerControl" type="Control" parent="AnimationContainer/TimelineContainer"]
|
||||
margin_right = 894.0
|
||||
margin_right = 902.0
|
||||
margin_bottom = 4.0
|
||||
rect_min_size = Vector2( 0, 4 )
|
||||
|
||||
[node name="TimelineButtons" type="HBoxContainer" parent="AnimationContainer/TimelineContainer"]
|
||||
margin_top = 4.0
|
||||
margin_right = 894.0
|
||||
margin_bottom = 36.0
|
||||
margin_top = 8.0
|
||||
margin_right = 902.0
|
||||
margin_bottom = 46.0
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="LayerButtons" type="HBoxContainer" parent="AnimationContainer/TimelineContainer/TimelineButtons"]
|
||||
margin_right = 212.0
|
||||
margin_bottom = 32.0
|
||||
[node name="LayerButtonPanelContainer" type="PanelContainer" parent="AnimationContainer/TimelineContainer/TimelineButtons"]
|
||||
margin_right = 221.0
|
||||
margin_bottom = 38.0
|
||||
custom_styles/panel = SubResource( 2 )
|
||||
|
||||
[node name="LayerButtons" type="HBoxContainer" parent="AnimationContainer/TimelineContainer/TimelineButtons/LayerButtonPanelContainer"]
|
||||
margin_left = 4.5
|
||||
margin_top = 3.0
|
||||
margin_right = 216.5
|
||||
margin_bottom = 35.0
|
||||
size_flags_vertical = 0
|
||||
|
||||
[node name="AddLayer" type="Button" parent="AnimationContainer/TimelineContainer/TimelineButtons/LayerButtons" groups=[
|
||||
[node name="AddLayer" type="Button" parent="AnimationContainer/TimelineContainer/TimelineButtons/LayerButtonPanelContainer/LayerButtons" groups=[
|
||||
"UIButtons",
|
||||
]]
|
||||
margin_right = 32.0
|
||||
|
@ -135,7 +162,7 @@ hint_tooltip = "Create a new layer"
|
|||
focus_mode = 0
|
||||
mouse_default_cursor_shape = 2
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="AnimationContainer/TimelineContainer/TimelineButtons/LayerButtons/AddLayer"]
|
||||
[node name="TextureRect" type="TextureRect" parent="AnimationContainer/TimelineContainer/TimelineButtons/LayerButtonPanelContainer/LayerButtons/AddLayer"]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
|
@ -151,7 +178,7 @@ __meta__ = {
|
|||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="RemoveLayer" type="Button" parent="AnimationContainer/TimelineContainer/TimelineButtons/LayerButtons" groups=[
|
||||
[node name="RemoveLayer" type="Button" parent="AnimationContainer/TimelineContainer/TimelineButtons/LayerButtonPanelContainer/LayerButtons" groups=[
|
||||
"UIButtons",
|
||||
]]
|
||||
margin_left = 36.0
|
||||
|
@ -163,7 +190,7 @@ focus_mode = 0
|
|||
mouse_default_cursor_shape = 8
|
||||
disabled = true
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="AnimationContainer/TimelineContainer/TimelineButtons/LayerButtons/RemoveLayer"]
|
||||
[node name="TextureRect" type="TextureRect" parent="AnimationContainer/TimelineContainer/TimelineButtons/LayerButtonPanelContainer/LayerButtons/RemoveLayer"]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
|
@ -179,7 +206,7 @@ __meta__ = {
|
|||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="MoveUpLayer" type="Button" parent="AnimationContainer/TimelineContainer/TimelineButtons/LayerButtons" groups=[
|
||||
[node name="MoveUpLayer" type="Button" parent="AnimationContainer/TimelineContainer/TimelineButtons/LayerButtonPanelContainer/LayerButtons" groups=[
|
||||
"UIButtons",
|
||||
]]
|
||||
margin_left = 72.0
|
||||
|
@ -191,7 +218,7 @@ focus_mode = 0
|
|||
mouse_default_cursor_shape = 8
|
||||
disabled = true
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="AnimationContainer/TimelineContainer/TimelineButtons/LayerButtons/MoveUpLayer"]
|
||||
[node name="TextureRect" type="TextureRect" parent="AnimationContainer/TimelineContainer/TimelineButtons/LayerButtonPanelContainer/LayerButtons/MoveUpLayer"]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
|
@ -207,7 +234,7 @@ __meta__ = {
|
|||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="MoveDownLayer" type="Button" parent="AnimationContainer/TimelineContainer/TimelineButtons/LayerButtons" groups=[
|
||||
[node name="MoveDownLayer" type="Button" parent="AnimationContainer/TimelineContainer/TimelineButtons/LayerButtonPanelContainer/LayerButtons" groups=[
|
||||
"UIButtons",
|
||||
]]
|
||||
margin_left = 108.0
|
||||
|
@ -219,7 +246,7 @@ focus_mode = 0
|
|||
mouse_default_cursor_shape = 8
|
||||
disabled = true
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="AnimationContainer/TimelineContainer/TimelineButtons/LayerButtons/MoveDownLayer"]
|
||||
[node name="TextureRect" type="TextureRect" parent="AnimationContainer/TimelineContainer/TimelineButtons/LayerButtonPanelContainer/LayerButtons/MoveDownLayer"]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
|
@ -235,7 +262,7 @@ __meta__ = {
|
|||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="CloneLayer" type="Button" parent="AnimationContainer/TimelineContainer/TimelineButtons/LayerButtons" groups=[
|
||||
[node name="CloneLayer" type="Button" parent="AnimationContainer/TimelineContainer/TimelineButtons/LayerButtonPanelContainer/LayerButtons" groups=[
|
||||
"UIButtons",
|
||||
]]
|
||||
margin_left = 144.0
|
||||
|
@ -246,7 +273,7 @@ hint_tooltip = "Clone current layer"
|
|||
focus_mode = 0
|
||||
mouse_default_cursor_shape = 2
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="AnimationContainer/TimelineContainer/TimelineButtons/LayerButtons/CloneLayer"]
|
||||
[node name="TextureRect" type="TextureRect" parent="AnimationContainer/TimelineContainer/TimelineButtons/LayerButtonPanelContainer/LayerButtons/CloneLayer"]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
|
@ -262,7 +289,7 @@ __meta__ = {
|
|||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="MergeDownLayer" type="Button" parent="AnimationContainer/TimelineContainer/TimelineButtons/LayerButtons" groups=[
|
||||
[node name="MergeDownLayer" type="Button" parent="AnimationContainer/TimelineContainer/TimelineButtons/LayerButtonPanelContainer/LayerButtons" groups=[
|
||||
"UIButtons",
|
||||
]]
|
||||
margin_left = 180.0
|
||||
|
@ -274,7 +301,7 @@ focus_mode = 0
|
|||
mouse_default_cursor_shape = 8
|
||||
disabled = true
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="AnimationContainer/TimelineContainer/TimelineButtons/LayerButtons/MergeDownLayer"]
|
||||
[node name="TextureRect" type="TextureRect" parent="AnimationContainer/TimelineContainer/TimelineButtons/LayerButtonPanelContainer/LayerButtons/MergeDownLayer"]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
|
@ -290,26 +317,37 @@ __meta__ = {
|
|||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="AnimationButtons" type="HBoxContainer" parent="AnimationContainer/TimelineContainer/TimelineButtons"]
|
||||
margin_left = 216.0
|
||||
margin_right = 894.0
|
||||
margin_bottom = 32.0
|
||||
[node name="Control" type="Control" parent="AnimationContainer/TimelineContainer/TimelineButtons"]
|
||||
margin_left = 225.0
|
||||
margin_right = 434.0
|
||||
margin_bottom = 38.0
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="PanelContainer" type="PanelContainer" parent="AnimationContainer/TimelineContainer/TimelineButtons"]
|
||||
margin_left = 438.0
|
||||
margin_right = 902.0
|
||||
margin_bottom = 38.0
|
||||
|
||||
[node name="AnimationButtons" type="HBoxContainer" parent="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer"]
|
||||
margin_left = 7.0
|
||||
margin_top = 7.0
|
||||
margin_right = 457.0
|
||||
margin_bottom = 31.0
|
||||
rect_min_size = Vector2( 0, 24 )
|
||||
size_flags_horizontal = 3
|
||||
custom_constants/separation = 40
|
||||
alignment = 2
|
||||
|
||||
[node name="FrameButtons" type="HBoxContainer" parent="AnimationContainer/TimelineContainer/TimelineButtons/AnimationButtons"]
|
||||
margin_left = 228.0
|
||||
margin_right = 320.0
|
||||
margin_bottom = 32.0
|
||||
[node name="FrameButtons" type="HBoxContainer" parent="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer/AnimationButtons"]
|
||||
margin_right = 92.0
|
||||
margin_bottom = 24.0
|
||||
|
||||
[node name="AddFrame" type="Button" parent="AnimationContainer/TimelineContainer/TimelineButtons/AnimationButtons/FrameButtons" groups=[
|
||||
[node name="AddFrame" type="Button" parent="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer/AnimationButtons/FrameButtons" groups=[
|
||||
"UIButtons",
|
||||
]]
|
||||
margin_top = 6.0
|
||||
margin_top = 2.0
|
||||
margin_right = 20.0
|
||||
margin_bottom = 26.0
|
||||
margin_bottom = 22.0
|
||||
rect_min_size = Vector2( 20, 0 )
|
||||
hint_tooltip = "Add a new frame"
|
||||
focus_mode = 0
|
||||
|
@ -317,7 +355,7 @@ mouse_default_cursor_shape = 2
|
|||
size_flags_horizontal = 0
|
||||
size_flags_vertical = 4
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="AnimationContainer/TimelineContainer/TimelineButtons/AnimationButtons/FrameButtons/AddFrame"]
|
||||
[node name="TextureRect" type="TextureRect" parent="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer/AnimationButtons/FrameButtons/AddFrame"]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
|
@ -331,13 +369,13 @@ __meta__ = {
|
|||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="DeleteFrame" type="Button" parent="AnimationContainer/TimelineContainer/TimelineButtons/AnimationButtons/FrameButtons" groups=[
|
||||
[node name="DeleteFrame" type="Button" parent="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer/AnimationButtons/FrameButtons" groups=[
|
||||
"UIButtons",
|
||||
]]
|
||||
margin_left = 24.0
|
||||
margin_top = 6.0
|
||||
margin_top = 2.0
|
||||
margin_right = 44.0
|
||||
margin_bottom = 26.0
|
||||
margin_bottom = 22.0
|
||||
rect_min_size = Vector2( 20, 0 )
|
||||
hint_tooltip = "Remove Frame"
|
||||
focus_mode = 0
|
||||
|
@ -345,7 +383,7 @@ mouse_default_cursor_shape = 2
|
|||
size_flags_horizontal = 0
|
||||
size_flags_vertical = 4
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="AnimationContainer/TimelineContainer/TimelineButtons/AnimationButtons/FrameButtons/DeleteFrame"]
|
||||
[node name="TextureRect" type="TextureRect" parent="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer/AnimationButtons/FrameButtons/DeleteFrame"]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
|
@ -361,13 +399,13 @@ __meta__ = {
|
|||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="CopyFrame" type="Button" parent="AnimationContainer/TimelineContainer/TimelineButtons/AnimationButtons/FrameButtons" groups=[
|
||||
[node name="CopyFrame" type="Button" parent="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer/AnimationButtons/FrameButtons" groups=[
|
||||
"UIButtons",
|
||||
]]
|
||||
margin_left = 48.0
|
||||
margin_top = 6.0
|
||||
margin_top = 2.0
|
||||
margin_right = 68.0
|
||||
margin_bottom = 26.0
|
||||
margin_bottom = 22.0
|
||||
rect_min_size = Vector2( 20, 0 )
|
||||
hint_tooltip = "Clone Frame"
|
||||
focus_mode = 0
|
||||
|
@ -375,7 +413,7 @@ mouse_default_cursor_shape = 2
|
|||
size_flags_horizontal = 0
|
||||
size_flags_vertical = 4
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="AnimationContainer/TimelineContainer/TimelineButtons/AnimationButtons/FrameButtons/CopyFrame"]
|
||||
[node name="TextureRect" type="TextureRect" parent="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer/AnimationButtons/FrameButtons/CopyFrame"]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
|
@ -389,13 +427,13 @@ __meta__ = {
|
|||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="FrameTagButton" type="Button" parent="AnimationContainer/TimelineContainer/TimelineButtons/AnimationButtons/FrameButtons" groups=[
|
||||
[node name="FrameTagButton" type="Button" parent="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer/AnimationButtons/FrameButtons" groups=[
|
||||
"UIButtons",
|
||||
]]
|
||||
margin_left = 72.0
|
||||
margin_top = 6.0
|
||||
margin_top = 2.0
|
||||
margin_right = 92.0
|
||||
margin_bottom = 26.0
|
||||
margin_bottom = 22.0
|
||||
rect_min_size = Vector2( 20, 0 )
|
||||
hint_tooltip = "Manage frame tags"
|
||||
focus_mode = 0
|
||||
|
@ -403,7 +441,7 @@ mouse_default_cursor_shape = 2
|
|||
size_flags_horizontal = 0
|
||||
size_flags_vertical = 4
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="AnimationContainer/TimelineContainer/TimelineButtons/AnimationButtons/FrameButtons/FrameTagButton"]
|
||||
[node name="TextureRect" type="TextureRect" parent="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer/AnimationButtons/FrameButtons/FrameTagButton"]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
|
@ -417,26 +455,26 @@ __meta__ = {
|
|||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="PlaybackButtons" type="HBoxContainer" parent="AnimationContainer/TimelineContainer/TimelineButtons/AnimationButtons"]
|
||||
margin_left = 360.0
|
||||
margin_right = 500.0
|
||||
margin_bottom = 32.0
|
||||
[node name="PlaybackButtons" type="HBoxContainer" parent="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer/AnimationButtons"]
|
||||
margin_left = 132.0
|
||||
margin_right = 272.0
|
||||
margin_bottom = 24.0
|
||||
|
||||
[node name="FirstFrame" type="Button" parent="AnimationContainer/TimelineContainer/TimelineButtons/AnimationButtons/PlaybackButtons" groups=[
|
||||
[node name="FirstFrame" type="Button" parent="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer/AnimationButtons/PlaybackButtons" groups=[
|
||||
"UIButtons",
|
||||
]]
|
||||
margin_top = 6.0
|
||||
margin_top = 2.0
|
||||
margin_right = 20.0
|
||||
margin_bottom = 26.0
|
||||
margin_bottom = 22.0
|
||||
rect_min_size = Vector2( 20, 0 )
|
||||
hint_tooltip = "FIRSTFRAME_HT"
|
||||
focus_mode = 0
|
||||
mouse_default_cursor_shape = 2
|
||||
size_flags_vertical = 4
|
||||
shortcut_in_tooltip = false
|
||||
shortcut = SubResource( 2 )
|
||||
shortcut = SubResource( 4 )
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="AnimationContainer/TimelineContainer/TimelineButtons/AnimationButtons/PlaybackButtons/FirstFrame"]
|
||||
[node name="TextureRect" type="TextureRect" parent="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer/AnimationButtons/PlaybackButtons/FirstFrame"]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
|
@ -450,22 +488,22 @@ __meta__ = {
|
|||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="PreviousFrame" type="Button" parent="AnimationContainer/TimelineContainer/TimelineButtons/AnimationButtons/PlaybackButtons" groups=[
|
||||
[node name="PreviousFrame" type="Button" parent="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer/AnimationButtons/PlaybackButtons" groups=[
|
||||
"UIButtons",
|
||||
]]
|
||||
margin_left = 24.0
|
||||
margin_top = 6.0
|
||||
margin_top = 2.0
|
||||
margin_right = 44.0
|
||||
margin_bottom = 26.0
|
||||
margin_bottom = 22.0
|
||||
rect_min_size = Vector2( 20, 0 )
|
||||
hint_tooltip = "PREVIOUSFRAME_HT"
|
||||
focus_mode = 0
|
||||
mouse_default_cursor_shape = 2
|
||||
size_flags_vertical = 4
|
||||
shortcut_in_tooltip = false
|
||||
shortcut = SubResource( 4 )
|
||||
shortcut = SubResource( 6 )
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="AnimationContainer/TimelineContainer/TimelineButtons/AnimationButtons/PlaybackButtons/PreviousFrame"]
|
||||
[node name="TextureRect" type="TextureRect" parent="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer/AnimationButtons/PlaybackButtons/PreviousFrame"]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
|
@ -479,13 +517,13 @@ __meta__ = {
|
|||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="PlayBackwards" type="Button" parent="AnimationContainer/TimelineContainer/TimelineButtons/AnimationButtons/PlaybackButtons" groups=[
|
||||
[node name="PlayBackwards" type="Button" parent="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer/AnimationButtons/PlaybackButtons" groups=[
|
||||
"UIButtons",
|
||||
]]
|
||||
margin_left = 48.0
|
||||
margin_top = 6.0
|
||||
margin_top = 2.0
|
||||
margin_right = 68.0
|
||||
margin_bottom = 26.0
|
||||
margin_bottom = 22.0
|
||||
rect_min_size = Vector2( 20, 0 )
|
||||
hint_tooltip = "PLAYBACKWARDS_HT"
|
||||
focus_mode = 0
|
||||
|
@ -493,9 +531,9 @@ mouse_default_cursor_shape = 2
|
|||
size_flags_vertical = 4
|
||||
toggle_mode = true
|
||||
shortcut_in_tooltip = false
|
||||
shortcut = SubResource( 6 )
|
||||
shortcut = SubResource( 8 )
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="AnimationContainer/TimelineContainer/TimelineButtons/AnimationButtons/PlaybackButtons/PlayBackwards"]
|
||||
[node name="TextureRect" type="TextureRect" parent="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer/AnimationButtons/PlaybackButtons/PlayBackwards"]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
|
@ -509,13 +547,13 @@ __meta__ = {
|
|||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="PlayForward" type="Button" parent="AnimationContainer/TimelineContainer/TimelineButtons/AnimationButtons/PlaybackButtons" groups=[
|
||||
[node name="PlayForward" type="Button" parent="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer/AnimationButtons/PlaybackButtons" groups=[
|
||||
"UIButtons",
|
||||
]]
|
||||
margin_left = 72.0
|
||||
margin_top = 6.0
|
||||
margin_top = 2.0
|
||||
margin_right = 92.0
|
||||
margin_bottom = 26.0
|
||||
margin_bottom = 22.0
|
||||
rect_min_size = Vector2( 20, 0 )
|
||||
hint_tooltip = "PLAYFORWARD_HT"
|
||||
focus_mode = 0
|
||||
|
@ -524,9 +562,9 @@ size_flags_horizontal = 0
|
|||
size_flags_vertical = 4
|
||||
toggle_mode = true
|
||||
shortcut_in_tooltip = false
|
||||
shortcut = SubResource( 8 )
|
||||
shortcut = SubResource( 10 )
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="AnimationContainer/TimelineContainer/TimelineButtons/AnimationButtons/PlaybackButtons/PlayForward"]
|
||||
[node name="TextureRect" type="TextureRect" parent="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer/AnimationButtons/PlaybackButtons/PlayForward"]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
|
@ -540,22 +578,22 @@ __meta__ = {
|
|||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="NextFrame" type="Button" parent="AnimationContainer/TimelineContainer/TimelineButtons/AnimationButtons/PlaybackButtons" groups=[
|
||||
[node name="NextFrame" type="Button" parent="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer/AnimationButtons/PlaybackButtons" groups=[
|
||||
"UIButtons",
|
||||
]]
|
||||
margin_left = 96.0
|
||||
margin_top = 6.0
|
||||
margin_top = 2.0
|
||||
margin_right = 116.0
|
||||
margin_bottom = 26.0
|
||||
margin_bottom = 22.0
|
||||
rect_min_size = Vector2( 20, 0 )
|
||||
hint_tooltip = "NEXTFRAME_HT"
|
||||
focus_mode = 0
|
||||
mouse_default_cursor_shape = 2
|
||||
size_flags_vertical = 4
|
||||
shortcut_in_tooltip = false
|
||||
shortcut = SubResource( 10 )
|
||||
shortcut = SubResource( 12 )
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="AnimationContainer/TimelineContainer/TimelineButtons/AnimationButtons/PlaybackButtons/NextFrame"]
|
||||
[node name="TextureRect" type="TextureRect" parent="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer/AnimationButtons/PlaybackButtons/NextFrame"]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
|
@ -569,22 +607,22 @@ __meta__ = {
|
|||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="LastFrame" type="Button" parent="AnimationContainer/TimelineContainer/TimelineButtons/AnimationButtons/PlaybackButtons" groups=[
|
||||
[node name="LastFrame" type="Button" parent="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer/AnimationButtons/PlaybackButtons" groups=[
|
||||
"UIButtons",
|
||||
]]
|
||||
margin_left = 120.0
|
||||
margin_top = 6.0
|
||||
margin_top = 2.0
|
||||
margin_right = 140.0
|
||||
margin_bottom = 26.0
|
||||
margin_bottom = 22.0
|
||||
rect_min_size = Vector2( 20, 0 )
|
||||
hint_tooltip = "LASTFRAME_HT"
|
||||
focus_mode = 0
|
||||
mouse_default_cursor_shape = 2
|
||||
size_flags_vertical = 4
|
||||
shortcut_in_tooltip = false
|
||||
shortcut = SubResource( 12 )
|
||||
shortcut = SubResource( 14 )
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="AnimationContainer/TimelineContainer/TimelineButtons/AnimationButtons/PlaybackButtons/LastFrame"]
|
||||
[node name="TextureRect" type="TextureRect" parent="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer/AnimationButtons/PlaybackButtons/LastFrame"]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
|
@ -598,24 +636,24 @@ __meta__ = {
|
|||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="LoopButtons" type="HBoxContainer" parent="AnimationContainer/TimelineContainer/TimelineButtons/AnimationButtons"]
|
||||
margin_left = 540.0
|
||||
margin_right = 678.0
|
||||
margin_bottom = 32.0
|
||||
[node name="LoopButtons" type="HBoxContainer" parent="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer/AnimationButtons"]
|
||||
margin_left = 312.0
|
||||
margin_right = 450.0
|
||||
margin_bottom = 24.0
|
||||
|
||||
[node name="OnionSkinningSettings" type="Button" parent="AnimationContainer/TimelineContainer/TimelineButtons/AnimationButtons/LoopButtons" groups=[
|
||||
[node name="OnionSkinningSettings" type="Button" parent="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer/AnimationButtons/LoopButtons" groups=[
|
||||
"UIButtons",
|
||||
]]
|
||||
margin_top = 6.0
|
||||
margin_top = 2.0
|
||||
margin_right = 12.0
|
||||
margin_bottom = 26.0
|
||||
margin_bottom = 22.0
|
||||
hint_tooltip = "Onion Skinning settings"
|
||||
focus_mode = 0
|
||||
mouse_default_cursor_shape = 2
|
||||
size_flags_horizontal = 0
|
||||
size_flags_vertical = 4
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="AnimationContainer/TimelineContainer/TimelineButtons/AnimationButtons/LoopButtons/OnionSkinningSettings"]
|
||||
[node name="TextureRect" type="TextureRect" parent="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer/AnimationButtons/LoopButtons/OnionSkinningSettings"]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
|
@ -631,20 +669,20 @@ __meta__ = {
|
|||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="OnionSkinning" type="Button" parent="AnimationContainer/TimelineContainer/TimelineButtons/AnimationButtons/LoopButtons" groups=[
|
||||
[node name="OnionSkinning" type="Button" parent="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer/AnimationButtons/LoopButtons" groups=[
|
||||
"UIButtons",
|
||||
]]
|
||||
margin_left = 16.0
|
||||
margin_top = 6.0
|
||||
margin_top = 2.0
|
||||
margin_right = 36.0
|
||||
margin_bottom = 26.0
|
||||
margin_bottom = 22.0
|
||||
rect_min_size = Vector2( 20, 0 )
|
||||
hint_tooltip = "Enable/disable Onion Skinning"
|
||||
focus_mode = 0
|
||||
mouse_default_cursor_shape = 2
|
||||
size_flags_vertical = 4
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="AnimationContainer/TimelineContainer/TimelineButtons/AnimationButtons/LoopButtons/OnionSkinning"]
|
||||
[node name="TextureRect" type="TextureRect" parent="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer/AnimationButtons/LoopButtons/OnionSkinning"]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
|
@ -660,20 +698,20 @@ __meta__ = {
|
|||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="LoopAnim" type="Button" parent="AnimationContainer/TimelineContainer/TimelineButtons/AnimationButtons/LoopButtons" groups=[
|
||||
[node name="LoopAnim" type="Button" parent="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer/AnimationButtons/LoopButtons" groups=[
|
||||
"UIButtons",
|
||||
]]
|
||||
margin_left = 40.0
|
||||
margin_top = 6.0
|
||||
margin_top = 2.0
|
||||
margin_right = 60.0
|
||||
margin_bottom = 26.0
|
||||
margin_bottom = 22.0
|
||||
rect_min_size = Vector2( 20, 0 )
|
||||
hint_tooltip = "Cycle loop"
|
||||
focus_mode = 0
|
||||
mouse_default_cursor_shape = 2
|
||||
size_flags_vertical = 4
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="AnimationContainer/TimelineContainer/TimelineButtons/AnimationButtons/LoopButtons/LoopAnim"]
|
||||
[node name="TextureRect" type="TextureRect" parent="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer/AnimationButtons/LoopButtons/LoopAnim"]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
|
@ -687,28 +725,24 @@ __meta__ = {
|
|||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="FPSValue" type="SpinBox" parent="AnimationContainer/TimelineContainer/TimelineButtons/AnimationButtons/LoopButtons"]
|
||||
[node name="FPSValue" type="SpinBox" parent="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer/AnimationButtons/LoopButtons"]
|
||||
margin_left = 64.0
|
||||
margin_right = 138.0
|
||||
margin_bottom = 32.0
|
||||
margin_bottom = 24.0
|
||||
hint_tooltip = "How many frames per second should the animation preview be?
|
||||
The more FPS, the faster the animation plays."
|
||||
mouse_default_cursor_shape = 2
|
||||
size_flags_vertical = 4
|
||||
min_value = 0.1
|
||||
step = 0.1
|
||||
value = 6.0
|
||||
align = 1
|
||||
suffix = "FPS"
|
||||
|
||||
[node name="HSeparator" type="HSeparator" parent="AnimationContainer/TimelineContainer"]
|
||||
margin_top = 40.0
|
||||
margin_right = 894.0
|
||||
margin_bottom = 44.0
|
||||
|
||||
[node name="OpacityAndTagContainer" type="HBoxContainer" parent="AnimationContainer/TimelineContainer"]
|
||||
margin_top = 48.0
|
||||
margin_right = 894.0
|
||||
margin_bottom = 80.0
|
||||
margin_top = 50.0
|
||||
margin_right = 902.0
|
||||
margin_bottom = 82.0
|
||||
custom_constants/separation = 2
|
||||
|
||||
[node name="OpacityContainer" type="HBoxContainer" parent="AnimationContainer/TimelineContainer/OpacityAndTagContainer"]
|
||||
|
@ -747,31 +781,44 @@ align = 1
|
|||
|
||||
[node name="TagScroll" type="ScrollContainer" parent="AnimationContainer/TimelineContainer/OpacityAndTagContainer"]
|
||||
margin_left = 216.0
|
||||
margin_right = 894.0
|
||||
margin_right = 902.0
|
||||
margin_bottom = 32.0
|
||||
rect_min_size = Vector2( 0, 32 )
|
||||
size_flags_horizontal = 3
|
||||
theme = SubResource( 18 )
|
||||
theme = SubResource( 20 )
|
||||
scroll_vertical_enabled = false
|
||||
|
||||
[node name="TagContainer" type="Control" parent="AnimationContainer/TimelineContainer/OpacityAndTagContainer/TagScroll"]
|
||||
|
||||
[node name="TimelineScroll" type="ScrollContainer" parent="AnimationContainer/TimelineContainer"]
|
||||
margin_top = 84.0
|
||||
margin_right = 894.0
|
||||
[node name="SpacerControl2" type="Control" parent="AnimationContainer/TimelineContainer"]
|
||||
margin_top = 86.0
|
||||
margin_right = 902.0
|
||||
margin_bottom = 94.0
|
||||
rect_min_size = Vector2( 0, 8 )
|
||||
|
||||
[node name="PanelContainer" type="PanelContainer" parent="AnimationContainer/TimelineContainer"]
|
||||
margin_top = 98.0
|
||||
margin_right = 902.0
|
||||
margin_bottom = 200.0
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="LayersAndFrames" type="HBoxContainer" parent="AnimationContainer/TimelineContainer/TimelineScroll"]
|
||||
margin_right = 252.0
|
||||
margin_bottom = 116.0
|
||||
[node name="TimelineScroll" type="ScrollContainer" parent="AnimationContainer/TimelineContainer/PanelContainer"]
|
||||
margin_left = 7.0
|
||||
margin_top = 7.0
|
||||
margin_right = 895.0
|
||||
margin_bottom = 95.0
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="LayerVBoxCont" type="VBoxContainer" parent="AnimationContainer/TimelineContainer/TimelineScroll/LayersAndFrames"]
|
||||
margin_right = 212.0
|
||||
margin_bottom = 116.0
|
||||
[node name="LayersAndFrames" type="HBoxContainer" parent="AnimationContainer/TimelineContainer/PanelContainer/TimelineScroll"]
|
||||
margin_right = 252.0
|
||||
margin_bottom = 88.0
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="LayerLabel" type="Label" parent="AnimationContainer/TimelineContainer/TimelineScroll/LayersAndFrames/LayerVBoxCont"]
|
||||
[node name="LayerVBoxCont" type="VBoxContainer" parent="AnimationContainer/TimelineContainer/PanelContainer/TimelineScroll/LayersAndFrames"]
|
||||
margin_right = 212.0
|
||||
margin_bottom = 88.0
|
||||
|
||||
[node name="LayerLabel" type="Label" parent="AnimationContainer/TimelineContainer/PanelContainer/TimelineScroll/LayersAndFrames/LayerVBoxCont"]
|
||||
margin_right = 212.0
|
||||
margin_bottom = 16.0
|
||||
rect_min_size = Vector2( 0, 16 )
|
||||
|
@ -779,25 +826,25 @@ text = "Layers"
|
|||
align = 1
|
||||
valign = 1
|
||||
|
||||
[node name="LayersContainer" type="VBoxContainer" parent="AnimationContainer/TimelineContainer/TimelineScroll/LayersAndFrames/LayerVBoxCont"]
|
||||
[node name="LayersContainer" type="VBoxContainer" parent="AnimationContainer/TimelineContainer/PanelContainer/TimelineScroll/LayersAndFrames/LayerVBoxCont"]
|
||||
margin_top = 20.0
|
||||
margin_right = 212.0
|
||||
margin_bottom = 56.0
|
||||
|
||||
[node name="LayerContainer" parent="AnimationContainer/TimelineContainer/TimelineScroll/LayersAndFrames/LayerVBoxCont/LayersContainer" instance=ExtResource( 18 )]
|
||||
[node name="LayerContainer" parent="AnimationContainer/TimelineContainer/PanelContainer/TimelineScroll/LayersAndFrames/LayerVBoxCont/LayersContainer" instance=ExtResource( 18 )]
|
||||
margin_right = 212.0
|
||||
|
||||
[node name="FrameButtonsAndIds" type="VBoxContainer" parent="AnimationContainer/TimelineContainer/TimelineScroll/LayersAndFrames"]
|
||||
[node name="FrameButtonsAndIds" type="VBoxContainer" parent="AnimationContainer/TimelineContainer/PanelContainer/TimelineScroll/LayersAndFrames"]
|
||||
margin_left = 216.0
|
||||
margin_right = 252.0
|
||||
margin_bottom = 116.0
|
||||
margin_bottom = 88.0
|
||||
|
||||
[node name="FrameIDs" type="HBoxContainer" parent="AnimationContainer/TimelineContainer/TimelineScroll/LayersAndFrames/FrameButtonsAndIds"]
|
||||
[node name="FrameIDs" type="HBoxContainer" parent="AnimationContainer/TimelineContainer/PanelContainer/TimelineScroll/LayersAndFrames/FrameButtonsAndIds"]
|
||||
margin_right = 36.0
|
||||
margin_bottom = 16.0
|
||||
rect_min_size = Vector2( 0, 16 )
|
||||
|
||||
[node name="Label" type="Label" parent="AnimationContainer/TimelineContainer/TimelineScroll/LayersAndFrames/FrameButtonsAndIds/FrameIDs"]
|
||||
[node name="Label" type="Label" parent="AnimationContainer/TimelineContainer/PanelContainer/TimelineScroll/LayersAndFrames/FrameButtonsAndIds/FrameIDs"]
|
||||
margin_top = 1.0
|
||||
margin_right = 36.0
|
||||
margin_bottom = 15.0
|
||||
|
@ -805,16 +852,11 @@ rect_min_size = Vector2( 36, 0 )
|
|||
text = "1"
|
||||
align = 1
|
||||
|
||||
[node name="FramesContainer" type="VBoxContainer" parent="AnimationContainer/TimelineContainer/TimelineScroll/LayersAndFrames/FrameButtonsAndIds"]
|
||||
[node name="FramesContainer" type="VBoxContainer" parent="AnimationContainer/TimelineContainer/PanelContainer/TimelineScroll/LayersAndFrames/FrameButtonsAndIds"]
|
||||
margin_top = 20.0
|
||||
margin_right = 36.0
|
||||
margin_bottom = 20.0
|
||||
|
||||
[node name="VSeparator" type="VSeparator" parent="AnimationContainer"]
|
||||
margin_left = 898.0
|
||||
margin_right = 902.0
|
||||
margin_bottom = 200.0
|
||||
|
||||
[node name="AnimationTimer" type="Timer" parent="."]
|
||||
|
||||
[node name="OnionSkinningSettings" type="WindowDialog" parent="."]
|
||||
|
@ -872,26 +914,39 @@ mouse_default_cursor_shape = 2
|
|||
text = "Blue-Red Mode"
|
||||
|
||||
[node name="FrameTagDialog" parent="." instance=ExtResource( 42 )]
|
||||
[connection signal="pressed" from="AnimationContainer/TimelineContainer/TimelineButtons/LayerButtons/AddLayer" to="." method="add_layer" binds= [ true ]]
|
||||
[connection signal="pressed" from="AnimationContainer/TimelineContainer/TimelineButtons/LayerButtons/RemoveLayer" to="." method="_on_RemoveLayer_pressed"]
|
||||
[connection signal="pressed" from="AnimationContainer/TimelineContainer/TimelineButtons/LayerButtons/MoveUpLayer" to="." method="change_layer_order" binds= [ 1 ]]
|
||||
[connection signal="pressed" from="AnimationContainer/TimelineContainer/TimelineButtons/LayerButtons/MoveDownLayer" to="." method="change_layer_order" binds= [ -1 ]]
|
||||
[connection signal="pressed" from="AnimationContainer/TimelineContainer/TimelineButtons/LayerButtons/CloneLayer" to="." method="add_layer" binds= [ false ]]
|
||||
[connection signal="pressed" from="AnimationContainer/TimelineContainer/TimelineButtons/LayerButtons/MergeDownLayer" to="." method="_on_MergeDownLayer_pressed"]
|
||||
[connection signal="pressed" from="AnimationContainer/TimelineContainer/TimelineButtons/AnimationButtons/FrameButtons/AddFrame" to="." method="add_frame"]
|
||||
[connection signal="pressed" from="AnimationContainer/TimelineContainer/TimelineButtons/AnimationButtons/FrameButtons/DeleteFrame" to="." method="_on_DeleteFrame_pressed"]
|
||||
[connection signal="pressed" from="AnimationContainer/TimelineContainer/TimelineButtons/AnimationButtons/FrameButtons/CopyFrame" to="." method="_on_CopyFrame_pressed"]
|
||||
[connection signal="pressed" from="AnimationContainer/TimelineContainer/TimelineButtons/AnimationButtons/FrameButtons/FrameTagButton" to="." method="_on_FrameTagButton_pressed"]
|
||||
[connection signal="pressed" from="AnimationContainer/TimelineContainer/TimelineButtons/AnimationButtons/PlaybackButtons/FirstFrame" to="." method="_on_FirstFrame_pressed"]
|
||||
[connection signal="pressed" from="AnimationContainer/TimelineContainer/TimelineButtons/AnimationButtons/PlaybackButtons/PreviousFrame" to="." method="_on_PreviousFrame_pressed"]
|
||||
[connection signal="toggled" from="AnimationContainer/TimelineContainer/TimelineButtons/AnimationButtons/PlaybackButtons/PlayBackwards" to="." method="_on_PlayBackwards_toggled"]
|
||||
[connection signal="toggled" from="AnimationContainer/TimelineContainer/TimelineButtons/AnimationButtons/PlaybackButtons/PlayForward" to="." method="_on_PlayForward_toggled"]
|
||||
[connection signal="pressed" from="AnimationContainer/TimelineContainer/TimelineButtons/AnimationButtons/PlaybackButtons/NextFrame" to="." method="_on_NextFrame_pressed"]
|
||||
[connection signal="pressed" from="AnimationContainer/TimelineContainer/TimelineButtons/AnimationButtons/PlaybackButtons/LastFrame" to="." method="_on_LastFrame_pressed"]
|
||||
[connection signal="pressed" from="AnimationContainer/TimelineContainer/TimelineButtons/AnimationButtons/LoopButtons/OnionSkinningSettings" to="." method="_on_OnionSkinningSettings_pressed"]
|
||||
[connection signal="pressed" from="AnimationContainer/TimelineContainer/TimelineButtons/AnimationButtons/LoopButtons/OnionSkinning" to="." method="_on_OnionSkinning_pressed"]
|
||||
[connection signal="pressed" from="AnimationContainer/TimelineContainer/TimelineButtons/AnimationButtons/LoopButtons/LoopAnim" to="." method="_on_LoopAnim_pressed"]
|
||||
[connection signal="value_changed" from="AnimationContainer/TimelineContainer/TimelineButtons/AnimationButtons/LoopButtons/FPSValue" to="." method="_on_FPSValue_value_changed"]
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="."]
|
||||
anchor_left = 0.5
|
||||
anchor_right = 0.5
|
||||
margin_left = -24.0
|
||||
margin_top = -6.0
|
||||
margin_right = 24.0
|
||||
margin_bottom = -4.76837e-07
|
||||
mouse_filter = 2
|
||||
texture = ExtResource( 8 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
[connection signal="pressed" from="AnimationContainer/TimelineContainer/TimelineButtons/LayerButtonPanelContainer/LayerButtons/AddLayer" to="." method="add_layer" binds= [ true ]]
|
||||
[connection signal="pressed" from="AnimationContainer/TimelineContainer/TimelineButtons/LayerButtonPanelContainer/LayerButtons/RemoveLayer" to="." method="_on_RemoveLayer_pressed"]
|
||||
[connection signal="pressed" from="AnimationContainer/TimelineContainer/TimelineButtons/LayerButtonPanelContainer/LayerButtons/MoveUpLayer" to="." method="change_layer_order" binds= [ 1 ]]
|
||||
[connection signal="pressed" from="AnimationContainer/TimelineContainer/TimelineButtons/LayerButtonPanelContainer/LayerButtons/MoveDownLayer" to="." method="change_layer_order" binds= [ -1 ]]
|
||||
[connection signal="pressed" from="AnimationContainer/TimelineContainer/TimelineButtons/LayerButtonPanelContainer/LayerButtons/CloneLayer" to="." method="add_layer" binds= [ false ]]
|
||||
[connection signal="pressed" from="AnimationContainer/TimelineContainer/TimelineButtons/LayerButtonPanelContainer/LayerButtons/MergeDownLayer" to="." method="_on_MergeDownLayer_pressed"]
|
||||
[connection signal="pressed" from="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer/AnimationButtons/FrameButtons/AddFrame" to="." method="add_frame"]
|
||||
[connection signal="pressed" from="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer/AnimationButtons/FrameButtons/DeleteFrame" to="." method="_on_DeleteFrame_pressed"]
|
||||
[connection signal="pressed" from="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer/AnimationButtons/FrameButtons/CopyFrame" to="." method="_on_CopyFrame_pressed"]
|
||||
[connection signal="pressed" from="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer/AnimationButtons/FrameButtons/FrameTagButton" to="." method="_on_FrameTagButton_pressed"]
|
||||
[connection signal="pressed" from="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer/AnimationButtons/PlaybackButtons/FirstFrame" to="." method="_on_FirstFrame_pressed"]
|
||||
[connection signal="pressed" from="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer/AnimationButtons/PlaybackButtons/PreviousFrame" to="." method="_on_PreviousFrame_pressed"]
|
||||
[connection signal="toggled" from="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer/AnimationButtons/PlaybackButtons/PlayBackwards" to="." method="_on_PlayBackwards_toggled"]
|
||||
[connection signal="toggled" from="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer/AnimationButtons/PlaybackButtons/PlayForward" to="." method="_on_PlayForward_toggled"]
|
||||
[connection signal="pressed" from="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer/AnimationButtons/PlaybackButtons/NextFrame" to="." method="_on_NextFrame_pressed"]
|
||||
[connection signal="pressed" from="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer/AnimationButtons/PlaybackButtons/LastFrame" to="." method="_on_LastFrame_pressed"]
|
||||
[connection signal="pressed" from="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer/AnimationButtons/LoopButtons/OnionSkinningSettings" to="." method="_on_OnionSkinningSettings_pressed"]
|
||||
[connection signal="pressed" from="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer/AnimationButtons/LoopButtons/OnionSkinning" to="." method="_on_OnionSkinning_pressed"]
|
||||
[connection signal="pressed" from="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer/AnimationButtons/LoopButtons/LoopAnim" to="." method="_on_LoopAnim_pressed"]
|
||||
[connection signal="value_changed" from="AnimationContainer/TimelineContainer/TimelineButtons/PanelContainer/AnimationButtons/LoopButtons/FPSValue" to="." method="_on_FPSValue_value_changed"]
|
||||
[connection signal="value_changed" from="AnimationContainer/TimelineContainer/OpacityAndTagContainer/OpacityContainer/OpacitySlider" to="." method="_on_OpacitySlider_value_changed"]
|
||||
[connection signal="value_changed" from="AnimationContainer/TimelineContainer/OpacityAndTagContainer/OpacityContainer/OpacitySpinBox" to="." method="_on_OpacitySlider_value_changed"]
|
||||
[connection signal="timeout" from="AnimationTimer" to="." method="_on_AnimationTimer_timeout"]
|
||||
|
|
Loading…
Reference in a new issue