refractor: DeltaruneQuickshell -> Shell
This commit is contained in:
31
Shell/DialogBox/DialogBox.qml
Normal file
31
Shell/DialogBox/DialogBox.qml
Normal file
@@ -0,0 +1,31 @@
|
||||
import QtQuick
|
||||
|
||||
Item {
|
||||
id: dialogboxroot
|
||||
implicitHeight: 378
|
||||
implicitWidth: 1334
|
||||
readonly property int text_x: 350 - 275
|
||||
readonly property int text_y: 55
|
||||
readonly property int font_size: 48
|
||||
property string text: "(The power of Hyprland shines within you...)"
|
||||
|
||||
Image {
|
||||
source: "./frame.png"
|
||||
}
|
||||
Text {
|
||||
text: dialogboxroot.text
|
||||
font.family: "8-bit Operator+"
|
||||
font.pixelSize: dialogboxroot.font_size
|
||||
color: "#04047C"
|
||||
x: dialogboxroot.text_x + 2
|
||||
y: dialogboxroot.text_y + 2
|
||||
}
|
||||
Text {
|
||||
text: dialogboxroot.text
|
||||
font.family: "8-bit Operator+"
|
||||
font.pixelSize: dialogboxroot.font_size
|
||||
color: "#ffffff"
|
||||
x: dialogboxroot.text_x
|
||||
y: dialogboxroot.text_y
|
||||
}
|
||||
}
|
||||
BIN
Shell/DialogBox/frame.png
Normal file
BIN
Shell/DialogBox/frame.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 MiB |
Reference in New Issue
Block a user