Changeset 15728
- Timestamp:
- 07/13/08 13:07:31 (5 years ago)
- Files:
-
- 1 modified
-
platform/air/wasaco/src/wasaco.mxml (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
platform/air/wasaco/src/wasaco.mxml
r15725 r15728 78 78 79 79 this.ControlArea.addEventListener( MouseEvent.MOUSE_DOWN, applicationDragHandler ); 80 this.ControlArea.addEventListener( MouseEvent.MOUSE_UP, savePosition ); 80 81 this.minimizeBtn.addEventListener( MouseEvent.MOUSE_UP, onMinimize ); 81 82 this.closeBtn.addEventListener( MouseEvent.MOUSE_UP, onClose ); … … 96 97 alphaBottom: 1.0, 97 98 windowWidth: 400, 98 windowHeight: 500 99 windowHeight: 500, 100 windowX: 100, 101 windowY: 100 99 102 }; 100 103 settings.forEach(function(conf:*, idx:Number, arr:Array):void { … … 105 108 stage.nativeWindow.width = setting_map.windowWidth; 106 109 stage.nativeWindow.height = setting_map.windowHeight; 110 stage.nativeWindow.x = setting_map.windowX; 111 stage.nativeWindow.y = setting_map.windowY; 107 112 }); 108 113 showLoginWindow(); 109 114 } 110 115 111 116 private function feedLinkHook(event:Event):void { 112 117 var links:Object = feedCanvas.htmlLoader.window.document.links; … … 317 322 saveSetting("windowHeight", stage.nativeWindow.height); 318 323 } 324 325 private function savePosition(event:MouseEvent):void { 326 saveSetting("windowX", stage.nativeWindow.x); 327 saveSetting("windowY", stage.nativeWindow.y); 328 } 329 319 330 ]]> 320 331 </mx:Script>
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)