mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-12-14 16:54:43 -05:00
Changes to the tool options UI
New option for the color picker tool (closes #115 - also includes new translatable strings), VSplitContainer for the tools and their options and a ScrollContainer for the tool options.
This commit is contained in:
parent
60422c0133
commit
5cce9d3180
15 changed files with 514 additions and 311 deletions
|
|
@ -57,6 +57,12 @@ var left_ld_amount := 0.1
|
|||
# warning-ignore:unused_class_variable
|
||||
var right_ld_amount := 0.1
|
||||
|
||||
# 0 for the left, 1 for the right
|
||||
# warning-ignore:unused_class_variable
|
||||
var left_color_picker_for := 0
|
||||
# warning-ignore:unused_class_variable
|
||||
var right_color_picker_for := 1
|
||||
|
||||
# warning-ignore:unused_class_variable
|
||||
var left_horizontal_mirror := false
|
||||
# warning-ignore:unused_class_variable
|
||||
|
|
@ -185,6 +191,9 @@ var right_ld_container : Container
|
|||
var right_ld_amount_slider : HSlider
|
||||
var right_ld_amount_spinbox : SpinBox
|
||||
|
||||
var left_colorpicker_container : Container
|
||||
var right_colorpicker_container : Container
|
||||
|
||||
var left_mirror_container : Container
|
||||
var right_mirror_container : Container
|
||||
|
||||
|
|
@ -297,6 +306,9 @@ func _ready() -> void:
|
|||
right_ld_amount_slider = find_node_by_name(right_ld_container, "RightLDAmountSlider")
|
||||
right_ld_amount_spinbox = find_node_by_name(right_ld_container, "RightLDAmountSpinbox")
|
||||
|
||||
left_colorpicker_container = find_node_by_name(left_tool_options_container, "LeftColorPickerOptions")
|
||||
right_colorpicker_container = find_node_by_name(right_tool_options_container, "RightColorPickerOptions")
|
||||
|
||||
left_mirror_container = find_node_by_name(left_tool_options_container, "LeftMirroring")
|
||||
right_mirror_container = find_node_by_name(right_tool_options_container, "RightMirroring")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue