From 90d72e1649ceafe7a5b524425ce4f9256a0521b8 Mon Sep 17 00:00:00 2001 From: Azure <983547216@qq.com> Date: Mon, 1 Sep 2025 10:51:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=9D=E5=AD=98=E4=B8=80=E4=B8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/services/WindowFormService.ts | 32 ------------------- 1 file changed, 32 deletions(-) diff --git a/src/core/service/services/WindowFormService.ts b/src/core/service/services/WindowFormService.ts index f71bf8b..00902c2 100644 --- a/src/core/service/services/WindowFormService.ts +++ b/src/core/service/services/WindowFormService.ts @@ -78,35 +78,3 @@ export class WindowFormService extends AService { console.log(`[WindowService] 收到事件:`, event, data); } } - -// ==================== DesktopProcess ==================== -// class DesktopProcess implements IProcess { -// id = "desktop"; -// private windows: IWindow[] = []; -// -// constructor(private sm: ServiceManager) { -// sm.registerProcess(this); -// } -// -// render() { -// console.log("\n[Desktop 渲染]"); -// this.windows -// .sort((a, b) => a.zIndex - b.zIndex) -// .forEach(win => { -// console.log( -// `- ${win.title} (${win.id}) at (${win.x},${win.y}) size(${win.width}x${win.height}) z=${win.zIndex} ${win.minimized ? "[最小化]" : win.maximized ? "[最大化]" : ""}` -// ); -// }); -// } -// -// onMessage(event: string, data?: any) { -// if (event.startsWith("window:")) { -// // 更新桌面维护的窗口列表 -// const ws = this.sm.getService("window"); -// if (ws) { -// this.windows = ws.getWindows(); -// this.render(); -// } -// } -// } -// } \ No newline at end of file