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