チェンジセット 2348

差分発生行の前後
無視リスト:
コミット日時:
2009/03/16 22:34:29 (4 年前)
コミッタ:
tasuku
ログメッセージ:

* gunyarapaint: タイトル付与
* gunyarapaint: リサイズ用の関数をaddCallbackを使って公開。
* gunyarapaint: バージョン上げ
* com: タイトル送信
* pikokakiko: バージョン上げ

ファイル:

凡例:

変更無し
追加
削除
更新
コピー
移動
  • as3/gunyarapaint/trunk/ChangeLog

    r2123 r2348  
     12009-03-16  Tasuku SUENAGA <a at razil.jp> 
     2 
     3  * gunyarapaint: �^�C�g���t�^ 
     4  * gunyarapaint: ���T�C�Y�p�̊֐���Callback���Č�B 
     5  * gunyarapaint: �o�[�W�����グ 
     6  * com: �^�C�g�����M 
     7  * pikokakiko: �o�[�W�����グ 
     8 
    192009-01-06  Tasuku SUENAGA <a at razil.jp> 
    210 
  • as3/gunyarapaint/trunk/gunyarapaint/src/gplogplayer.mxml

    r2084 r2348  
    168168  ]]> 
    169169  </mx:Script> 
    170   <mx:Label x="313" y="11" text="ver.2008122101"/> 
     170  <mx:Label x="313" y="11" text="ver.2009022601"/> 
    171171</mx:Application> 
  • as3/gunyarapaint/trunk/gunyarapaint/src/gunyarapaint.as

    r1912 r2348  
    1 private const DEBUG:Boolean = false; 
     1private const DEBUG:Boolean = true; 
    22 
    33import flash.display.InteractiveObject; 
     
    99 
    1010import mx.controls.Alert; 
    11 import mx.controls.TextInput; 
    1211import mx.core.UIComponent; 
    1312import mx.core.UITextField; 
     
    7069  gpLayerWindow.enabled = false; 
    7170 
     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  } 
     79 
    7280  // キャンバス回転スライダ 
    7381  canvasZoom.addEventListener(SliderEvent.CHANGE, canvasZoomHandler); 
     
    143151} 
    144152 
     153// ウィンドウ全体のリサイズ 
     154private function resizeGunyaraPaint(w:int, h:int):void { 
     155  this.width = w; 
     156  this.height = h; 
     157} 
     158 
    145159// ふっかつのじゅもんからの復活 
    146160 
     
    280294 
    281295private function postOekakiButtonHandler(evt:Event):void { 
     296  if (titleTextInput.text == '') { 
     297    Alert.show('絵のタイトルが空です。', ALERT_TITLE); 
     298    return; 
     299  } 
    282300  if (messageTextArea.text == '') { 
    283     Alert.show('書き込みが空です。絵のタイトルなどの情報を書き込んでください。', ALERT_TITLE); 
     301    Alert.show('書き込みが空です。', ALERT_TITLE); 
    284302    return; 
    285303  } 
     
    297315                   parameters['cookie'], 
    298316                   fromTextInput.text, 
     317                   titleTextInput.text, 
    299318                   messageTextArea.text, 
    300319                   watchlistCheckBox.selected, 
  • as3/gunyarapaint/trunk/gunyarapaint/src/gunyarapaint.mxml

    r2084 r2348  
    33  xmlns:mx="http://www.adobe.com/2006/mxml" 
    44  xmlns:gpcontrol="org.libspark.gunyarapaint.controls.*" 
    5   layout="absolute" width="688" height="548
     5  layout="absolute" width="688" height="584
    66  creationComplete="init()" 
    77  applicationComplete="appComplete()" 
     
    1111  <mx:Script source="gunyarapaint.as"> 
    1212  </mx:Script> 
    13   <mx:Canvas id="toolCanvas" x="0" y="0" width="685" height="102"> 
    14     <mx:Label x="28" y="7" text="名前"/> 
     13  <mx:Canvas id="toolCanvas" x="0" y="0" width="685" height="130"> 
     14    <mx:Label x="12" y="7" text="投稿者名"/> 
    1515    <mx:TextInput id="fromTextInput" x="55" y="3" maxChars="32" fontSize="14" focusThickness="0"/> 
     16    <mx:Label x="2" y="36" text="絵のタイトル"/> 
     17    <mx:TextInput id="titleTextInput" x="55" y="32" maxChars="32" fontSize="14" focusThickness="0" width="406"/> 
    1618    <mx:CheckBox id="watchlistCheckBox" x="223" y="7" label="ウォッチリストに登録"/> 
    17     <mx:Label x="10" y="51" text="書き込み"/> 
    18     <mx:TextArea id="messageTextArea" x="55" y="33" width="406" height="61" fontSize="14" focusThickness="0"> 
     19    <mx:Label x="10" y="76" text="書き込み"/> 
     20    <mx:TextArea id="messageTextArea" x="55" y="61" width="406" height="61" fontSize="14" focusThickness="0"> 
    1921      <mx:text></mx:text> 
    2022    </mx:TextArea> 
     
    3234    <mx:Button id="redoButton" x="555" y="36" label="リドゥ" enabled="false" paddingLeft="3" paddingRight="3"/> 
    3335  </mx:Canvas> 
    34   <gpcontrol:PenDetailWindowControl id="penDetailWindow" x="9" y="126" layout="absolute" title="ペン"> 
     36  <gpcontrol:PenDetailWindowControl id="penDetailWindow" x="9" y="163" layout="absolute" title="ペン"> 
    3537  </gpcontrol:PenDetailWindowControl> 
    36   <gpcontrol:GPCanvasWindowControl id="gpCanvasWindow" x="145" y="126" width="379" height="410" layout="absolute" title="キャンバス"> 
     38  <gpcontrol:GPCanvasWindowControl id="gpCanvasWindow" x="145" y="163" width="379" height="410" layout="absolute" title="キャンバス"> 
    3739  </gpcontrol:GPCanvasWindowControl> 
    3840  <mx:Button id="logPlayButton" x="601" y="101" label="ログプレイ" visible="false"/> 
    3941  <mx:Button id="checkPngButton" x="601" y="131" label="同一check" visible="false"/> 
    40   <gpcontrol:GPLayerWindowControl x="532" y="224" layout="absolute" title="レイヤー" id="gpLayerWindow" height="312"> 
     42  <gpcontrol:GPLayerWindowControl x="532" y="261" layout="absolute" title="レイヤー" id="gpLayerWindow" height="312"> 
    4143  </gpcontrol:GPLayerWindowControl> 
    42   <mx:Button id="windowsResetButton" x="10" y="101" label="ウィンドウ初期状態" width="99" paddingLeft="0" paddingRight="0" paddingTop="0" paddingBottom="0" height="17"/> 
    43   <mx:Button id="passwordButton" x="117" y="101" label="ふっかつのじゅもん" width="99" paddingLeft="0" paddingRight="0" paddingTop="0" paddingBottom="0" height="17" enabled="false"/> 
    44   <mx:Label id="versionLabel" x="580" y="101" text="ver.2008122101"/> 
     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"/> 
    4547</mx:Application> 
  • as3/gunyarapaint/trunk/nicopedia/org/libspark/nicopedia/Com.as

    r1891 r2348  
    9292     
    9393    public function postOekaki(parent:DisplayObject, url:String, magic:String, cookie:String,  
    94                                name:String, msg:String, addWatchlist:Boolean, 
     94                               name:String, title:String, msg:String, addWatchlist:Boolean, 
    9595                               ref_oekaki_id:uint, data:Object, callback:Function):void { 
    9696      try { 
     
    107107        v.magic = magic; 
    108108        v.FROM = name; 
     109        v.title = title; 
    109110        v.MESSAGE = msg; 
    110111        v.watchlist = addWatchlist ? 't' : ''; 
  • as3/gunyarapaint/trunk/picokakiko/src/picokakiko.mxml

    r2233 r2348  
    1010  <mx:Script source="picokakiko.as"> 
    1111  </mx:Script> 
    12   <mx:Label x="10" y="383" text="ver.2009021001"/> 
     12  <mx:Label x="10" y="383" text="ver.2009022601"/> 
    1313  <mx:Label x="28" y="7" text="名前"/> 
    1414  <mx:TextInput id="fromTextInput" x="61" y="3" maxChars="32" fontSize="14" width="154"/> 
     
    5050              change="mml_player.setMasterVolume(hSlider.value);" x="203" y="355" dataTipPrecision="0"/> 
    5151  <mx:Label x="160" y="358" text="ピコ音量"/> 
    52   <mx:Label x="446" y="383" text="Powered by FlMML &amp; popforge"/> 
     52  <mx:Label x="446" y="383" text="Powered by FlMML"/> 
    5353  <mx:Button id="postPicoButton" x="512" y="356" label="ピコカキコする!" enabled="false" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FF9999]"/> 
    5454  <flmml:FlMML id="mml_player"/>