チェンジセット 2351
- コミット日時:
- 2009/03/16 23:50:34 (4 年前)
- ファイル:
-
- as3/gunyarapaint/trunk/ChangeLog (更新) (1 diff)
- as3/gunyarapaint/trunk/gunyarapaint/src/gplogplayer.mxml (更新) (1 diff)
- as3/gunyarapaint/trunk/gunyarapaint/src/gunyarapaint.as (更新) (6 diffs)
- as3/gunyarapaint/trunk/gunyarapaint/src/gunyarapaint.mxml (更新) (4 diffs)
- as3/gunyarapaint/trunk/picokakiko/src/picokakiko.mxml (更新) (2 diffs)
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
as3/gunyarapaint/trunk/ChangeLog
r2348 r2351 1 2009-03-16 Tasuku SUENAGA <a at razil.jp> 2 3 * ���� 2009031601�Ń����[�X�B 4 * gunyarapaint: �o�[�W�����グ 5 * gunyarapaint: �T�C�Y100%���B 6 * pikokakiko: �o�[�W�����グ 7 * pikokakiko: �T�C�Y100%���B�������A�R���|�[�l���g�̍Ĕz�u�͍s��Ă��Ȃ��B 8 * pikokakiko: FlMML rev. 30715 9 1 10 2009-03-16 Tasuku SUENAGA <a at razil.jp> 2 11 as3/gunyarapaint/trunk/gunyarapaint/src/gplogplayer.mxml
r2348 r2351 168 168 ]]> 169 169 </mx:Script> 170 <mx:Label x="313" y="11" text="ver.20090 22601"/>170 <mx:Label x="313" y="11" text="ver.2009031601"/> 171 171 </mx:Application> as3/gunyarapaint/trunk/gunyarapaint/src/gunyarapaint.as
r2348 r2351 1 private const DEBUG:Boolean = true;1 private const DEBUG:Boolean = false; 2 2 3 3 import flash.display.InteractiveObject; … … 13 13 import mx.events.FlexEvent; 14 14 import mx.events.NumericStepperEvent; 15 import mx.events.ResizeEvent; 15 16 import mx.events.SliderEvent; 16 17 import mx.managers.PopUpManager; … … 69 70 gpLayerWindow.enabled = false; 70 71 71 // 関数 72 if (ExternalInterface.available && parameters['resizeFuncName']) { 73 try { 74 ExternalInterface.addCallback(this.resizeGunyaraPaint, parameters['resizeFuncName']); 75 } catch (e:SecurityError) { 76 } catch (e:Error) { 77 } 78 } 72 // リサイズ 73 this.addEventListener(ResizeEvent.RESIZE, appResizeHandler); 79 74 80 75 // キャンバス回転スライダ … … 147 142 } 148 143 _logger = GPLogger.createForDraw(width, height, undoBufferSize, null, null); 149 initGunyaraPaintCanvas();144 relocateComponents(); 150 145 } 151 146 } 152 147 153 148 // ウィンドウ全体のリサイズ 154 private function resizeGunyaraPaint(w:int, h:int):void { 155 this.width = w; 156 this.height = h; 149 private function appResizeHandler(e:ResizeEvent):void { 150 relocateComponents(); 157 151 } 158 152 … … 198 192 gpLayerWindow.enabled = value; 199 193 } 200 private function initGunyaraPaintCanvas():void {194 private function relocateComponents():void { 201 195 toolCanvas.x = (this.width - toolCanvas.width) / 2; 202 196 allEnabled = true; … … 230 224 baseImg, baseInfo); 231 225 gpCanvasWindow.logger = _logger; 232 initGunyaraPaintCanvas();226 relocateComponents(); 233 227 this.enabled = true; 234 228 } as3/gunyarapaint/trunk/gunyarapaint/src/gunyarapaint.mxml
r2348 r2351 3 3 xmlns:mx="http://www.adobe.com/2006/mxml" 4 4 xmlns:gpcontrol="org.libspark.gunyarapaint.controls.*" 5 layout="absolute" width=" 688" height="584"5 layout="absolute" width="100%" height="100%" 6 6 creationComplete="init()" 7 7 applicationComplete="appComplete()" … … 11 11 <mx:Script source="gunyarapaint.as"> 12 12 </mx:Script> 13 <mx:Canvas id="toolCanvas" x="0" y="0" width="685" height="1 30">13 <mx:Canvas id="toolCanvas" x="0" y="0" width="685" height="155"> 14 14 <mx:Label x="12" y="7" text="投稿者名"/> 15 15 <mx:TextInput id="fromTextInput" x="55" y="3" maxChars="32" fontSize="14" focusThickness="0"/> … … 33 33 <mx:Button id="undoButton" x="469" y="36" label="アンドゥ" enabled="false" paddingLeft="3" paddingRight="3"/> 34 34 <mx:Button id="redoButton" x="555" y="36" label="リドゥ" enabled="false" paddingLeft="3" paddingRight="3"/> 35 <mx:Label id="versionLabel" x="576" y="127" text="ver.2009031601"/> 36 <mx:Button id="windowsResetButton" x="10" y="128" label="ウィンドウ初期状態" width="99" paddingLeft="0" paddingRight="0" paddingTop="0" paddingBottom="0" height="17"/> 37 <mx:Button id="passwordButton" x="117" y="128" label="ふっかつのじゅもん" width="99" paddingLeft="0" paddingRight="0" paddingTop="0" paddingBottom="0" height="17" enabled="false"/> 38 <mx:Button id="logPlayButton" x="502" y="105" label="ログプレイ" visible="false"/> 39 <mx:Button id="checkPngButton" x="585" y="105" label="同一check" visible="false"/> 35 40 </mx:Canvas> 36 41 <gpcontrol:PenDetailWindowControl id="penDetailWindow" x="9" y="163" layout="absolute" title="ペン"> … … 38 43 <gpcontrol:GPCanvasWindowControl id="gpCanvasWindow" x="145" y="163" width="379" height="410" layout="absolute" title="キャンバス"> 39 44 </gpcontrol:GPCanvasWindowControl> 40 <mx:Button id="logPlayButton" x="601" y="101" label="ログプレイ" visible="false"/>41 <mx:Button id="checkPngButton" x="601" y="131" label="同一check" visible="false"/>42 45 <gpcontrol:GPLayerWindowControl x="532" y="261" layout="absolute" title="レイヤー" id="gpLayerWindow" height="312"> 43 46 </gpcontrol:GPLayerWindowControl> 44 <mx:Button id="windowsResetButton" x="10" y="138" label="ウィンドウ初期状態" width="99" paddingLeft="0" paddingRight="0" paddingTop="0" paddingBottom="0" height="17"/>45 <mx:Button id="passwordButton" x="117" y="138" label="ふっかつのじゅもん" width="99" paddingLeft="0" paddingRight="0" paddingTop="0" paddingBottom="0" height="17" enabled="false"/>46 <mx:Label id="versionLabel" x="580" y="138" text="ver.2009022601"/>47 47 </mx:Application> as3/gunyarapaint/trunk/picokakiko/src/picokakiko.mxml
r2348 r2351 3 3 xmlns:mx="http://www.adobe.com/2006/mxml" 4 4 xmlns:flmml="com.txt_nifty.sketch.flmml.*" 5 layout="absolute" width=" 630" height="404"5 layout="absolute" width="100%" height="100%" 6 6 creationComplete="init()" 7 7 borderStyle="solid" cornerRadius="0" borderColor="#333333" … … 10 10 <mx:Script source="picokakiko.as"> 11 11 </mx:Script> 12 <mx:Label x="10" y="383" text="ver.20090 22601"/>12 <mx:Label x="10" y="383" text="ver.2009031601"/> 13 13 <mx:Label x="28" y="7" text="名前"/> 14 14 <mx:TextInput id="fromTextInput" x="61" y="3" maxChars="32" fontSize="14" width="154"/>

