<?xml version="1.0" encoding="utf-8"?>
<!-- Aseprite -->
<!-- Copyright (C) 2018-2023  Igara Studio S.A. -->
<!-- Copyright (C) 2001-2018  David Capello -->
<gui>
  <!-- Keyboard shortcuts -->
  <keyboard version="1">

    <!-- Keyboard shortcuts for commands (menu options) -->
    <commands>
      <!-- Top-level menu access -->
      <key command="ShowMenu" shortcut="Alt+F"><param name="menu" value="file_menu" /></key>
      <key command="ShowMenu" shortcut="Alt+E"><param name="menu" value="edit_menu" /></key>
      <key command="ShowMenu" shortcut="Alt+S"><param name="menu" value="sprite_menu" /></key>
      <key command="ShowMenu" shortcut="Alt+L"><param name="menu" value="layer_menu" /></key>
      <key command="ShowMenu" shortcut="Alt+R"><param name="menu" value="frame_menu" /></key>
      <key command="ShowMenu" shortcut="Alt+T"><param name="menu" value="select_menu" /></key>
      <key command="ShowMenu" shortcut="Alt+V"><param name="menu" value="view_menu" /></key>
      <key command="ShowMenu" shortcut="Alt+H"><param name="menu" value="help_menu" /></key>

      <!-- File -->
      <key command="NewFile" shortcut="Ctrl+N" mac="Cmd+N" />
      <key command="OpenFile" shortcut="Ctrl+O" mac="Cmd+O" />
      <key command="ReopenClosedFile" shortcut="Ctrl+Shift+T" mac="Cmd+Shift+T" />
      <key command="SaveFile" shortcut="Ctrl+S" mac="Cmd+S" />
      <key command="SaveFileAs" shortcut="Ctrl+Shift+S" mac="Cmd+Shift+S" />
      <key command="SaveFileCopyAs" shortcut="Ctrl+Alt+Shift+S" mac="Cmd+Alt+Shift+S" />
      <key command="CloseFile" shortcut="Ctrl+W" mac="Cmd+W" />
      <key command="CloseAllFiles" shortcut="Ctrl+Shift+W" mac="Cmd+Shift+W" />
      <key command="ImportSpriteSheet" shortcut="Ctrl+I" mac="Cmd+I" />
      <key command="ExportSpriteSheet" shortcut="Ctrl+E" mac="Cmd+E" />
      <key command="RepeatLastExport" shortcut="Ctrl+Shift+X" mac="Cmd+Shift+X" />
      <key command="AdvancedMode" shortcut="Ctrl+F" />
      <key command="Exit" win="Ctrl+Q" linux="Ctrl+Q" mac="Cmd+Q" />
      <key command="Exit" win="Alt+F4" />
      <key command="Cancel" shortcut="Esc">
        <param name="type" value="all" />
      </key>
      <!-- Edit -->
      <key command="Undo" shortcut="Ctrl+Z" mac="Cmd+Z" />
      <key command="Redo" shortcut="Ctrl+Y" mac="Cmd+Y" />
      <key command="Redo" shortcut="Ctrl+R" mac="Cmd+R" />
      <key command="Redo" shortcut="Ctrl+Shift+Z" mac="Cmd+Shift+Z" />
      <key command="Cut" shortcut="Ctrl+X" mac="Cmd+X" />
      <key command="Cut" shortcut="Shift+Del" />
      <key command="Copy" shortcut="Ctrl+C" mac="Cmd+C" />
      <key command="Copy" shortcut="Ctrl+Ins" mac="Cmd+Ins" />
      <key command="CopyMerged" shortcut="Ctrl+Shift+C" mac="Cmd+Shift+C" />
      <key command="Paste" shortcut="Ctrl+V" mac="Cmd+V" />
      <key command="Paste" shortcut="Shift+Ins" />
      <key command="Clear" shortcut="Del" />
      <key command="Clear" shortcut="Backspace" />
      <key command="Fill" shortcut="F" />
      <key command="Stroke" shortcut="S" />
      <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="HueSaturation" shortcut="Ctrl+U" mac="Cmd+U" />
      <key command="ConvolutionMatrix" shortcut="F9" />
      <key command="Outline" shortcut="Shift+O" />
      <key command="ColorCurve" shortcut="Ctrl+M" />
      <key command="ColorCurve" shortcut="F10" />
      <key command="PasteText" shortcut="T" />
      <key command="Options" mac="Cmd+," />
      <key command="Options" shortcut="Ctrl+K" mac="Cmd+K" />
      <key command="KeyboardShortcuts" shortcut="Ctrl+Alt+Shift+K" mac="Cmd+Alt+Shift+K" />
      <!-- Sprite -->
      <key command="SpriteProperties" shortcut="Ctrl+P" mac="Cmd+P" />
      <key command="SpriteSize" shortcut="Ctrl+Alt+I" mac="Cmd+Alt+I" />
      <key command="CanvasSize" shortcut="C" />
      <!-- Layer -->
      <key command="LayerProperties" shortcut="Shift+P" />
      <key command="LayerProperties" shortcut="F2" context="Normal" />
      <key command="LayerVisibility" shortcut="Shift+X" />
      <key command="OpenGroup" shortcut="Shift+E" />
      <key command="NewLayer" shortcut="Shift+N" />
      <key command="NewLayer" shortcut="Shift+Space+N">
        <param name="before" value="true" />
      </key>
      <key command="NewLayer" shortcut="Alt+Shift+N">
        <param name="group" value="true" />
      </key>
      <key command="NewLayer" shortcut="Ctrl+Shift+V" mac="Cmd+Shift+V">
        <param name="fromClipboard" value="true" />
      </key>
      <key command="NewLayer" shortcut="Ctrl+J" mac="Cmd+J">
        <param name="viaCopy" value="true" />
      </key>
      <key command="NewLayer" shortcut="Ctrl+Shift+J" mac="Cmd+Shift+J">
        <param name="viaCut" value="true" />
      </key>
      <key command="NewLayer" shortcut="Space+N">
        <param name="ask" value="true" />
        <param name="tilemap" value="true" />
      </key>
      <key command="GotoPreviousLayer" shortcut="Down" context="Normal" />
      <key command="GotoNextLayer" shortcut="Up" context="Normal" />
      <!-- Frame -->
      <key command="NewFrame" shortcut="Alt+N" />
      <key command="NewFrame" shortcut="Alt+B">
        <param name="content" value="empty" />
      </key>
      <key command="NewFrame" shortcut="Alt+M">
        <param name="content" value="cellinked" />
      </key>
      <key command="NewFrame" shortcut="Alt+D">
        <param name="content" value="celcopies" />
      </key>
      <key command="NewFrame" shortcut="Alt+Shift+D">
        <param name="content" value="cellinked" />
      </key>
      <key command="RemoveFrame" shortcut="Alt+C" />
      <key command="FrameProperties" shortcut="P">
        <param name="frame" value="current" />
      </key>
      <key command="ReverseFrames" shortcut="Alt+I" />
      <key command="GotoFirstFrame" shortcut="Home" />
      <key command="GotoPreviousFrame" shortcut="Left" context="Normal" />
      <key command="GotoNextFrame" shortcut="Right" context="Normal" />
      <key command="GotoPreviousFrameWithSameTag" shortcut="," />
      <key command="GotoNextFrameWithSameTag" shortcut="." />
      <key command="GotoLastFrame" shortcut="End" />
      <key command="GotoFrame" shortcut="Alt+G" />
      <key command="PlayAnimation" shortcut="Enter" />
      <key command="PlayAnimation" shortcut="Enter Pad" />
      <key command="PlayPreviewAnimation" shortcut="Shift+Enter" />
      <!-- Cels -->
      <key command="ClearCel" />
      <key command="UnlinkCel" />
      <key command="LinkCels" />
      <!-- Select -->
      <key command="MaskAll" shortcut="Ctrl+A" mac="Cmd+A" />
      <key command="MaskContent" shortcut="Ctrl+T" mac="Cmd+T" />
      <key command="DeselectMask" shortcut="Ctrl+D" mac="Cmd+D" />
      <key command="ReselectMask" shortcut="Ctrl+Shift+D" mac="Cmd+Shift+D" />
      <key command="InvertMask" shortcut="Ctrl+Shift+I" mac="Cmd+Shift+I" />
      <!-- View -->
      <key command="Refresh" shortcut="F5" />
      <key command="TogglePreview" shortcut="F7" />
      <key command="FullscreenPreview" shortcut="F8" />
      <key command="FullscreenMode" shortcut="F11" mac="Cmd+Ctrl+F" />
      <key command="ShowGrid" shortcut="Ctrl+'" mac="Cmd+'" />
      <key command="ShowPixelGrid" shortcut="Ctrl+Shift+'" mac="Cmd+Shift+'" />
      <key command="SnapToGrid" shortcut="Shift+S" />
      <key command="SetLoopSection" shortcut="F2" context="FramesSelection" />
      <key command="ShowOnionSkin" shortcut="F3" />
      <key command="ToggleTimelineThumbnails" shortcut="F6" />
      <key command="Timeline" shortcut="Tab">
        <param name="switch" value="true" />
      </key>
      <key command="ToggleTilesMode" shortcut="Space+Tab" />
      <key command="TilesetMode" shortcut="Space+1">
        <param name="mode" value="manual" />
      </key>
      <key command="TilesetMode" shortcut="Space+2">
        <param name="mode" value="auto" />
      </key>
      <key command="TilesetMode" shortcut="Space+3">
        <param name="mode" value="stack" />
      </key>
      <key command="PaletteEditor" shortcut="A" />
      <key command="PaletteEditor" shortcut="F4">
        <param name="edit" value="switch" />
        <param name="popup" value="foreground" />
      </key>
      <key command="PaletteEditor">
        <param name="popup" value="foreground" />
      </key>
      <key command="PaletteEditor">
        <param name="popup" value="background" />
      </key>
      <key command="ShowExtras" shortcut="Ctrl+H" />
      <!-- Tabs -->
      <key command="GotoNextTab" shortcut="Ctrl+Tab" />
      <key command="GotoPreviousTab" shortcut="Ctrl+Shift+Tab" />
      <key command="GotoNextTab" shortcut="Ctrl+PgDn" />
      <key command="GotoPreviousTab" shortcut="Ctrl+PgUp" />
      <!-- 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">
        <param name="target" value="background" />
        <param name="change" value="decrement-index" />
      </key>
      <key command="ChangeColor">
        <param name="target" value="background" />
        <param name="change" value="increment-index" />
      </key>

      <!-- Modify brush size with +/- signs -->
      <key command="ChangeBrush" shortcut="+">
        <param name="change" value="increment-size" />
      </key>
      <key command="ChangeBrush" shortcut="="> <!-- As US keyboard layout needs Shift+'=' to do a '+' -->
        <param name="change" value="increment-size" />
      </key>
      <key command="ChangeBrush" shortcut="-">
        <param name="change" value="decrement-size" />
      </key>
      <key command="ChangeBrush" shortcut="Plus Pad">
        <param name="change" value="increment-size" />
      </key>
      <key command="ChangeBrush" shortcut="Minus Pad">
        <param name="change" value="decrement-size" />
      </key>

      <!-- Custom brushes -->
      <key command="ChangeBrush" shortcut="Alt+1">
        <param name="change" value="custom" />
        <param name="slot" value="1" />
      </key>
      <key command="ChangeBrush" shortcut="Alt+2">
        <param name="change" value="custom" />
        <param name="slot" value="2" />
      </key>
      <key command="ChangeBrush" shortcut="Alt+3">
        <param name="change" value="custom" />
        <param name="slot" value="3" />
      </key>
      <key command="ChangeBrush" shortcut="Alt+4">
        <param name="change" value="custom" />
        <param name="slot" value="4" />
      </key>
      <key command="ChangeBrush" shortcut="Alt+5">
        <param name="change" value="custom" />
        <param name="slot" value="5" />
      </key>
      <key command="ChangeBrush" shortcut="Alt+6">
        <param name="change" value="custom" />
        <param name="slot" value="6" />
      </key>
      <key command="ChangeBrush" shortcut="Alt+7">
        <param name="change" value="custom" />
        <param name="slot" value="7" />
      </key>
      <key command="ChangeBrush" shortcut="Alt+8">
        <param name="change" value="custom" />
        <param name="slot" value="8" />
      </key>
      <key command="ChangeBrush" shortcut="Alt+9">
        <param name="change" value="custom" />
        <param name="slot" value="9" />
      </key>

      <!-- Zoom -->
      <key command="Zoom" shortcut="~"><param name="percentage" value="50" /></key> <!-- US PC -->
      <key command="Zoom" shortcut="`"><param name="percentage" value="50" /></key> <!-- US Mac -->
      <key command="Zoom" shortcut="1"><param name="percentage" value="100" /></key>
      <key command="Zoom" shortcut="2"><param name="percentage" value="200" /></key>
      <key command="Zoom"><param name="percentage" value="300" /></key>
      <key command="Zoom" shortcut="3"><param name="percentage" value="400" /></key>
      <key command="Zoom"><param name="percentage" value="500" /></key>
      <key command="Zoom"><param name="percentage" value="600" /></key>
      <key command="Zoom"><param name="percentage" value="700" /></key>
      <key command="Zoom" shortcut="4"><param name="percentage" value="800" /></key>
      <key command="Zoom"><param name="percentage" value="1000" /></key>
      <key command="Zoom" shortcut="5"><param name="percentage" value="1600" /></key>
      <key command="Zoom"><param name="percentage" value="2000" /></key>
      <key command="Zoom" shortcut="6"><param name="percentage" value="3200" /></key>
      <key command="Zoom" shortcut="Ctrl++" mac="Cmd++">
        <param name="action" value="in" />
      </key>
      <key command="Zoom" shortcut="Ctrl+-" mac="Cmd+-">
        <param name="action" value="out" />
      </key>
      <!-- For English keyboard -->
      <key command="Zoom" shortcut="Ctrl+=" mac="Cmd+=">
        <param name="action" value="in" />
      </key>
      <key command="Zoom" shortcut="Ctrl+Shift+=" mac="Cmd+Shift+=">
        <param name="action" value="in" />
      </key>

      <!-- Layer opacity -->
      <key command="LayerOpacity"><param name="opacity" value="0" /></key>
      <key command="LayerOpacity"><param name="opacity" value="32" /></key>
      <key command="LayerOpacity" shortcut="Shift+1"><param name="opacity" value="64" /></key>
      <key command="LayerOpacity"><param name="opacity" value="96" /></key>
      <key command="LayerOpacity" shortcut="Shift+2"><param name="opacity" value="128" /></key>
      <key command="LayerOpacity"><param name="opacity" value="160" /></key>
      <key command="LayerOpacity" shortcut="Shift+3"><param name="opacity" value="192" /></key>
      <key command="LayerOpacity"><param name="opacity" value="224" /></key>
      <key command="LayerOpacity" shortcut="Shift+4"><param name="opacity" value="255" /></key>

      <!-- Scroll to center -->
      <key command="ScrollCenter" shortcut="Shift+Z" />
      <key command="FitScreen" shortcut="Ctrl+0" mac="Cmd+0" />

      <!-- Scroll with arrows -->
      <key command="Scroll" shortcut="Space+Left">
        <param name="direction" value="left" />
        <param name="units" value="zoomed-pixel" />
        <param name="quantity" value="1" />
      </key>
      <key command="Scroll" shortcut="Space+Right">
        <param name="direction" value="right" />
        <param name="units" value="zoomed-pixel" />
        <param name="quantity" value="1" />
      </key>
      <key command="Scroll" shortcut="Space+Up">
        <param name="direction" value="up" />
        <param name="units" value="zoomed-pixel" />
        <param name="quantity" value="1" />
      </key>
      <key command="Scroll" shortcut="Space+Down">
        <param name="direction" value="down" />
        <param name="units" value="zoomed-pixel" />
        <param name="quantity" value="1" />
      </key>

      <key command="Scroll" shortcut="Shift+Space+Left">
        <param name="direction" value="left" />
        <param name="units" value="zoomed-tile-width" />
        <param name="quantity" value="1" />
      </key>
      <key command="Scroll" shortcut="Shift+Space+Right">
        <param name="direction" value="right" />
        <param name="units" value="zoomed-tile-width" />
        <param name="quantity" value="1" />
      </key>
      <key command="Scroll" shortcut="Shift+Space+Up">
        <param name="direction" value="up" />
        <param name="units" value="zoomed-tile-height" />
        <param name="quantity" value="1" />
      </key>
      <key command="Scroll" shortcut="Shift+Space+Down">
        <param name="direction" value="down" />
        <param name="units" value="zoomed-tile-height" />
        <param name="quantity" value="1" />
      </key>

      <!-- Move selection with arrows -->
      <key command="MoveMask" shortcut="Left" context="Selection">
        <param name="target" value="content" />
        <param name="direction" value="left" />
        <param name="units" value="pixel" />
        <param name="quantity" value="1" />
      </key>
      <key command="MoveMask" shortcut="Right" context="Selection">
        <param name="target" value="content" />
        <param name="direction" value="right" />
        <param name="units" value="pixel" />
        <param name="quantity" value="1" />
      </key>
      <key command="MoveMask" shortcut="Up" context="Selection">
        <param name="target" value="content" />
        <param name="direction" value="up" />
        <param name="units" value="pixel" />
        <param name="quantity" value="1" />
      </key>
      <key command="MoveMask" shortcut="Down" context="Selection">
        <param name="target" value="content" />
        <param name="direction" value="down" />
        <param name="units" value="pixel" />
        <param name="quantity" value="1" />
      </key>

      <key command="MoveMask" shortcut="Shift+Left" context="Selection">
        <param name="target" value="content" />
        <param name="direction" value="left" />
        <param name="units" value="tile-width" />
        <param name="quantity" value="1" />
      </key>
      <key command="MoveMask" shortcut="Shift+Right" context="Selection">
        <param name="target" value="content" />
        <param name="direction" value="right" />
        <param name="units" value="tile-width" />
        <param name="quantity" value="1" />
      </key>
      <key command="MoveMask" shortcut="Shift+Up" context="Selection">
        <param name="target" value="content" />
        <param name="direction" value="up" />
        <param name="units" value="tile-height" />
        <param name="quantity" value="1" />
      </key>
      <key command="MoveMask" shortcut="Shift+Down" context="Selection">
        <param name="target" value="content" />
        <param name="direction" value="down" />
        <param name="units" value="tile-height" />
        <param name="quantity" value="1" />
      </key>

      <!-- Move selection boundaries with Alt+arrows -->
      <key command="MoveMask" shortcut="Alt+Left" context="Selection">
        <param name="target" value="boundaries" />
        <param name="direction" value="left" />
        <param name="units" value="pixel" />
        <param name="quantity" value="1" />
      </key>
      <key command="MoveMask" shortcut="Alt+Right" context="Selection">
        <param name="target" value="boundaries" />
        <param name="direction" value="right" />
        <param name="units" value="pixel" />
        <param name="quantity" value="1" />
      </key>
      <key command="MoveMask" shortcut="Alt+Up" context="Selection">
        <param name="target" value="boundaries" />
        <param name="direction" value="up" />
        <param name="units" value="pixel" />
        <param name="quantity" value="1" />
      </key>
      <key command="MoveMask" shortcut="Alt+Down" context="Selection">
        <param name="target" value="boundaries" />
        <param name="direction" value="down" />
        <param name="units" value="pixel" />
        <param name="quantity" value="1" />
      </key>

      <key command="MoveMask" shortcut="Alt+Shift+Left" context="Selection">
        <param name="target" value="boundaries" />
        <param name="direction" value="left" />
        <param name="units" value="tile-width" />
        <param name="quantity" value="1" />
      </key>
      <key command="MoveMask" shortcut="Alt+Shift+Right" context="Selection">
        <param name="target" value="boundaries" />
        <param name="direction" value="right" />
        <param name="units" value="tile-width" />
        <param name="quantity" value="1" />
      </key>
      <key command="MoveMask" shortcut="Alt+Shift+Up" context="Selection">
        <param name="target" value="boundaries" />
        <param name="direction" value="up" />
        <param name="units" value="tile-height" />
        <param name="quantity" value="1" />
      </key>
      <key command="MoveMask" shortcut="Alt+Shift+Down" context="Selection">
        <param name="target" value="boundaries" />
        <param name="direction" value="down" />
        <param name="units" value="tile-height" />
        <param name="quantity" value="1" />
      </key>

      <key command="NewBrush" shortcut="Ctrl+B" mac="Cmd+B" />
      <key command="NewSpriteFromSelection" shortcut="Ctrl+Alt+N" mac="Cmd+Alt+N" />

      <!-- Commands not associated to menu items and without shortcuts by default -->
      <key command="ExportSpriteSheet">
        <param name="source" value="tileset" />
      </key>
      <key command="NewLayer">
        <param name="tilemap" value="true" />
      </key>
      <key command="PixelPerfectMode" />
      <key command="ContiguousFill" />
      <key command="SetInkType"><param name="type" value="simple" /></key>
      <key command="SetInkType"><param name="type" value="alpha-compositing" /></key>
      <key command="SetInkType"><param name="type" value="copy-color" /></key>
      <key command="SetInkType"><param name="type" value="lock-alpha" /></key>
      <key command="SetInkType"><param name="type" value="shading" /></key>
      <key command="SetSameInk" />
      <key command="SetColorSelector">
        <param name="type" value="tint-shade-tone" />
      </key>
      <key command="SetColorSelector">
        <param name="type" value="spectrum" />
      </key>
      <key command="SetColorSelector">
        <param name="type" value="rgb-wheel" />
      </key>
      <key command="SetColorSelector">
        <param name="type" value="ryb-wheel" />
      </key>
      <key command="SetColorSelector">
        <param name="type" value="normal-map-wheel" />
      </key>
      <key command="LoadPalette" />
      <key command="SavePalette" />
      <key command="ColorQuantization" />
      <key command="AddColor">
        <param name="source" value="fg" />
      </key>
      <key command="AddColor">
        <param name="source" value="bg" />
      </key>
      <key command="SelectTile" />
      <key command="SelectTile">
        <param name="mode" value="add" />
      </key>
      <key command="SelectTile">
        <param name="mode" value="subtract" />
      </key>
      <key command="SelectTile">
        <param name="mode" value="intersect" />
      </key>
      <key command="ChangePixelFormat">
        <param name="format" value="rgb" />
      </key>
      <key command="ChangePixelFormat">
        <param name="format" value="grayscale" />
      </key>
      <key command="ChangePixelFormat">
        <param name="format" value="indexed" />
        <param name="dithering" value="ordered" />
      </key>
      <key command="ChangePixelFormat">
        <param name="format" value="indexed" />
        <param name="dithering" value="old-ordered" />
      </key>
      <key command="ChangeBrush">
        <param name="change" value="increment-angle" />
      </key>
      <key command="ChangeBrush">
        <param name="change" value="decrement-angle" />
      </key>
      <key command="SymmetryMode">
        <param name="orientation" value="vertical" />
      </key>
      <key command="SymmetryMode">
        <param name="orientation" value="horizontal" />
      </key>
      <key command="AutocropSprite" />
      <key command="AutocropSprite">
        <param name="byGrid" value="true" />
      </key>
      <key command="NewFrame">
        <param name="content" value="cel" />
      </key>
      <key command="Screenshot" />
      <key command="Screenshot">
        <param name="srgb" value="false" />
      </key>
      <key command="Screenshot">
        <param name="save" value="true" />
      </key>
      <key command="Screenshot">
        <param name="save" value="true" />
        <param name="srgb" value="false" />
      </key>
      <key command="Screenshot" shortcut="F12">
        <param name="steam" value="true" />
      </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="slice" shortcut="Shift+C" />
      <key tool="zoom" shortcut="Z" />

      <key tool="paint_bucket" shortcut="G" />
      <key tool="gradient" shortcut="Shift+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" mac="Cmd" />
      <key tool="hand" shortcut="Space" />
    </quicktools>

    <!-- Special keyboard shortcuts for specific actions -->
    <actions>
      <!-- When we are going to drag the selection, pressing this
           shortcut starts a copy instead of move -->
      <key action="CopySelection" shortcut="Ctrl" />

      <!-- When we are moving the selection, pressing this shortcut
           snaps the selection origin to the grid -->
      <key action="SnapToGrid" shortcut="Alt" />

      <!-- When we are moving the selection, pressing this shortcut
           locks the movement to one axis (X or Y) -->
      <key action="LockAxis" shortcut="Shift" />

      <!-- When we are moving the selection, pressing this shortcut
           moves the selection to a subpixel level (floating point
           coordinates). Useful for anti-aliasing effects. -->
      <key action="FineControl" shortcut="Ctrl" context="TranslatingSelection" />
      <key action="FineControl" shortcut="Ctrl" context="ScalingSelection" />

      <!-- 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" />

      <!-- When you scale the selection, pressing this key the
           selection will be scaled from the pivot point -->
      <key action="ScaleFromCenter" shortcut="Alt" />

      <!-- Modifiers for selection tool -->
      <key action="AddSelection" shortcut="Shift" />
      <key action="SubtractSelection" shortcut="Alt+Shift" />
      <key action="IntersectSelection" shortcut="Ctrl+Shift" />

      <!-- Modifiers for move tool -->
      <key action="AutoSelectLayer" shortcut="Ctrl" mac="Cmd" />

      <!-- Modifiers for freehand tool controller  -->
      <key action="StraightLineFromLastPoint" shortcut="Shift" />
      <key action="AngleSnapFromLastPoint" shortcut="Ctrl" />

      <!-- Modifiers for two-points tool controller -->
      <key action="SquareAspect" shortcut="Shift" />
      <key action="DrawFromCenter" shortcut="Ctrl" />
      <!-- Modifiers for two-or-more-points tools -->
      <key action="MoveOrigin" shortcut="Space" />
      <key action="RotateShape" shortcut="Alt" />

      <!-- Without default shortcuts -->
      <key action="LeftMouseButton" />
      <key action="RightMouseButton" />
    </actions>

    <drag>
      <key action="BrushSize" vector="4.0,0.0" shortcut="Ctrl+Alt" />
    </drag>

  </keyboard>

  <menus>
    <!-- main bar menu -->
    <menu id="main_menu">
      <menu text="@.file" id="file_menu">
        <item command="NewFile" text="@.file_new" group="file_new" />
        <item command="OpenFile" text="@.file_open" group="file_open" />
        <menu text="@.file_open_recent" group="file_recent">
	  <item command="ReopenClosedFile" text="@.file_reopen_closed" group="file_recent_reopen" />
          <separator id="recent_files_placeholder" group="file_recent_list" />
          <separator />
	  <item command="ClearRecentFiles" text="@.file_clear_recent_files" group="file_recent_clear" />
	</menu>
        <separator />
        <item command="SaveFile" text="@.file_save" />
        <item command="SaveFileAs" text="@.file_save_as" group="file_save" />
        <item command="CloseFile" text="@.file_close" />
        <item command="CloseAllFiles" text="@.file_close_all" group="file_close" />
        <separator />
        <menu text="@.file_export" group="file_export">
          <item command="SaveFileCopyAs" text="@.file_export_as" />
          <item command="ExportSpriteSheet" text="@.file_export_sprite_sheet" group="file_export_1" />
          <separator />
          <item command="ExportTileset" text="@.file_export_tileset" group="file_export_2" />
          <separator />
          <item command="RepeatLastExport" text="@.file_repeat_last_export" group="file_export_last" />
        </menu>
        <menu text="@.file_import" group="file_import">
          <item command="ImportSpriteSheet" text="@.file_import_sprite_sheet" group="file_import_1" />
        </menu>
        <separator id="scripts_menu_separator" />
        <menu id="scripts_menu" text="@.file_scripts" group="file_scripts">
          <item command="OpenScriptFolder" text="@.file_open_script_folder" />
          <item command="Refresh" text="@.file_rescan_script_folder" />
          <separator />
          <item command="Debugger" text="@.file_debugger" />
        </menu>
        <separator group="file_app" />
        <item command="Exit" text="@.file_exit" />
      </menu>
      <menu text="@.edit" id="edit_menu" standard="edit">
        <item command="Undo" text="@.edit_undo" />
        <item command="Redo" text="@.edit_redo" />
        <item command="UndoHistory" text="@.edit_undo_history" group="edit_undo" />
        <separator group="edit_clipboard" />
        <item command="Cut" text="@.edit_cut" />
        <item command="Copy" text="@.edit_copy" />
        <item command="CopyMerged" text="@.edit_copy_merged" group="edit_copy" />
        <item command="Paste" text="@.edit_paste" />
        <menu text="@.edit_paste_special" group="edit_paste">
          <item command="NewFile" text="@.edit_paste_special_new_sprite">
            <param name="fromClipboard" value="true" />
          </item>
          <item command="NewLayer" text="@.edit_paste_special_new_layer">
            <param name="fromClipboard" value="true" />
          </item>
          <item command="NewLayer" text="@.edit_paste_special_new_ref_layer" group="edit_paste_special_new">
            <param name="reference" value="true" />
            <param name="fromClipboard" value="true" />
          </item>
        </menu>
        <item command="Clear" text="@.edit_clear" group="edit_clear" />
        <separator />
        <item command="Fill" text="@.edit_fill" />
        <item command="Stroke" text="@.edit_stroke" group="edit_fill" />
        <separator />
        <menu text="@.edit_rotate">
          <item command="Rotate" text="@.edit_rotate_180">
            <param name="target" value="mask" />
            <param name="angle" value="180" />
          </item>
          <item command="Rotate" text="@.edit_rotate_90cw">
            <param name="target" value="mask" />
            <param name="angle" value="90" />
          </item>
          <item command="Rotate" text="@.edit_rotate_90ccw">
            <param name="target" value="mask" />
            <param name="angle" value="-90" />
          </item>
        </menu>
        <item command="Flip" text="@.edit_flip_horizontal">
          <param name="target" value="mask" />
          <param name="orientation" value="horizontal" />
        </item>
        <item command="Flip" text="@.edit_flip_vertical">
          <param name="target" value="mask" />
          <param name="orientation" value="vertical" />
        </item>
        <item command="MaskContent" text="@.edit_transform" />
        <menu text="@.edit_shift" group="edit_transform">
          <item command="MoveMask" text="@.edit_shift_left">
            <param name="target" value="content" />
            <param name="direction" value="left" />
            <param name="units" value="pixel" />
            <param name="quantity" value="1" />
            <param name="wrap" value="1" />
          </item>
          <item command="MoveMask" text="@.edit_shift_right">
            <param name="target" value="content" />
            <param name="direction" value="right" />
            <param name="units" value="pixel" />
            <param name="quantity" value="1" />
            <param name="wrap" value="1" />
          </item>
          <item command="MoveMask" text="@.edit_shift_up">
            <param name="target" value="content" />
            <param name="direction" value="up" />
            <param name="units" value="pixel" />
            <param name="quantity" value="1" />
            <param name="wrap" value="1" />
          </item>
          <item command="MoveMask" text="@.edit_shift_down">
            <param name="target" value="content" />
            <param name="direction" value="down" />
            <param name="units" value="pixel" />
            <param name="quantity" value="1" />
            <param name="wrap" value="1" />
          </item>
        </menu>
        <separator />
        <item command="NewBrush" text="@.edit_new_brush" />
        <item command="NewSpriteFromSelection" text="@.edit_new_sprite_from_selection" group="edit_new" />
        <separator />
        <item command="ReplaceColor" text="@.edit_replace_color" />
        <item command="InvertColor" text="@.edit_invert_color" />
        <menu text="@.edit_adjustments">
          <item command="BrightnessContrast" text="@.edit_adjustments_brightness_contrast" />
          <item command="HueSaturation" text="@.edit_adjustments_hue_saturation" />
          <item command="ColorCurve" text="@.edit_adjustments_color_curve" />
        </menu>
        <menu text="@.edit_fx" id="fx_popup_menu">
          <item command="Outline" text="@.edit_fx_outline" />
          <item command="ConvolutionMatrix" text="@.edit_fx_convolution_matrix" />
          <item command="Despeckle" text="@.edit_fx_despeckle" group="edit_fx" />
        </menu>
        <item command="PasteText" text="@.edit_insert_text" group="edit_insert" />
        <separator />
        <item command="KeyboardShortcuts" text="@.edit_keyboard_shortcuts" />
        <item command="Options" text="@.edit_preferences" />
      </menu>
      <menu text="@.sprite" id="sprite_menu">
        <item command="SpriteProperties" text="@.sprite_properties" group="sprite_properties" />
        <menu text="@.sprite_color_mode" group="sprite_color">
          <item command="ChangePixelFormat" text="@.sprite_color_mode_rgb">
            <param name="format" value="rgb" />
          </item>
          <item command="ChangePixelFormat" text="@.sprite_color_mode_grayscale">
            <param name="format" value="grayscale" />
          </item>
          <item command="ChangePixelFormat" text="@.sprite_color_mode_indexed">
            <param name="format" value="indexed" />
          </item>
          <separator />
          <item command="ChangePixelFormat" text="@.sprite_color_mode_more_options" />
        </menu>
        <separator />
        <item command="DuplicateSprite" text="@.sprite_duplicate" group="sprite_duplicate" />
        <separator />
        <item command="SpriteSize" text="@.sprite_sprite_size" />
        <item command="CanvasSize" text="@.sprite_canvas_size" group="sprite_size" />
        <menu text="@.sprite_rotate_canvas">
          <item command="Rotate" text="@.sprite_rotate_180">
            <param name="target" value="canvas" />
            <param name="angle" value="180" />
          </item>
          <item command="Rotate" text="@.sprite_rotate_90cw">
            <param name="target" value="canvas" />
            <param name="angle" value="90" />
          </item>
          <item command="Rotate" text="@.sprite_rotate_90ccw">
            <param name="target" value="canvas" />
            <param name="angle" value="-90" />
          </item>
          <separator />
          <item command="Flip" text="@.sprite_flip_canvas_horizontal">
            <param name="target" value="canvas" />
            <param name="orientation" value="horizontal" />
          </item>
          <item command="Flip" text="@.sprite_flip_canvas_vertical" group="sprite_transformation">
            <param name="target" value="canvas" />
            <param name="orientation" value="vertical" />
          </item>
        </menu>
        <separator />
        <item command="CropSprite" text="@.sprite_crop" />
        <item command="AutocropSprite" text="@.sprite_trim" group="sprite_crop" />
      </menu>
      <menu text="@.layer" id="layer_menu">
        <item command="LayerProperties" text="@.layer_properties" />
        <item command="LayerVisibility" text="@.layer_visible" />
        <item command="LayerLock" text="@.layer_lock_layers" />
        <item command="OpenGroup" text="@.layer_open_group" group="layer_properties" />
        <separator />
        <menu text="@.layer_new">
          <item command="NewLayer" text="@.layer_new_layer" />
          <item command="NewLayer" text="@.layer_new_group">
            <param name="group" value="true" />
          </item>
          <separator />
          <item command="NewLayer" text="@.layer_new_layer_via_copy">
            <param name="viaCopy" value="true" />
          </item>
          <item command="NewLayer" text="@.layer_new_layer_via_cut">
            <param name="viaCut" value="true" />
          </item>
          <separator />
          <item command="NewLayer" text="@.layer_new_reference_layer_from_file" group="layer_new">
            <param name="reference" value="true" />
            <param name="fromFile" value="true" />
          </item>
          <item command="NewLayer" text="@.layer_new_tilemap_layer">
            <param name="tilemap" value="true" />
            <param name="ask" value="true" />
          </item>
        </menu>
        <item command="RemoveLayer" text="@.layer_delete_layer" group="layer_remove" />
        <menu text="@.layer_convert_to">
          <item command="ConvertLayer" text="@.layer_convert_to_background">
            <param name="to" value="background" />
          </item>
          <item command="ConvertLayer" text="@.layer_convert_to_layer">
            <param name="to" value="layer" />
          </item>
          <separator />
          <item command="ConvertLayer" text="@.layer_convert_to_tilemap">
            <param name="to" value="tilemap" />
          </item>
        </menu>
        <separator />
        <item command="DuplicateLayer" text="@.layer_duplicate" group="layer_duplicate" />
        <item command="MergeDownLayer" text="@.layer_merge_down" />
        <item command="FlattenLayers" text="@.layer_flatten" />
        <item command="FlattenLayers" text="@.layer_flatten_visible" group="layer_merge">
          <param name="visibleOnly" value="true" />
        </item>
      </menu>
      <menu text="@.frame" id="frame_menu">
        <item command="FrameProperties" text="@.frame_properties">
          <param name="frame" value="current" />
        </item>
        <item command="CelProperties" text="@.frame_cel_properties" group="cel_properties" />
        <separator />
        <item command="NewFrame" text="@.frame_new_frame" />
        <item command="NewFrame" text="@.frame_new_empty_frame">
          <param name="content" value="empty" />
        </item>
        <item command="NewFrame" text="@.frame_duplicate_cels">
          <param name="content" value="celcopies" />
        </item>
        <item command="NewFrame" text="@.frame_duplicate_linked_cels" group="cel_new">
          <param name="content" value="cellinked" />
        </item>
        <item command="RemoveFrame" text="@.frame_delete_frame" group="cel_delete" />
        <separator />
        <menu text="@.frame_playback" id="animation_menu" group="cel_animation">
          <item command="PlayAnimation" />
          <item command="PlayPreviewAnimation" />
          <separator />
          <item command="SetPlaybackSpeed"><param name="multiplier" value="0.25" /></item>
          <item command="SetPlaybackSpeed"><param name="multiplier" value="0.5" /></item>
          <item command="SetPlaybackSpeed"><param name="multiplier" value="1.0" /></item>
          <item command="SetPlaybackSpeed"><param name="multiplier" value="1.5" /></item>
          <item command="SetPlaybackSpeed"><param name="multiplier" value="2.0" /></item>
          <item command="SetPlaybackSpeed"><param name="multiplier" value="3.0" /></item>
          <separator />
          <item command="TogglePlayOnce" />
          <item command="TogglePlayAll" />
          <item command="TogglePlaySubtags" />
          <separator />
          <item command="ToggleRewindOnStop" />
        </menu>
        <menu text="@.frame_tags">
          <item command="FrameTagProperties" text="@.frame_tags_tag_properties" />
          <separator />
          <item command="NewFrameTag" text="@.frame_tags_new_tag" />
          <item command="RemoveFrameTag" text="@.frame_tags_delete_tag" />
        </menu>
        <menu text="@.frame_jump_to">
          <item command="GotoFirstFrame" text="@.frame_jump_to_first_frame" />
          <item command="GotoPreviousFrame" text="@.frame_jump_to_previous_frame" />
          <item command="GotoNextFrame" text="@.frame_jump_to_next_frame" />
          <item command="GotoLastFrame" text="@.frame_jump_to_last_frame" />
          <separator />
          <item command="GotoFirstFrameInTag" text="@.frame_jump_to_first_frame_in_tag" />
          <item command="GotoLastFrameInTag" text="@.frame_jump_to_last_frame_in_tag" />
          <separator />
          <item command="GotoFrame" text="@.frame_go_to_frame" />
        </menu>
        <separator />
        <item command="FrameProperties" text="@.frame_constant_frame_rate">
          <param name="frame" value="all" />
        </item>
        <item command="ReverseFrames" text="@.frame_reverse_frames" group="cel_frames" />
      </menu>
      <menu text="@.select" id="select_menu">
        <item command="MaskAll" text="@.select_all" />
        <item command="DeselectMask" text="@.select_deselect" />
        <item command="ReselectMask" text="@.select_reselect" />
        <item command="InvertMask" text="@.select_inverse" group="select_simple" />
        <separator />
        <item command="MaskByColor" text="@.select_color_range" />
        <menu text="@.select_modify" group="select_complex">
          <item command="ModifySelection" text="@.select_modify_border">
            <param name="modifier" value="border" />
          </item>
          <item command="ModifySelection" text="@.select_modify_expand">
            <param name="modifier" value="expand" />
          </item>
          <item command="ModifySelection" text="@.select_modify_contract">
            <param name="modifier" value="contract" />
          </item>
        </menu>
        <separator />
        <item command="LoadMask" text="@.select_load_from_file" />
        <item command="SaveMask" text="@.select_save_to_file" group="select_files" />
      </menu>
      <menu text="@.view" id="view_menu">
        <item command="DuplicateView" text="@.view_duplicate_view" group="view_new" />
        <separator />
        <item command="ShowExtras" text="@.view_show_extras" />
        <menu text="@.view_show" group="view_extras">
          <item command="ShowLayerEdges" text="@.view_show_layer_edges" />
          <item command="ShowSelectionEdges" text="@.view_show_selection_edges" />
          <item command="ShowGrid" text="@.view_show_grid" />
          <item command="ShowAutoGuides" text="@.view_show_auto_guides" />
          <item command="ShowSlices" text="@.view_show_slices" />
          <item command="ShowPixelGrid" text="@.view_show_pixel_grid" />
          <item command="ShowTileNumbers" text="@.view_show_tile_numbers" />
          <separator />
          <item command="ShowBrushPreview" text="@.view_show_brush_preview" />
        </menu>
        <separator />
        <menu text="@.view_grid">
          <item command="GridSettings" text="@.view_grid_settings" />
          <item command="SelectionAsGrid" text="@.view_grid_selection_as_grid" />
          <item command="SnapToGrid" text="@.view_grid_snap_to_grid" />
        </menu>
        <menu text="@.view_tiled_mode">
          <item command="TiledMode" text="@.view_tiled_mode_none">
            <param name="axis" value="none" />
          </item>
          <item command="TiledMode" text="@.view_tiled_mode_both">
            <param name="axis" value="both" />
          </item>
          <item command="TiledMode" text="@.view_tiled_mode_x">
            <param name="axis" value="x" />
          </item>
          <item command="TiledMode" text="@.view_tiled_mode_y">
            <param name="axis" value="y" />
          </item>
        </menu>
        <item command="SymmetryMode" text="@.view_symmetry_options" group="view_canvas_helpers" />
        <separator />
        <item command="SetLoopSection" text="@.view_set_loop_section" />
        <item command="ShowOnionSkin" text="@.view_show_onion_skin" group="view_animation_helpers" />
        <separator />
        <item command="Timeline" text="@.view_timeline">
          <param name="switch" value="true" />
        </item>
        <item command="TogglePreview" text="@.view_preview" />
        <item command="AdvancedMode" text="@.view_advanced_mode" />
        <item command="FullscreenMode" text="@.view_full_screen_mode" />
        <item command="FullscreenPreview" text="@.view_full_screen_preview" />
        <item command="Home" text="@.view_home" group="view_controls" />
        <separator />
        <item command="Refresh" text="@.view_refresh" group="view_screen" />
      </menu>
      <menu text="@.help" id="help_menu">
        <item command="OpenBrowser" text="@.help_readme" group="help_readme">
          <param name="filename" value="README.md" />
        </item>
        <separator />
        <item command="Launch" text="@.help_quick_reference">
          <param name="type" value="url" />
          <param name="path" value="/quickref/" />
        </item>
        <item command="Launch" text="@.help_documentation">
          <param name="type" value="url" />
          <param name="path" value="/docs/" />
        </item>
        <item command="Launch" text="@.help_tutorial" group="help_docs">
          <param name="type" value="url" />
          <param name="path" value="/tutorial/" />
        </item>
        <separator />
        <item command="Launch" text="@.help_release_notes">
          <param name="type" value="url" />
          <param name="path" value="/release-notes/" />
        </item>
        <item command="Launch" text="@.help_twitter" group="help_news">
          <param name="type" value="url" />
          <param name="path" value="http://twitter.com/aseprite" />
        </item>
        <separator id="enter_license_separator" />
        <item command="EnterLicense" id="enter_license" text="@.help_enter_license" group="help_enter_license" />
        <separator />
        <item command="About" text="@.help_about" group="help_about" />
      </menu>
    </menu>

    <menu id="tab_popup_menu">
      <item command="CloseFile" text="@.close" group="tab_close" />
    </menu>

    <menu id="document_tab_popup_menu">
      <item command="CloseFile" text="@tab_popup_menu.close" group="document_tab_close" />
      <item command="DuplicateView" text="@.duplicate_view" group="document_tab_view" />
      <separator />
      <item command="OpenWithApp" text="@.open_with_os" />
      <item command="OpenInFolder" text="@.open_in_folder" group="document_tab_open" />
      <separator />
      <item command="CopyPath" text="@.copy_path" group="document_tab_path" />
    </menu>

    <menu id="layer_popup_menu">
      <item command="LayerProperties" text="@main_menu.layer_properties" group="layer_popup_properties" />
      <separator />
      <menu text="@main_menu.layer_new">
        <item command="NewLayer" text="@main_menu.layer_new_layer" />
        <item command="NewLayer" text="@main_menu.layer_new_group">
          <param name="group" value="true" />
        </item>
        <separator />
        <item command="NewLayer" text="@main_menu.layer_new_tilemap_layer" group="layer_popup_new">
          <param name="tilemap" value="true" />
          <param name="ask" value="true" />
        </item>
      </menu>
      <item command="RemoveLayer" text="@main_menu.layer_delete_layer" />
      <menu text="@main_menu.layer_convert_to">
        <item command="ConvertLayer" text="@main_menu.layer_convert_to_background">
          <param name="to" value="background" />
        </item>
        <item command="ConvertLayer" text="@main_menu.layer_convert_to_layer">
          <param name="to" value="layer" />
        </item>
        <separator />
        <item command="ConvertLayer" text="@main_menu.layer_convert_to_tilemap">
          <param name="to" value="tilemap" />
        </item>
      </menu>
      <separator />
      <item command="DuplicateLayer" text="@main_menu.layer_duplicate" />
      <item command="MergeDownLayer" text="@main_menu.layer_merge_down" />
      <item command="FlattenLayers" text="@main_menu.layer_flatten" />
      <item command="FlattenLayers" text="@main_menu.layer_flatten_visible" group="layer_popup_merge">
        <param name="visibleOnly" value="true" />
      </item>
    </menu>

    <menu id="frame_popup_menu">
      <item command="FrameProperties" text="@main_menu.frame_properties" group="frame_popup_properties">
        <param name="frame" value="current" />
      </item>
      <separator />
      <item command="NewFrame" text="@main_menu.frame_new_frame" />
      <item command="NewFrame" text="@main_menu.frame_new_empty_frame">
        <param name="content" value="empty" />
      </item>
      <item command="NewFrameTag" text="@main_menu.frame_tags_new_tag" group="frame_popup_new" />
      <item command="RemoveFrame" text="@main_menu.frame_delete_frame" group="frame_popup_delete" />
      <separator />
      <item command="SetLoopSection" text="@main_menu.view_set_loop_section" group="frame_popup_loop" />
      <separator />
      <item command="ReverseFrames" text="@main_menu.frame_reverse_frames" group="frame_popup_reverse" />
    </menu>

    <menu id="cel_popup_menu">
      <item command="CelProperties" text="@main_menu.frame_cel_properties" group="cel_popup_properties" />
      <separator group="cel_popup_edit" />
      <item command="ClearCel" text="@.clear" group="cel_popup_clear" />
      <item command="UnlinkCel" text="@.unlink" />
      <item command="LinkCels" text="@.link_cels" group="cel_popup_links" />
      <separator />
      <item command="NewFrame" text="@main_menu.frame_duplicate_cels">
        <param name="content" value="celcopies" />
      </item>
      <item command="NewFrame" text="@main_menu.frame_duplicate_linked_cels" group="cel_popup_new">
        <param name="content" value="cellinked" />
      </item>
    </menu>

    <menu id="cel_movement_popup_menu">
      <item command="MoveCel" text="@.move" />
      <item command="CopyCel" text="@.copy" />
      <separator />
      <item command="Cancel" text="@.cancel">
        <param name="type" value="noop" />
      </item>
    </menu>

    <menu id="tag_popup_menu">
      <item command="FrameTagProperties" text="@main_menu.frame_tags_tag_properties" group="tag_popup_properties" />
      <item command="RemoveFrameTag" text="@main_menu.frame_tags_delete_tag" group="tag_popup_delete" />
    </menu>

    <menu id="slice_popup_menu">
      <item command="SliceProperties" text="@.properties" group="slice_popup_properties" />
      <item command="RemoveSlice" text="@.delete" group="slice_popup_delete" />
    </menu>

    <menu id="palette_popup_menu" text="@.title">
      <item command="PaletteEditor" text="@.edit_palette" />
      <item command="PaletteSize" text="@.palette_size" group="palette_main" />
      <separator />
      <menu id="select_palette_colors" text="@.select_palette_colors">
        <item command="SelectPaletteColors" text="@.used_colors">
          <param name="modifier" value="used_colors" />
        </item>
        <item command="SelectPaletteColors" text="@.unused_colors">
          <param name="modifier" value="unused_colors" />
        </item>
        <separator />
        <item command="SelectPaletteColors" text="@.used_tiles">
          <param name="modifier" value="used_tiles" />
        </item>
        <item command="SelectPaletteColors" text="@.unused_tiles">
          <param name="modifier" value="unused_tiles" />
        </item>
      </menu>
      <separator />
      <item command="SetPaletteEntrySize" text="@.small_size">
        <param name="size" value="7" />
      </item>
      <item command="SetPaletteEntrySize" text="@.medium_size">
        <param name="size" value="11" />
      </item>
      <item command="SetPaletteEntrySize" text="@.large_size" group="palette_view">
        <param name="size" value="17" />
      </item>
      <separator />
      <item command="SetColorSelector" text="@.color_tint_shade_tone">
        <param name="type" value="tint-shade-tone" />
      </item>
      <item command="SetColorSelector" text="@.color_spectrum">
        <param name="type" value="spectrum" />
      </item>
      <item command="SetColorSelector" text="@.rgb_color_wheel">
        <param name="type" value="rgb-wheel" />
      </item>
      <item command="SetColorSelector" text="@.ryb_color_wheel">
        <param name="type" value="ryb-wheel" />
      </item>
      <item command="SetColorSelector" text="@.normal_map_color_wheel" group="palette_selector">
        <param name="type" value="normal-map-wheel" />
      </item>
      <separator />
      <item command="LoadPalette" text="@.load_palette" />
      <item command="LoadPalette" text="@.load_default_palette">
        <param name="preset" value="default" />
      </item>
      <item command="SavePalette" text="@.save_palette" />
      <item command="SavePalette" text="@.save_palette_as_preset">
        <param name="saveAsPreset" value="true" />
      </item>
      <item command="SavePalette" text="@.save_as_default_palette" group="palette_files">
        <param name="preset" value="default" />
      </item>
      <separator />
      <item command="ColorQuantization" text="@.create_palette_from_current_sprite" group="palette_generation" />
    </menu>

    <menu id="ink_popup_menu">
      <item command="SetInkType" text="@inks.simple_ink">
        <param name="type" value="simple" />
      </item>
      <item command="SetInkType" text="@inks.alpha_compositing">
        <param name="type" value="alpha-compositing" />
      </item>
      <item command="SetInkType" text="@inks.copy_color">
        <param name="type" value="copy-color" />
      </item>
      <item command="SetInkType" text="@inks.lock_alpha">
        <param name="type" value="lock-alpha" />
      </item>
      <item command="SetInkType" text="@inks.shading" group="ink_types">
        <param name="type" value="shading" />
      </item>
      <separator />
      <item command="SetSameInk" text="@.same_in_all_tools" group="ink_options" />
    </menu>

  </menus>

  <!-- tools -->
  <tools>

    <group id="selection_tools">
      <tool id="rectangular_marquee"
            text="@.rectangular_marquee"
            tooltip="@.selection_tooltip"
            fill="always"
            ink="selection"
            controller="two_points"
            pointshape="pixel"
            intertwine="as_rectangles"
            tracepolicy="last" />
      <tool id="elliptical_marquee"
            text="@.elliptical_marquee"
            tooltip="@.selection_tooltip"
            fill="always"
            ink="selection"
            controller="two_points"
            pointshape="pixel"
            intertwine="as_ellipses"
            tracepolicy="last" />
      <tool id="lasso"
            text="@.lasso_tool"
            tooltip="@.selection_tooltip"
            fill="always"
            ink="selection"
            controller="freehand"
            pointshape="pixel"
            intertwine="as_lines"
            tracepolicy="accumulate" />
      <tool id="polygonal_lasso"
            text="@.polygonal_lasso"
            tooltip="@.selection_tooltip"
            fill="always"
            ink="selection"
            controller="point_by_point"
            pointshape="pixel"
            intertwine="as_lines"
            tracepolicy="last" />
      <tool id="magic_wand"
            text="@.magic_wand"
            tooltip="@.selection_tooltip"
            fill="always"
            ink="selection"
            controller="one_point"
            pointshape="floodfill"
            tracepolicy="accumulate" />
    </group>

    <group id="pencil_tools">
      <tool id="pencil"
            text="@.pencil"
            ink="paint"
            controller="freehand"
            pointshape="brush"
            intertwine="as_lines"
            tracepolicy="accumulate" />
      <tool id="spray"
            text="@.spray"
            ink="paint"
            controller="freehand"
            pointshape="spray"
            tracepolicy="overlap" />
    </group>

    <group id="eraser_tools">
      <tool id="eraser"
            text="@.eraser"
            tooltip="@.eraser_tooltip"
            ink_left="eraser"
            ink_right="replace_fg_with_bg"
            controller="freehand"
            pointshape="brush"
            intertwine="as_lines"
            tracepolicy="accumulate"
            default_brush_size="8" />
    </group>

    <group id="color_tools">
      <tool id="eyedropper"
            text="@.eyedropper"
            ink_left="pick_fg"
            ink_right="pick_bg"
            controller="freehand"
            pointshape="pixel" />
    </group>

    <group id="view_tools">
      <tool id="zoom"
            text="@.zoom"
            ink="zoom"
            controller="freehand" />
      <tool id="hand"
            text="@.hand"
            ink="scroll"
            controller="freehand" />
    </group>

    <group id="move_tools">
      <tool id="move"
            text="@.move"
            ink="move"
            controller="freehand" />
      <tool id="slice"
            text="@.slice"
            fill="none"
            ink="slice"
            controller="two_points"
            pointshape="pixel"
            intertwine="as_rectangles"
            tracepolicy="last" />
    </group>

    <group id="paint_bucket">
      <tool id="paint_bucket"
            text="@.paint_bucket"
            ink="paint"
            controller="one_point"
            pointshape="floodfill"
            tracepolicy="accumulate" />
      <tool id="gradient"
            text="@.gradient"
            ink="gradient"
            controller="two_points"
            pointshape="floodfill"
            intertwine="first_point"
            tracepolicy="last" />
    </group>

    <group id="perfect_traces">
      <tool id="line"
            text="@.line"
            ink="paint"
            controller="two_points"
            pointshape="brush"
            intertwine="as_lines"
            tracepolicy="last" />
      <tool id="curve"
            text="@.curve"
            ink="paint"
            controller="four_points"
            pointshape="brush"
            intertwine="as_bezier"
            tracepolicy="last" />
    </group>

    <group id="shapes">
      <tool id="rectangle"
            text="@.rectangle"
            fill="optional"
            ink="paint"
            controller="two_points"
            pointshape="brush"
            intertwine="as_rectangles"
            tracepolicy="last" />
      <tool id="filled_rectangle"
            text="@.filled_rectangle"
            fill="always"
            ink="paint"
            controller="two_points"
            pointshape="brush"
            intertwine="as_rectangles"
            tracepolicy="last" />
      <tool id="ellipse"
            text="@.ellipse"
            fill="optional"
            ink="paint"
            controller="two_points"
            pointshape="brush"
            intertwine="as_ellipses"
            tracepolicy="last" />
      <tool id="filled_ellipse"
            text="@.filled_ellipse"
            fill="always"
            ink="paint"
            controller="two_points"
            pointshape="brush"
            intertwine="as_ellipses"
            tracepolicy="last" />
    </group>

    <group id="contours">
      <tool id="contour"
            text="@.contour"
            fill="always"
            ink="paint"
            controller="freehand"
            pointshape="brush"
            intertwine="as_lines"
            tracepolicy="accumulate" />
      <tool id="polygon"
            text="@.polygon"
            fill="always"
            ink="paint"
            controller="point_by_point"
            pointshape="brush"
            intertwine="as_lines"
            tracepolicy="last" />
    </group>

    <group id="effects">
      <tool id="blur"
            text="@.blur"
            ink="blur"
            controller="freehand"
            pointshape="brush"
            intertwine="as_lines"
            tracepolicy="accumulate"
            default_brush_size="16" />
      <tool id="jumble"
            text="@.jumble"
            ink="jumble"
            controller="freehand"
            pointshape="brush"
            intertwine="as_lines"
            tracepolicy="overlap"
            default_brush_size="16" />
    </group>

  </tools>

</gui>
