File size: 1,389 Bytes
82ea528 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
import { ProgressBarUIBase } from './progressBarUIBase.js';
export declare class MonitorUI extends ProgressBarUIBase {
rootElement: HTMLElement;
private monitorCPUElement;
private monitorRAMElement;
private monitorHDDElement;
private monitorGPUSettings;
private monitorVRAMSettings;
private monitorTemperatureSettings;
private currentRate;
lastMonitor: number;
styleSheet: HTMLStyleElement;
constructor(rootElement: HTMLElement, monitorCPUElement: TMonitorSettings, monitorRAMElement: TMonitorSettings, monitorHDDElement: TMonitorSettings, monitorGPUSettings: TMonitorSettings[], monitorVRAMSettings: TMonitorSettings[], monitorTemperatureSettings: TMonitorSettings[], currentRate: number);
createDOM: () => void;
createDOMGPUMonitor: (monitorSettings?: TMonitorSettings) => void;
orderMonitors: () => void;
updateDisplay: (data: TStatsData) => void;
updateMonitor: (monitorSettings: TMonitorSettings, percent: number, used?: number, total?: number) => void;
updateAllAnimationDuration: (value: number) => void;
updatedAnimationDuration: (monitorSettings: TMonitorSettings, value: number) => void;
createMonitor: (monitorSettings?: TMonitorSettings) => HTMLDivElement;
updateMonitorSize: (width: number, height: number) => void;
showMonitor: (monitorSettings: TMonitorSettings, value: boolean) => void;
}
|