aseprite/data/gui.xml

715 lines
27 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- ASE menus, tools and keyboard shortcuts -->
<gui version="1.0.0-dev">
<!-- Keyboard shortcuts -->
<keyboard>
<!-- Keyboard shortcuts for commands (menu options) -->
<commands>
<!-- File -->
<key command="NewFile" shortcut="Ctrl+N" />
<key command="OpenFile" shortcut="Ctrl+O" />
<key command="SaveFile" shortcut="Ctrl+S" />
<key command="SaveFileAs" shortcut="Ctrl+Shift+S" />
<key command="SaveFileCopyAs" shortcut="Ctrl+Shift+C" />
<key command="CloseFile" shortcut="Ctrl+W" />
<key command="CloseAllFiles" shortcut="Ctrl+Shift+W" />
<key command="RepeatLastExport" shortcut="Ctrl+Shift+X" />
<key command="AdvancedMode" shortcut="F11" />
<key command="DeveloperConsole" shortcut="F12" />
<key command="Exit" shortcut="Alt+F4" />
<key command="Cancel" shortcut="Esc">
<param name="type" value="all" />
</key>
<!-- Edit -->
<key command="Undo" shortcut="Ctrl+Z" /> <key command="Undo" shortcut="Ctrl+U" />
<key command="Redo" shortcut="Ctrl+Y" />
<key command="Redo" shortcut="Ctrl+R" />
<key command="Redo" shortcut="Ctrl+Shift+Z" />
<key command="Cut" shortcut="Ctrl+X" /> <key command="Cut" shortcut="Shift+Del" />
<key command="Copy" shortcut="Ctrl+C" /> <key command="Copy" shortcut="Ctrl+Ins" />
<key command="Paste" shortcut="Ctrl+V" /> <key command="Paste" shortcut="Shift+Ins" />
<key command="Clear" shortcut="Del" /> <key command="Clear" shortcut="Backspace" />
<key command="Flip" shortcut="Shift+H">
<param name="target" value="mask" />
<param name="orientation" value="horizontal" />
</key>
<key command="Flip" shortcut="Shift+V">
<param name="target" value="mask" />
<param name="orientation" value="vertical" />
</key>
<key command="ReplaceColor" shortcut="Shift+R" />
<key command="InvertColor" shortcut="Ctrl+I" />
<key command="ConvolutionMatrix" shortcut="F9" />
<key command="ColorCurve" shortcut="Ctrl+M" />
<key command="ColorCurve" shortcut="F10" />
<key command="ConfigureTools" shortcut="C" />
<key command="Options" shortcut="Ctrl+Shift+O" />
<!-- Sprite -->
<key command="SpriteProperties" shortcut="Ctrl+P" />
<!-- Layer -->
<key command="LayerProperties" shortcut="Shift+P" />
<key command="NewLayer" shortcut="Shift+N" />
<key command="GotoPreviousLayer" shortcut="Down" />
<key command="GotoNextLayer" shortcut="Up" />
<!-- Frame -->
<key command="NewFrame" shortcut="Alt+N" />
<key command="FrameProperties" shortcut="P">
<param name="frame" value="current" />
</key>
<key command="GotoFirstFrame" shortcut="Home" />
<key command="GotoPreviousFrame" shortcut="Left" />
<key command="GotoNextFrame" shortcut="Right" />
<key command="GotoLastFrame" shortcut="End" />
<key command="GotoFrame" shortcut="Alt+G" />
<key command="PlayAnimation" shortcut="Enter" />
<!-- Select -->
<key command="MaskAll" shortcut="Ctrl+A" />
<key command="DeselectMask" shortcut="Ctrl+D" />
<key command="ReselectMask" shortcut="Ctrl+Shift+D" />
<key command="InvertMask" shortcut="Ctrl+Shift+I" />
<!-- View -->
<key command="Refresh" shortcut="F5" />
<key command="MakeUniqueEditor" shortcut="Ctrl+1" />
<key command="SplitEditorVertically" shortcut="Ctrl+2" />
<key command="SplitEditorHorizontally" shortcut="Ctrl+3" />
<key command="Preview" shortcut="F8" />
<key command="ShowGrid" shortcut="Shift+G" />
<key command="SnapToGrid" shortcut="Shift+S" />
<key command="Timeline" shortcut="Tab">
<param name="switch" value="true" />
</key>
<key command="PaletteEditor" shortcut="F4">
<param name="switch" value="true" />
</key>
<!-- Tabs -->
<key command="GotoNextTab" shortcut="Ctrl+Tab" />
<key command="GotoPreviousTab" shortcut="Ctrl+Shift+Tab" />
<!-- Others -->
<key command="SwitchColors" shortcut="X" />
<key command="ChangeColor" shortcut="9">
<param name="target" value="foreground" />
<param name="change" value="decrement-index" />
</key>
<key command="ChangeColor" shortcut="0">
<param name="target" value="foreground" />
<param name="change" value="increment-index" />
</key>
<key command="ChangeColor" shortcut="[">
<param name="target" value="foreground" />
<param name="change" value="decrement-index" />
</key>
<key command="ChangeColor" shortcut="]">
<param name="target" value="foreground" />
<param name="change" value="increment-index" />
</key>
<key command="ChangeColor" shortcut="Ctrl+9">
<param name="target" value="background" />
<param name="change" value="decrement-index" />
</key>
<key command="ChangeColor" shortcut="Ctrl+0">
<param name="target" value="background" />
<param name="change" value="increment-index" />
</key>
<!-- Modify pen size with +/- signs -->
<key command="ChangePen" shortcut="+">
<param name="change" value="increment-size" />
</key>
<key command="ChangePen" shortcut="-">
<param name="change" value="decrement-size" />
</key>
<key command="ChangePen" shortcut="Plus Pad">
<param name="change" value="increment-size" />
</key>
<key command="ChangePen" shortcut="Minus Pad">
<param name="change" value="decrement-size" />
</key>
<!-- Scroll with cursor -->
<key command="Scroll" shortcut="Ctrl+Left">
<param name="direction" value="left" />
<param name="units" value="zoomed-tile-width" />
<param name="quantity" value="1" />
</key>
<key command="Scroll" shortcut="Ctrl+Right">
<param name="direction" value="right" />
<param name="units" value="zoomed-tile-width" />
<param name="quantity" value="1" />
</key>
<key command="Scroll" shortcut="Ctrl+Up">
<param name="direction" value="up" />
<param name="units" value="zoomed-tile-height" />
<param name="quantity" value="1" />
</key>
<key command="Scroll" shortcut="Ctrl+Down">
<param name="direction" value="down" />
<param name="units" value="zoomed-tile-height" />
<param name="quantity" value="1" />
</key>
</commands>
<!-- Keyboard shortcuts to select tools -->
<tools>
<key tool="rectangular_marquee" shortcut="M" />
<key tool="elliptical_marquee" shortcut="Shift+M" />
<key tool="lasso" shortcut="Q" />
<key tool="polygonal_lasso" shortcut="Shift+Q" />
<key tool="magic_wand" shortcut="W" />
<key tool="pencil" shortcut="B" />
<key tool="spray" shortcut="Shift+B" />
<key tool="eraser" shortcut="E" />
<key tool="eyedropper" shortcut="I" />
<key tool="hand" shortcut="H" />
<key tool="move" shortcut="V" />
<key tool="zoom" shortcut="Z" />
<key tool="paint_bucket" shortcut="G" />
<key tool="line" shortcut="L" />
<key tool="curve" shortcut="Shift+L" />
<key tool="rectangle" shortcut="U" />
<key tool="filled_rectangle" shortcut="U" />
<key tool="ellipse" shortcut="Shift+U" />
<key tool="filled_ellipse" shortcut="Shift+U" />
<key tool="contour" shortcut="D" />
<key tool="polygon" shortcut="Shift+D" />
<key tool="blur" shortcut="R" />
<key tool="jumble" shortcut="R" />
</tools>
<!-- Editor Quicktools: these are modifiers to select quickly a
tool without changing the current one -->
<quicktools>
<key tool="eyedropper" shortcut="Alt" />
<key tool="move" shortcut="Ctrl" />
<key tool="hand" shortcut="Space" />
</quicktools>
<!-- Special keyboard shortcuts for the sprite editor -->
<spriteeditor>
<!-- When you drag-and-drop the selection, pressing this
keyboard shortcut you can copy instead of move -->
<key action="CopySelection" shortcut="Ctrl" />
<!-- When you move the selection, pressing this
keyboard shortcut you can snap to grid -->
<key action="SnapToGrid" shortcut="Alt" />
<!-- When you move the selection, pressing this keyboard
shortcut so you lock the movement to one axis -->
<key action="LockAxis" shortcut="Shift" />
<!-- When you rotate the selection, pressing this
keyboard shortcut you activate angle snap -->
<key action="AngleSnap" shortcut="Shift" />
<!-- When you scale the selection, pressing this
keyboard shortcut you maintain aspect ratio -->
<key action="MaintainAspectRatio" shortcut="Shift" />
</spriteeditor>
</keyboard>
<menus>
<!-- main bar menu -->
<menu id="main_menu">
<menu text="&amp;File">
<item command="NewFile" text="&amp;New..." />
<item command="OpenFile" text="&amp;Open..." />
<item id="recent_list" text="Open &amp;Recent" />
<separator />
<item command="SaveFile" text="&amp;Save" />
<item command="SaveFileAs" text="Save &amp;As..." />
<item command="SaveFileCopyAs" text="Save Cop&amp;y As..." />
<item command="CloseFile" text="&amp;Close" />
<item command="CloseAllFiles" text="Close All" />
<separator />
<item command="ImportSpriteSheet" text="&amp;Import Sprite Sheet" />
<item command="ExportSpriteSheet" text="&amp;Export Sprite Sheet" />
<item command="RepeatLastExport" text="Repeat &amp;Last Export" />
<separator />
<item command="Exit" text="E&amp;xit" />
</menu>
<menu text="&amp;Edit">
<item command="Undo" text="&amp;Undo" />
<item command="Redo" text="&amp;Redo" />
<separator />
<item command="Cut" text="Cu&amp;t" />
<item command="Copy" text="&amp;Copy" />
<item command="Paste" text="&amp;Paste" />
<item command="Clear" text="C&amp;lear" />
<separator />
<item command="Flip" text="Flip &amp;Horizontal">
<param name="target" value="mask" />
<param name="orientation" value="horizontal" />
</item>
<item command="Flip" text="Flip &amp;Vertical">
<param name="target" value="mask" />
<param name="orientation" value="vertical" />
</item>
<separator />
<item command="ReplaceColor" text="R&amp;eplace Color..." />
<item command="InvertColor" text="&amp;Invert" />
<menu text="F&amp;X" id="fx_popup">
<item command="ConvolutionMatrix" text="Convolution &amp;Matrix" />
<item command="ColorCurve" text="&amp;Color Curve" />
<separator />
<item command="Despeckle" text="&amp;Despeckle (median filter)" />
</menu>
<separator />
<item command="ConfigureTools" text="Tool&amp;s" />
<item command="Options" text="&amp;Options" />
</menu>
<menu text="&amp;Sprite">
<item command="SpriteProperties" text="&amp;Properties..." />
<menu text="Color &amp;Mode">
<item command="ChangePixelFormat" text="&amp;RGB Color">
<param name="format" value="rgb" />
</item>
<item command="ChangePixelFormat" text="&amp;Grayscale">
<param name="format" value="grayscale" />
</item>
<item command="ChangePixelFormat" text="&amp;Indexed (No Dithering)">
<param name="format" value="indexed" />
</item>
<item command="ChangePixelFormat" text="Indexed (Ordered &amp;Dither)">
<param name="format" value="indexed" />
<param name="dithering" value="ordered" />
</item>
</menu>
<separator />
<item command="DuplicateSprite" text="&amp;Duplicate..." />
<separator />
<item command="SpriteSize" text="&amp;Sprite Size..." />
<item command="CanvasSize" text="&amp;Canvas Size..." />
<menu text="&amp;Rotate Canvas">
<item command="RotateCanvas" text="180">
<param name="angle" value="180" />
</item>
<item command="RotateCanvas" text="90 CW">
<param name="angle" value="90" />
</item>
<item command="RotateCanvas" text="90 CCW">
<param name="angle" value="-90" />
</item>
<separator />
<item command="Flip" text="Flip Canvas &amp;Horizontal">
<param name="target" value="canvas" />
<param name="orientation" value="horizontal" />
</item>
<item command="Flip" text="Flip Canvas &amp;Vertical">
<param name="target" value="canvas" />
<param name="orientation" value="vertical" />
</item>
</menu>
<separator />
<item command="CropSprite" text="Cr&amp;op" />
<item command="AutocropSprite" text="&amp;Trim" />
</menu>
<menu text="&amp;Layer">
<item command="LayerProperties" text="&amp;Properties..." />
<separator />
<item command="NewLayer" text="&amp;New Layer" />
<item command="RemoveLayer" text="&amp;Remove Layer" />
<item command="BackgroundFromLayer" text="&amp;Background from Layer" />
<item command="LayerFromBackground" text="&amp;Layer from Background" />
<separator />
<item command="DuplicateLayer" text="&amp;Duplicate" />
<item command="MergeDownLayer" text="&amp;Merge Down" />
<item command="FlattenLayers" text="&amp;Flatten" />
</menu>
<menu text="F&amp;rame">
<item command="FrameProperties" text="Frame &amp;Properties...">
<param name="frame" value="current" />
</item>
<item command="CelProperties" text="&amp;Cel Properties..." />
<separator />
<item command="NewFrame" text="&amp;New Frame" />
<item command="RemoveFrame" text="&amp;Remove Frame" />
<separator />
<menu text="&amp;Jump to">
<item command="GotoFirstFrame" text="&amp;First Frame" />
<item command="GotoPreviousFrame" text="&amp;Previous Frame" />
<item command="GotoNextFrame" text="&amp;Next Frame" />
<item command="GotoLastFrame" text="&amp;Last Frame" />
<separator />
<item command="GotoFrame" text="&amp;Go to Frame" />
</menu>
<item command="PlayAnimation" text="&amp;Play Animation" />
<separator />
<item command="FrameProperties" text="Constant Frame Rate">
<param name="frame" value="all" />
</item>
</menu>
<menu text="&amp;Palette">
<item command="PaletteEditor" text="&amp;Palette Editor">
<param name="switch" value="true" />
</item>
<separator />
<item command="LoadPalette" text="&amp;Load Palette" />
<item command="SavePalette" text="&amp;Save Palette" />
</menu>
<menu text="Selec&amp;t">
<item command="MaskAll" text="&amp;All" />
<item command="DeselectMask" text="&amp;Deselect" />
<item command="ReselectMask" text="&amp;Reselect" />
<item command="InvertMask" text="&amp;Inverse" />
<separator />
<item command="MaskByColor" text="&amp;Color Range" />
<separator />
<item command="LoadMask" text="&amp;Load from MSK file" />
<item command="SaveMask" text="&amp;Save to MSK file" />
</menu>
<menu text="&amp;View">
<item command="MakeUniqueEditor" text="Make &amp;Unique" />
<item command="SplitEditorVertically" text="Split &amp;Vertically" />
<item command="SplitEditorHorizontally" text="Split &amp;Horizontally" />
<separator />
<item command="ShowGrid" text="Show &amp;Grid" />
<item command="SnapToGrid" text="&amp;Snap to Grid" />
<item command="GridSettings" text="Gri&amp;d Settings" />
<separator />
<item command="Timeline" text="&amp;Timeline">
<param name="switch" value="true" />
</item>
<item command="Preview" text="Previe&amp;w" />
<separator />
<item command="Refresh" text="&amp;Refresh &amp;&amp; Reload Skin" />
</menu>
<menu text="&amp;Help">
<item command="Launch" text="Readme">
<param name="type" value="url" />
<param name="path" value="https://github.com/dacap/aseprite#readme" />
</item>
<separator />
<item command="Launch" text="Quick &amp;Reference">
<param name="type" value="url" />
<param name="path" value="/quickref/" />
</item>
<item command="Launch" text="Documentation">
<param name="type" value="url" />
<param name="path" value="/docs/" />
</item>
<item command="Launch" text="Tutorial">
<param name="type" value="url" />
<param name="path" value="/tutorial/" />
</item>
<separator />
<item command="Launch" text="Release Notes">
<param name="type" value="url" />
<param name="path" value="/release-notes/" />
</item>
<item command="Launch" text="Twitter">
<param name="type" value="url" />
<param name="path" value="http://twitter.com/aseprite" />
</item>
<separator />
<item command="Launch" text="&amp;Donate">
<param name="type" value="url" />
<param name="path" value="/donate/" />
</item>
<item command="About" text="&amp;About" />
</menu>
</menu>
<menu id="document_tab_popup">
<item command="CloseFile" text="&amp;Close" />
<separator />
<item command="OpenWithApp" text="&amp;Open with OS" />
<item command="OpenInFolder" text="Open in &amp;Folder" />
</menu>
<menu id="layer_popup">
<item command="LayerProperties" text="&amp;Properties..." />
<separator />
<item command="NewLayer" text="&amp;New" />
<item command="RemoveLayer" text="&amp;Remove" />
<item command="BackgroundFromLayer" text="&amp;Background from Layer" />
<item command="LayerFromBackground" text="&amp;Layer from Background" />
<separator />
<item command="DuplicateLayer" text="&amp;Duplicate..." />
<item command="MergeDownLayer" text="&amp;Merge Down" />
<item command="FlattenLayers" text="&amp;Flatten" />
</menu>
<menu id="frame_popup">
<item command="FrameProperties" text="&amp;Properties...">
<param name="frame" value="current" />
</item>
<separator />
<item command="NewFrame" text="&amp;New" />
<item command="RemoveFrame" text="&amp;Remove" />
</menu>
<menu id="cel_popup">
<item command="CelProperties" text="&amp;Properties..." />
<separator />
<item command="RemoveCel" text="&amp;Clear" />
</menu>
<menu id="cel_movement_popup">
<item command="MoveCel" text="&amp;Move" />
<item command="CopyCel" text="&amp;Copy" />
<separator />
<item command="Cancel" text="Cancel">
<param name="type" value="noop" />
</item>
</menu>
</menus>
<!-- tools -->
<tools>
<group id="selection_tools" text="Selection Tools">
<tool id="rectangular_marquee"
text="Rectangular Marquee Tool"
fill="always"
ink="selection"
controller="two_points"
pointshape="pixel"
intertwine="as_rectangles"
tracepolicy="last">
<tooltip>*
Left-button: replace/add to current selection.&#10;*
Right-button: remove from current selection.
</tooltip>
</tool>
<tool id="elliptical_marquee"
text="Elliptical Marquee Tool"
fill="always"
ink="selection"
controller="two_points"
pointshape="pixel"
intertwine="as_ellipses"
tracepolicy="last">
<tooltip>*
Left-button: Replace/add to current selection.&#10;*
Right-button: Remove from current selection.
</tooltip>
</tool>
<tool id="lasso"
text="Lasso Tool"
fill="always"
ink="selection"
controller="freehand"
pointshape="pixel"
intertwine="as_lines"
tracepolicy="accumulative">
<tooltip>*
Left-button: Replace/add to current selection.&#10;*
Right-button: Remove from current selection.
</tooltip>
</tool>
<tool id="polygonal_lasso"
text="Polygonal Lasso Tool"
fill="always"
ink="selection"
controller="point_by_point"
pointshape="pixel"
intertwine="as_lines"
tracepolicy="last">
<tooltip>*
Left-button: Replace/add to current selection.&#10;*
Right-button: Remove from current selection.
</tooltip>
</tool>
<tool id="magic_wand"
text="Magic Wand Tool"
fill="always"
ink="selection"
controller="one_point"
pointshape="floodfill"
tracepolicy="accumulative">
<tooltip>*
Left-button: Replace/add to current selection.&#10;*
Right-button: Remove from current selection.
</tooltip>
</tool>
</group>
<group id="pencil_tools" text="Pencil Tools">
<tool id="pencil"
text="Pencil Tool"
ink="paint"
controller="freehand"
pointshape="pen"
intertwine="as_lines"
tracepolicy="accumulative"
/>
<tool id="spray"
text="Spray Tool"
ink="paint"
controller="freehand"
pointshape="spray"
tracepolicy="overlap"
/>
</group>
<group id="helpers_tools" text="Helpers Tools">
<tool id="eraser"
text="Eraser Tool"
ink_left="eraser"
ink_right="replace_fg_with_bg"
controller="freehand"
pointshape="pen"
intertwine="as_lines"
tracepolicy="accumulative"
default_pen_size="8">
<tooltip>*
Left-button: Erase with the background color in `Background' layer&#10;
or transparent color in any other layer.&#10;*
Right-button: Replace foreground with background color.
</tooltip>
</tool>
<tool id="eyedropper"
text="Eyedropper Tool"
ink_left="pick_fg"
ink_right="pick_bg"
controller="freehand"
pointshape="pixel"
/>
</group>
<group id="view_tools" text="View Tools">
<tool id="zoom"
text="Zoom Tool"
ink="zoom"
controller="freehand"
/>
<tool id="hand"
text="Hand Tool"
ink="scroll"
controller="freehand"
/>
<tool id="move"
text="Move Tool"
ink="move"
controller="freehand"
/>
</group>
<group id="paint_bucket" text="Paint Bucket Tool">
<tool id="paint_bucket"
text="Paint Bucket Tool"
ink="paint"
controller="one_point"
pointshape="floodfill"
tracepolicy="accumulative"
/>
</group>
<group id="perfect_traces" text="Perfect Traces">
<tool id="line"
text="Line Tool"
ink="paint"
controller="two_points"
pointshape="pen"
intertwine="as_lines"
tracepolicy="last"
/>
<tool id="curve"
text="Curve Tool"
ink="paint"
controller="four_points"
pointshape="pen"
intertwine="as_bezier"
tracepolicy="last"
/>
</group>
<group id="shapes" text="Shapes">
<tool id="rectangle"
text="Rectangle Tool"
fill="optional"
ink="paint"
controller="two_points"
pointshape="pen"
intertwine="as_rectangles"
tracepolicy="last"
/>
<tool id="filled_rectangle"
text="Filled Rectangle Tool"
fill="always"
ink="paint"
controller="two_points"
pointshape="pen"
intertwine="as_rectangles"
tracepolicy="last"
/>
<tool id="ellipse"
text="Ellipse Tool"
fill="optional"
ink="paint"
controller="two_points"
pointshape="pen"
intertwine="as_ellipses"
tracepolicy="last"
/>
<tool id="filled_ellipse"
text="Filled Ellipse Tool"
fill="always"
ink="paint"
controller="two_points"
pointshape="pen"
intertwine="as_ellipses"
tracepolicy="last"
/>
</group>
<group id="contours" text="Contours">
<tool id="contour"
text="Contour Tool"
fill="always"
ink="paint"
controller="freehand"
pointshape="pen"
intertwine="as_lines"
tracepolicy="accumulative"
/>
<tool id="polygon"
text="Polygon Tool"
fill="always"
ink="paint"
controller="point_by_point"
pointshape="pen"
intertwine="as_lines"
tracepolicy="last"
/>
</group>
<group id="effects" text="Effects">
<tool id="blur"
text="Blur Tool"
ink="blur"
controller="freehand"
pointshape="pen"
intertwine="as_lines"
tracepolicy="overlap"
default_pen_size="16"
/>
<tool id="jumble"
text="Jumble Tool"
ink="jumble"
controller="freehand"
pointshape="pen"
intertwine="as_lines"
tracepolicy="overlap"
default_pen_size="16"
/>
</group>
</tools>
</gui>