| 1 |
<?xml version="1.0" encoding="utf-8"?> |
|---|
| 2 |
<mx:Application |
|---|
| 3 |
xmlns:mx="http://www.adobe.com/2006/mxml" |
|---|
| 4 |
xmlns:gpcontrol="org.libspark.gunyarapaint.controls.*" |
|---|
| 5 |
layout="absolute" width="100%" height="100%" |
|---|
| 6 |
preinitialize="onPreinitialize(event)" |
|---|
| 7 |
creationComplete="onCreationComplete(event)" |
|---|
| 8 |
applicationComplete="onApplicationComplete(event)" |
|---|
| 9 |
removedFromStage="onRemove(event)" |
|---|
| 10 |
borderStyle="solid" cornerRadius="0" borderColor="#333333" |
|---|
| 11 |
backgroundGradientAlphas="[1.0, 1.0]" backgroundGradientColors="[#cccccc, #cccccc]" |
|---|
| 12 |
implements="org.libspark.gunyarapaint.framework.ui.IApplication" |
|---|
| 13 |
alpha="1.0"> |
|---|
| 14 |
<mx:Script source="gunyarapaint.as"> |
|---|
| 15 |
</mx:Script> |
|---|
| 16 |
<mx:ArrayCollection id="blendModes"> |
|---|
| 17 |
<mx:Object label="通常" data="{BlendMode.NORMAL}" /> |
|---|
| 18 |
<mx:Object label="比較(暗)" data="{BlendMode.DARKEN}" /> |
|---|
| 19 |
<mx:Object label="乗算" data="{BlendMode.MULTIPLY}" /> |
|---|
| 20 |
<mx:Object label="比較(明)" data="{BlendMode.LIGHTEN}" /> |
|---|
| 21 |
<mx:Object label="スクリーン" data="{BlendMode.SCREEN}" /> |
|---|
| 22 |
<mx:Object label="覆い焼き" data="{BlendMode.ADD}" /> |
|---|
| 23 |
<mx:Object label="オーバーレイ" data="{BlendMode.OVERLAY}" /> |
|---|
| 24 |
<mx:Object label="ハードライト" data="{BlendMode.HARDLIGHT}" /> |
|---|
| 25 |
<mx:Object label="差の絶対値" data="{BlendMode.DIFFERENCE}" /> |
|---|
| 26 |
<mx:Object label="除外" data="{BlendMode.SUBTRACT}" /> |
|---|
| 27 |
<mx:Object label="反転" data="{BlendMode.INVERT}" /> |
|---|
| 28 |
</mx:ArrayCollection> |
|---|
| 29 |
<mx:Image source="@Embed('./gunyara-paint_logo.png')" alpha="0.5" right="10" bottom="10"/> |
|---|
| 30 |
<mx:Canvas id="toolCanvas" height="155" right="0" left="0" y="0"> |
|---|
| 31 |
<mx:Label x="12" y="7" text="投稿者名"/> |
|---|
| 32 |
<mx:TextInput id="fromTextInput" x="55" y="3" maxChars="32" fontSize="14" focusThickness="0"/> |
|---|
| 33 |
<mx:Label x="2" y="36" text="絵のタイトル"/> |
|---|
| 34 |
<mx:TextInput id="titleTextInput" x="55" y="32" maxChars="32" fontSize="14" focusThickness="0" width="406"/> |
|---|
| 35 |
<mx:CheckBox id="watchlistCheckBox" x="223" y="7" label="ウォッチリストに登録"/> |
|---|
| 36 |
<mx:Label x="10" y="76" text="書き込み"/> |
|---|
| 37 |
<mx:TextArea id="messageTextArea" x="55" y="61" width="406" height="61" fontSize="14" focusThickness="0"> |
|---|
| 38 |
<mx:text></mx:text> |
|---|
| 39 |
</mx:TextArea> |
|---|
| 40 |
<mx:Button id="rotateResetButton" y="63" label="角度" width="29" paddingLeft="0" paddingRight="0" paddingTop="0" paddingBottom="0" height="17" right="204" buttonDown="setRotate(0)"/> |
|---|
| 41 |
<mx:Button id="zoomResetButton" y="81" label="拡大" width="29" paddingLeft="0" paddingRight="0" paddingTop="0" paddingBottom="0" height="17" right="204" buttonDown="setZoom(1)"/> |
|---|
| 42 |
<mx:Button id="horizontalMirrorButton" x="117" y="128" label="全レイヤー左右反転" width="120" paddingLeft="0" paddingRight="0" paddingTop="0" paddingBottom="0" height="17" buttonDown="module.horizontalMirror(0xff)"/> |
|---|
| 43 |
<mx:Button id="verticalMirrorButton" x="245" y="128" label="全レイヤー上下反転" width="120" paddingLeft="0" paddingRight="0" paddingTop="0" paddingBottom="0" height="17" buttonDown="module.verticalMirror(0xff)"/> |
|---|
| 44 |
<mx:HSlider id="canvasRotate" y="62" width="152" minimum="-180" maximum="180" snapInterval="5" value="0" right="49" showDataTip="false" change="setRotate(event.value)" thumbDrag="setRotate(event.value)"/> |
|---|
| 45 |
<mx:HSlider id="canvasZoom" y="79" width="152" minimum="-4" maximum="16" snapInterval="0.1" value="1" right="49" showDataTip="false" change="setZoom(event.value)" thumbDrag="setZoom(event.value)"/> |
|---|
| 46 |
<mx:TextInput id="canvasRotateValue" y="66" width="32" height="17" right="18" fontSize="8" textAlign="right" text="0" restrict="0-9" maxChars="4" enter="onChangeCanvasRotate(event)"/> |
|---|
| 47 |
<mx:Label y="66" text="°" right="0"/> |
|---|
| 48 |
<mx:TextInput id="canvasZoomValue" y="83" width="32" height="17" right="18" fontSize="8" textAlign="right" text="100" restrict="0-9" maxChars="6" enter="onChangeCanvasZoom(event)"/> |
|---|
| 49 |
<mx:Label y="83" text="%" right="0"/> |
|---|
| 50 |
|
|---|
| 51 |
<mx:Label y="4" text="補助線" right="199"/> |
|---|
| 52 |
<mx:NumericStepper id="additionalNumberStepper" y="4" value="4" minimum="2" maximum="16" stepSize="1" right="143" height="18" fontSize="8" change="onChangeAuxDivideCount(event)"/> |
|---|
| 53 |
<mx:CheckBox id="additionalBoxCheckBox" y="2" label="縦横" right="8" fontSize="9" height="18" change="onChangeAuxBoxVisible(event)"/> |
|---|
| 54 |
<mx:CheckBox id="additionalSkewCheckBox" y="18" label="斜め" right="9" fontSize="9" height="18" change="onChangeAuxSkewVisible(event)"/> |
|---|
| 55 |
<mx:Button id="postOekakiButton" x="353" y="7" label="お絵カキコする!" fillAlphas="[1.0, 1.0, 1.0, 1.0]" fillColors="[#FFFFFF, #FF9999, #FFFFFF, #FFCCCC]" enabled="false" buttonDown="postOekakiButtonHandler(event)"/> |
|---|
| 56 |
<mx:Button id="undoButton" y="38" label="アンドゥ" enabled="false" paddingLeft="3" paddingRight="3" right="89" buttonDown="m_recorder.undo()"/> |
|---|
| 57 |
<mx:Button id="redoButton" y="38" label="リドゥ" enabled="false" paddingLeft="3" paddingRight="3" right="12" buttonDown="m_recorder.redo()"/> |
|---|
| 58 |
<mx:Button id="windowsResetButton" x="10" y="128" label="ウィンドウ初期状態" width="99" paddingLeft="0" paddingRight="0" paddingTop="0" paddingBottom="0" height="17" buttonDown="resetWindowsPosition()"/> |
|---|
| 59 |
<mx:Button id="passwordButton" x="373" y="128" label="ふっかつのじゅもん" width="99" paddingLeft="0" paddingRight="0" paddingTop="0" paddingBottom="0" height="17" enabled="false" buttonDown="passwordButtonHandler(event)"/> |
|---|
| 60 |
<mx:Button id="logPlayButton" y="105" label="ログプレイ" visible="false" right="99"/> |
|---|
| 61 |
<mx:Button id="checkPngButton" y="105" label="同一check" visible="false" right="10"/> |
|---|
| 62 |
<mx:ComboBox y="4" id="additionalTypeComboBox" right="66" width="70" fontSize="8" height="18" selectedIndex="0" change="onChangeAuxType(event)"> |
|---|
| 63 |
<mx:ArrayCollection id="auxTypes"> |
|---|
| 64 |
<mx:Object label="分割" data="0" /> |
|---|
| 65 |
<mx:Object label="px単位" data="1" /> |
|---|
| 66 |
</mx:ArrayCollection> |
|---|
| 67 |
</mx:ComboBox> |
|---|
| 68 |
</mx:Canvas> |
|---|
| 69 |
<gpcontrol:PenDetailWindowControl id="penDetailWindow" x="9" y="163" layout="absolute" title="ペン" height="450" /> |
|---|
| 70 |
<gpcontrol:GPCanvasWindowControl id="gpCanvasWindow" x="145" y="163" width="379" height="410" layout="absolute" title="キャンバス" /> |
|---|
| 71 |
<gpcontrol:GPLayerWindowControl x="532" y="163" layout="absolute" title="レイヤー" id="gpLayerWindow" height="312" /> |
|---|
| 72 |
<mx:Label id="versionLabel" text="ver.2009090902" right="10" bottom="10" alpha="0.5"/> |
|---|
| 73 |
</mx:Application> |
|---|