Skip to content

Bring PS5 GTA6 to 120FPS with DLSS 5. An advanced Windows video player and capture enhancement tool featuring real-time preview for videos, images, and capture card sources. Combine AI-powered Super Resolution, DLSS5 image enhancement, and Frame Generation to deliver a next-generation visual experience.

C++
1.3 KB
Raw Blame
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
Rectangle {
    id: dot
    property bool warn: false
    property bool err: false
    property bool off: false
    width: 7; height: 7; radius: 3.5
    color: err ? Theme.err : warn ? Theme.warn : off ? Theme.t3 : Theme.ok
    Rectangle {
        anchors.centerIn: parent
        width: 13; height: 13; radius: 6.5
        z: -1
        color: "transparent"
        border.width: 3
        border.color: err ? Theme.errGlow : warn ? Theme.warnGlow : off ? "transparent" : Theme.okGlow
    }
    // .dot.warn { animation: pulse 1.2s infinite }
    SequentialAnimation on opacity {
        // Only while shown: the dock's export badge is a warn dot that is hidden until an
        // export runs, and its pulse kept the window redrawing every vsync (OBS game
        // capture then held the UI instead of the video).
        running: warn && visible && !Theme.reduced
        onRunningChanged: if (!running) dot.opacity = 1
        loops: Animation.Infinite
        // @keyframes pulse { 50% { opacity: .35 } } with ease-in-out per half.
        NumberAnimation { to: 0.35; duration: Theme.d(600); easing.bezierCurve: [0.42, 0, 0.58, 1, 1, 1] }
        NumberAnimation { to: 1.0; duration: Theme.d(600); easing.bezierCurve: [0.42, 0, 0.58, 1, 1, 1] }
    }
}