chore: upd
This commit is contained in:
@@ -9,8 +9,8 @@ top bar:
|
||||
option items:
|
||||
selected: #ffc90e
|
||||
unselected: #614e6b
|
||||
gap: 76px
|
||||
top: 45px
|
||||
gap: 76
|
||||
top: 45
|
||||
|
||||
selection soul offset frop top left:
|
||||
x: 19
|
||||
@@ -26,4 +26,11 @@ top bar:
|
||||
offset x: 2
|
||||
offset y: 2
|
||||
color: #04047C
|
||||
|
||||
|
||||
settings:
|
||||
with 9slice borders:
|
||||
x: 1217
|
||||
y: 767
|
||||
without:
|
||||
x: 1154
|
||||
y: 504
|
||||
@@ -7,6 +7,7 @@ Item {
|
||||
id: topbar
|
||||
implicitWidth: 1312
|
||||
implicitHeight: 182
|
||||
|
||||
anchors.centerIn: parent
|
||||
|
||||
property var iconSources: ["item.png", "equip.png", "power.png", "config.png"]
|
||||
@@ -31,6 +32,7 @@ Item {
|
||||
|
||||
Image {
|
||||
source: "./topbar/setting_names/" + topbar.iconSources[topbar.selectedIndex]
|
||||
x: -64
|
||||
}
|
||||
|
||||
FocusScope {
|
||||
@@ -46,6 +48,7 @@ Item {
|
||||
spacing: 76
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
y: 45
|
||||
anchors.horizontalCenterOffset: -38
|
||||
|
||||
Repeater {
|
||||
model: topbar.iconSources
|
||||
|
||||
@@ -4,11 +4,12 @@ import QtQuick
|
||||
|
||||
Item {
|
||||
Text {
|
||||
x: 1064 + 117
|
||||
y: 37 + 9
|
||||
x: 1064 + 117 - 75
|
||||
y: 37 + 9 + 1
|
||||
color: "#ffffff"
|
||||
text: "D$ 4294"
|
||||
font.pixelSize: 64
|
||||
font.pixelSize: 16 * 4 // nearest to 72
|
||||
antialiasing: false
|
||||
font.family: "8bitoperator JVE"
|
||||
}
|
||||
|
||||
|
||||
19
Shell/Window/Window.qml
Normal file
19
Shell/Window/Window.qml
Normal file
@@ -0,0 +1,19 @@
|
||||
import Quickshell
|
||||
import Quickshell.Wayland
|
||||
import QtQuick
|
||||
|
||||
PanelWindow {
|
||||
WlrLayershell.layer: WlrLayer.Top
|
||||
WlrLayershell.focusable: true
|
||||
WlrLayershell.keyboardFocus: WlrKeyboardFocus.OnDemand
|
||||
WlrLayershell.namespace: "deltarune-quickshell"
|
||||
|
||||
visible: true
|
||||
exclusionMode: ExclusionMode.Ignore
|
||||
aboveWindows: true
|
||||
focusable: true
|
||||
|
||||
implicitWidth: 1217
|
||||
implicitHeight: 767
|
||||
color: "#000000"
|
||||
}
|
||||
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
@@ -22,7 +22,7 @@ ShellRoot {
|
||||
triggerDescription: "Toggle the menu"
|
||||
name: "shell_toggle"
|
||||
onReleased: {
|
||||
ShellStateManager.toggleShell()
|
||||
ShellStateManager.toggleShell();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,10 +30,10 @@ ShellRoot {
|
||||
target: "deltarune.shell"
|
||||
enabled: true
|
||||
function open(): void {
|
||||
ShellStateManager.openShell()
|
||||
ShellStateManager.openShell();
|
||||
}
|
||||
function close(): void {
|
||||
ShellStateManager.closeShell()
|
||||
ShellStateManager.closeShell();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user