Skip to content
Snippets Groups Projects
Commit 0b96c416 authored by SeeLook's avatar SeeLook :musical_note:
Browse files

[Ukulele] Added rosette image and string shadows

get_bundle
parent 611bf210
No related branches found
No related tags found
No related merge requests found
Pipeline #4006 passed
picts/rosette-ukulele.png

243 KiB

...@@ -46,14 +46,23 @@ TguitarBg { ...@@ -46,14 +46,23 @@ TguitarBg {
Image { // body Image { // body
cache: false cache: false
source: NOO.pix("body-ukulele") source: NOO.pix("body-ukulele")
height: parent.height * 6 height: parent.height * 5
width: height * (sourceSize.width / sourceSize.height) width: height * (sourceSize.width / sourceSize.height)
x: xiiFret; y: parent.height - height * 0.67 x: xiiFret; y: parent.height - height * 0.67
} }
Rectangle { Repeater { // strings shadow over body
x: parent.width * 0.85; y: parent.height - fbRect.height model: 4
width: fbRect.height; height: fbRect.height; radius: width / 2 Rectangle {
color: "black" x: fbRect.x + fbRect.width; y: fbRect.y + stringsGap / 2 + index * stringsGap + 2.5 * height
width: parent.width - x - stringsGap * 0.8; height: strWidth(index)
color: "#201c1c1c"
}
}
Image {
cache: false
source: NOO.pix("rosette-ukulele")
x: fbRect.width + height * 0.5; y: parent.height - fbRect.height
width: fbRect.height; height: fbRect.height
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment