Panels: splitted bg and content for improved perfs.

This commit is contained in:
ItsLemmy
2025-11-11 22:03:57 -05:00
parent 3d6e1dc7d9
commit b3fbe7eff3
7 changed files with 1399 additions and 1225 deletions
@@ -67,91 +67,91 @@ Item {
// Audio
PanelBackground {
panel: root.windowRoot.audioPanel
panel: root.windowRoot.audioPanelPlaceholder
shapeContainer: backgroundsShape
backgroundColor: Color.mSurface
}
// Battery
PanelBackground {
panel: root.windowRoot.batteryPanel
panel: root.windowRoot.batteryPanelPlaceholder
shapeContainer: backgroundsShape
backgroundColor: Color.mSurface
}
// Bluetooth
PanelBackground {
panel: root.windowRoot.bluetoothPanel
panel: root.windowRoot.bluetoothPanelPlaceholder
shapeContainer: backgroundsShape
backgroundColor: Color.mSurface
}
// Calendar
PanelBackground {
panel: root.windowRoot.calendarPanel
panel: root.windowRoot.calendarPanelPlaceholder
shapeContainer: backgroundsShape
backgroundColor: Color.mSurface
}
// Control Center
PanelBackground {
panel: root.windowRoot.controlCenterPanel
panel: root.windowRoot.controlCenterPanelPlaceholder
shapeContainer: backgroundsShape
backgroundColor: Color.mSurface
}
// Launcher
PanelBackground {
panel: root.windowRoot.launcherPanel
panel: root.windowRoot.launcherPanelPlaceholder
shapeContainer: backgroundsShape
backgroundColor: Qt.alpha(Color.mSurface, Settings.data.appLauncher.backgroundOpacity)
}
// Notification History
PanelBackground {
panel: root.windowRoot.notificationHistoryPanel
panel: root.windowRoot.notificationHistoryPanelPlaceholder
shapeContainer: backgroundsShape
backgroundColor: Color.mSurface
}
// Session Menu
PanelBackground {
panel: root.windowRoot.sessionMenuPanel
panel: root.windowRoot.sessionMenuPanelPlaceholder
shapeContainer: backgroundsShape
backgroundColor: Color.mSurface
}
// Settings
PanelBackground {
panel: root.windowRoot.settingsPanel
panel: root.windowRoot.settingsPanelPlaceholder
shapeContainer: backgroundsShape
backgroundColor: Color.mSurface
}
// Setup Wizard
PanelBackground {
panel: root.windowRoot.setupWizardPanel
panel: root.windowRoot.setupWizardPanelPlaceholder
shapeContainer: backgroundsShape
backgroundColor: Color.mSurface
}
// TrayDrawer
PanelBackground {
panel: root.windowRoot.trayDrawerPanel
panel: root.windowRoot.trayDrawerPanelPlaceholder
shapeContainer: backgroundsShape
backgroundColor: Color.mSurface
}
// Wallpaper
PanelBackground {
panel: root.windowRoot.wallpaperPanel
panel: root.windowRoot.wallpaperPanelPlaceholder
shapeContainer: backgroundsShape
backgroundColor: Color.mSurface
}
// WiFi
PanelBackground {
panel: root.windowRoot.wifiPanel
panel: root.windowRoot.wifiPanelPlaceholder
shapeContainer: backgroundsShape
backgroundColor: Color.mSurface
}