From 1a1a191923a79d453d89b3bacf64b3e71de5f9dd Mon Sep 17 00:00:00 2001 From: Marco Date: Thu, 27 Mar 2025 12:15:34 +0100 Subject: [PATCH] Vertical grabbers --- Resources/Styles/HorizontalGrabberBox.tres | 11 ++++++ Resources/Styles/VerticalGrabberBox.tres | 11 ++++++ Resources/Styles/VerticalScrollStyleBox.tres | 11 ++++++ Sprites/UI/ScrollGrabber.aseprite | 3 ++ Sprites/UI/ScrollGrabber.png | 3 ++ Sprites/UI/ScrollGrabber.png.import | 34 +++++++++++++++++++ Sprites/UI/ScrollGrabberHorizontal.aseprite | 3 ++ Sprites/UI/ScrollGrabberHorizontal.png | 3 ++ Sprites/UI/ScrollGrabberHorizontal.png.import | 34 +++++++++++++++++++ Sprites/UI/VerticalBar.aseprite | 3 ++ Sprites/UI/VerticalBar.png | 3 ++ Sprites/UI/VerticalBar.png.import | 34 +++++++++++++++++++ 12 files changed, 153 insertions(+) create mode 100644 Resources/Styles/HorizontalGrabberBox.tres create mode 100644 Resources/Styles/VerticalGrabberBox.tres create mode 100644 Resources/Styles/VerticalScrollStyleBox.tres create mode 100644 Sprites/UI/ScrollGrabber.aseprite create mode 100644 Sprites/UI/ScrollGrabber.png create mode 100644 Sprites/UI/ScrollGrabber.png.import create mode 100644 Sprites/UI/ScrollGrabberHorizontal.aseprite create mode 100644 Sprites/UI/ScrollGrabberHorizontal.png create mode 100644 Sprites/UI/ScrollGrabberHorizontal.png.import create mode 100644 Sprites/UI/VerticalBar.aseprite create mode 100644 Sprites/UI/VerticalBar.png create mode 100644 Sprites/UI/VerticalBar.png.import diff --git a/Resources/Styles/HorizontalGrabberBox.tres b/Resources/Styles/HorizontalGrabberBox.tres new file mode 100644 index 00000000..5e7f5139 --- /dev/null +++ b/Resources/Styles/HorizontalGrabberBox.tres @@ -0,0 +1,11 @@ +[gd_resource type="StyleBoxTexture" load_steps=2 format=3 uid="uid://cpa8himkyhn61"] + +[ext_resource type="Texture2D" uid="uid://d4wo6kxffwo5" path="res://Sprites/UI/ScrollGrabberHorizontal.png" id="1_ly34y"] + +[resource] +texture = ExtResource("1_ly34y") +texture_margin_left = 3.0 +texture_margin_top = 3.0 +texture_margin_right = 3.0 +texture_margin_bottom = 3.0 +axis_stretch_horizontal = 2 diff --git a/Resources/Styles/VerticalGrabberBox.tres b/Resources/Styles/VerticalGrabberBox.tres new file mode 100644 index 00000000..da336b34 --- /dev/null +++ b/Resources/Styles/VerticalGrabberBox.tres @@ -0,0 +1,11 @@ +[gd_resource type="StyleBoxTexture" load_steps=2 format=3 uid="uid://dj8x7ss2wee7k"] + +[ext_resource type="Texture2D" uid="uid://d22shrdi1kf7" path="res://Sprites/UI/ScrollGrabber.png" id="1_dgwtf"] + +[resource] +texture = ExtResource("1_dgwtf") +texture_margin_left = 3.0 +texture_margin_top = 3.0 +texture_margin_right = 3.0 +texture_margin_bottom = 3.0 +axis_stretch_vertical = 2 diff --git a/Resources/Styles/VerticalScrollStyleBox.tres b/Resources/Styles/VerticalScrollStyleBox.tres new file mode 100644 index 00000000..8266f420 --- /dev/null +++ b/Resources/Styles/VerticalScrollStyleBox.tres @@ -0,0 +1,11 @@ +[gd_resource type="StyleBoxTexture" load_steps=2 format=3 uid="uid://5ceac1vp2b47"] + +[ext_resource type="Texture2D" uid="uid://cov7kbtwhknkt" path="res://Sprites/UI/VerticalBar.png" id="1_lvk81"] + +[resource] +texture = ExtResource("1_lvk81") +texture_margin_left = 4.0 +texture_margin_top = 4.0 +texture_margin_right = 4.0 +texture_margin_bottom = 4.0 +axis_stretch_vertical = 2 diff --git a/Sprites/UI/ScrollGrabber.aseprite b/Sprites/UI/ScrollGrabber.aseprite new file mode 100644 index 00000000..04922c2a --- /dev/null +++ b/Sprites/UI/ScrollGrabber.aseprite @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d8d37c091ff68205880c68bf03bfcebf084cdc469743e101c73d8dfc772750da +size 1243 diff --git a/Sprites/UI/ScrollGrabber.png b/Sprites/UI/ScrollGrabber.png new file mode 100644 index 00000000..5a3a3903 --- /dev/null +++ b/Sprites/UI/ScrollGrabber.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:624a3e39fe11e05465d06cfd2fcef6094aefc3d61336b8e03e328df6fcfbc9af +size 136 diff --git a/Sprites/UI/ScrollGrabber.png.import b/Sprites/UI/ScrollGrabber.png.import new file mode 100644 index 00000000..2a26d20f --- /dev/null +++ b/Sprites/UI/ScrollGrabber.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://d22shrdi1kf7" +path="res://.godot/imported/ScrollGrabber.png-fa4969d108880b9d3e6cc0aa75c3b237.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Sprites/UI/ScrollGrabber.png" +dest_files=["res://.godot/imported/ScrollGrabber.png-fa4969d108880b9d3e6cc0aa75c3b237.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/Sprites/UI/ScrollGrabberHorizontal.aseprite b/Sprites/UI/ScrollGrabberHorizontal.aseprite new file mode 100644 index 00000000..cc299f2b --- /dev/null +++ b/Sprites/UI/ScrollGrabberHorizontal.aseprite @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a6bcacd3b02753cc17f26e5704949d17e3b8dc88d7eca472e813a748d098246b +size 1243 diff --git a/Sprites/UI/ScrollGrabberHorizontal.png b/Sprites/UI/ScrollGrabberHorizontal.png new file mode 100644 index 00000000..84152ae5 --- /dev/null +++ b/Sprites/UI/ScrollGrabberHorizontal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8361d2539be84f83e4beed96b8407690bd9e5c5584f0f2a3c4f8f4a4f33b9a52 +size 147 diff --git a/Sprites/UI/ScrollGrabberHorizontal.png.import b/Sprites/UI/ScrollGrabberHorizontal.png.import new file mode 100644 index 00000000..196e5b4d --- /dev/null +++ b/Sprites/UI/ScrollGrabberHorizontal.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://d4wo6kxffwo5" +path="res://.godot/imported/ScrollGrabberHorizontal.png-314a2a47cc00283ff8ba687ecc1e4cfd.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Sprites/UI/ScrollGrabberHorizontal.png" +dest_files=["res://.godot/imported/ScrollGrabberHorizontal.png-314a2a47cc00283ff8ba687ecc1e4cfd.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/Sprites/UI/VerticalBar.aseprite b/Sprites/UI/VerticalBar.aseprite new file mode 100644 index 00000000..0884c8fd --- /dev/null +++ b/Sprites/UI/VerticalBar.aseprite @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2bc97de68b3901bf59ea445784e7b41e9fc161e36b6c856ce1713236bbc33254 +size 1333 diff --git a/Sprites/UI/VerticalBar.png b/Sprites/UI/VerticalBar.png new file mode 100644 index 00000000..96546574 --- /dev/null +++ b/Sprites/UI/VerticalBar.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5177e2c774714f4143622b8155254a24cdc001935607c7e404fa47068a9c5534 +size 145 diff --git a/Sprites/UI/VerticalBar.png.import b/Sprites/UI/VerticalBar.png.import new file mode 100644 index 00000000..0d19fcd7 --- /dev/null +++ b/Sprites/UI/VerticalBar.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cov7kbtwhknkt" +path="res://.godot/imported/VerticalBar.png-98285bb234fe2b900bc10972f9bb0b9a.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Sprites/UI/VerticalBar.png" +dest_files=["res://.godot/imported/VerticalBar.png-98285bb234fe2b900bc10972f9bb0b9a.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1