2023-04-09 13:35:35 +08:00
|
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
2022-09-14 13:01:10 +08:00
|
|
|
import QtQuick
|
2023-05-19 10:08:36 +08:00
|
|
|
import Fk
|
2022-03-23 19:40:28 +08:00
|
|
|
|
|
|
|
Image {
|
2023-09-06 22:16:09 +08:00
|
|
|
source: SkinBank.MAGATAMA_DIR + "0" + (config.heg ? '-heg' : '')
|
2022-04-30 15:27:56 +08:00
|
|
|
state: "3"
|
2023-09-06 22:16:09 +08:00
|
|
|
height: 19; fillMode: Image.PreserveAspectFit
|
2022-03-23 19:40:28 +08:00
|
|
|
|
2022-04-30 15:27:56 +08:00
|
|
|
states: [
|
|
|
|
State {
|
|
|
|
name: "3"
|
|
|
|
PropertyChanges {
|
|
|
|
target: main
|
2023-09-06 22:16:09 +08:00
|
|
|
source: SkinBank.MAGATAMA_DIR + "3" + (config.heg ? '-heg' : '')
|
2022-04-30 15:27:56 +08:00
|
|
|
opacity: 1
|
|
|
|
scale: 1
|
|
|
|
}
|
|
|
|
},
|
|
|
|
State {
|
|
|
|
name: "2"
|
|
|
|
PropertyChanges {
|
|
|
|
target: main
|
2023-09-06 22:16:09 +08:00
|
|
|
source: SkinBank.MAGATAMA_DIR + "2" + (config.heg ? '-heg' : '')
|
2022-04-30 15:27:56 +08:00
|
|
|
opacity: 1
|
|
|
|
scale: 1
|
|
|
|
}
|
|
|
|
},
|
|
|
|
State {
|
|
|
|
name: "1"
|
|
|
|
PropertyChanges {
|
|
|
|
target: main
|
2023-09-06 22:16:09 +08:00
|
|
|
source: SkinBank.MAGATAMA_DIR + "1" + (config.heg ? '-heg' : '')
|
2022-04-30 15:27:56 +08:00
|
|
|
opacity: 1
|
|
|
|
scale: 1
|
|
|
|
}
|
|
|
|
},
|
|
|
|
State {
|
|
|
|
name: "0"
|
|
|
|
PropertyChanges {
|
|
|
|
target: main
|
2023-09-06 22:16:09 +08:00
|
|
|
source: SkinBank.MAGATAMA_DIR + "0" + (config.heg ? '-heg' : '')
|
2022-04-30 15:27:56 +08:00
|
|
|
opacity: 0
|
|
|
|
scale: 4
|
|
|
|
}
|
2022-03-23 19:40:28 +08:00
|
|
|
}
|
2022-04-30 15:27:56 +08:00
|
|
|
]
|
2022-03-23 19:40:28 +08:00
|
|
|
|
2022-04-30 15:27:56 +08:00
|
|
|
transitions: Transition {
|
|
|
|
PropertyAnimation {
|
|
|
|
properties: "opacity,scale"
|
2022-03-23 19:40:28 +08:00
|
|
|
}
|
2022-04-30 15:27:56 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
Image {
|
|
|
|
id: main
|
|
|
|
anchors.centerIn: parent
|
2023-09-06 22:16:09 +08:00
|
|
|
height: 19; fillMode: Image.PreserveAspectFit
|
2022-04-30 15:27:56 +08:00
|
|
|
}
|
2022-03-23 19:40:28 +08:00
|
|
|
}
|