|
1 | | -[gd_scene load_steps=5 format=3 uid="uid://c1j6a4jdggjm6"] |
| 1 | +[gd_scene load_steps=6 format=3 uid="uid://c1j6a4jdggjm6"] |
2 | 2 |
|
3 | 3 | [ext_resource type="PackedScene" uid="uid://drg0s4lftblx3" path="res://material_maker/windows/preferences/bool_option.tscn" id="1"] |
4 | 4 | [ext_resource type="Script" uid="uid://cwom8loyqsvf2" path="res://material_maker/windows/preferences/preferences.gd" id="2"] |
5 | 5 | [ext_resource type="PackedScene" uid="uid://3lo2jh781ten" path="res://material_maker/windows/preferences/float_option.tscn" id="3"] |
6 | 6 | [ext_resource type="Script" uid="uid://gmystrme5ayw" path="res://material_maker/windows/preferences/lang_option.gd" id="4"] |
| 7 | +[ext_resource type="Script" path="res://material_maker/windows/preferences/enum_option.gd" id="5_vp06c"] |
7 | 8 |
|
8 | 9 | [node name="Preferences" type="Window"] |
9 | 10 | oversampling_override = 1.0 |
@@ -149,6 +150,35 @@ Changes to this setting are only applied on application restart." |
149 | 150 | text = "3D preview sun shadow (requires restart)" |
150 | 151 | config_variable = "ui_3d_preview_sun_shadow" |
151 | 152 |
|
| 153 | +[node name="WinTabletDriverSpacer" type="Control" parent="VBoxContainer/TabContainer/General"] |
| 154 | +custom_minimum_size = Vector2(0, 10) |
| 155 | +layout_mode = 2 |
| 156 | + |
| 157 | +[node name="WinTabletDriver" type="HBoxContainer" parent="VBoxContainer/TabContainer/General"] |
| 158 | +layout_mode = 2 |
| 159 | + |
| 160 | +[node name="Label" type="Label" parent="VBoxContainer/TabContainer/General/WinTabletDriver"] |
| 161 | +layout_mode = 2 |
| 162 | +text = "Tablet Driver:" |
| 163 | + |
| 164 | +[node name="EnumOption" type="OptionButton" parent="VBoxContainer/TabContainer/General/WinTabletDriver"] |
| 165 | +layout_mode = 2 |
| 166 | +tooltip_text = "Pen tablet driver to use |
| 167 | +
|
| 168 | +Winink: Windows Ink API (Windows 8.1+) |
| 169 | +Wintab: Wacom Tablet API (Requires a compatible device driver) |
| 170 | +Disabled: Disables pen tablet input" |
| 171 | +selected = 0 |
| 172 | +item_count = 3 |
| 173 | +popup/item_0/text = "Winink" |
| 174 | +popup/item_0/id = 0 |
| 175 | +popup/item_1/text = "Wintab" |
| 176 | +popup/item_1/id = 1 |
| 177 | +popup/item_2/text = "Disabled" |
| 178 | +popup/item_2/id = 2 |
| 179 | +script = ExtResource("5_vp06c") |
| 180 | +config_variable = "win_tablet_driver" |
| 181 | + |
152 | 182 | [node name="Space2" type="Control" parent="VBoxContainer/TabContainer/General"] |
153 | 183 | custom_minimum_size = Vector2(0, 10) |
154 | 184 | layout_mode = 2 |
@@ -309,6 +339,7 @@ text = "Cancel" |
309 | 339 |
|
310 | 340 | [connection signal="about_to_popup" from="." to="." method="_on_Preferences_about_to_show"] |
311 | 341 | [connection signal="close_requested" from="." to="." method="_on_Cancel_pressed"] |
| 342 | +[connection signal="ready" from="." to="." method="_on_ready"] |
312 | 343 | [connection signal="minimum_size_changed" from="VBoxContainer" to="." method="_on_VBoxContainer_minimum_size_changed"] |
313 | 344 | [connection signal="pressed" from="VBoxContainer/TabContainer/General/HBoxContainer/InstallLanguage" to="." method="_on_InstallLanguage_pressed"] |
314 | 345 | [connection signal="pressed" from="VBoxContainer/TabContainer/General/HBoxContainer/DownloadLanguage" to="." method="_on_DownloadLanguage_pressed"] |
|
0 commit comments