torque-pro-assistant - v1.0.0
    Preparing search index...

    Variable windowControlsConst

    windowControls: {
        maximize: () => void;
        minimize: () => void;
        quit: () => void;
        unmaximize: () => void;
    } = ...

    Window-control facade for the renderer. Each method delegates to the matching window.electronAPI channel exposed by the preload bridge, which forwards an ipcRenderer.send to the main process.

    The facade exists so component code never reaches into window.electronAPI directly — making the surface easy to swap out in tests and future platforms (e.g. a web build with a mocked bridge).

    Type Declaration

    • maximize: () => void

      Maximize the program window.

    • minimize: () => void

      Minimize the program window.

    • quit: () => void

      Close the program window and tear down the Flask backend.

    • unmaximize: () => void

      Restore (unmaximize) the program window.