mirror of
https://github.com/aseprite/aseprite.git
synced 2024-09-02 04:59:24 +00:00
598 lines
20 KiB
XML
598 lines
20 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- ASE menus, tools and keyboard shortcuts -->
|
|
<gui>
|
|
<!-- Keyboard shortcuts -->
|
|
<keyboard>
|
|
|
|
<!-- Keyboard shortcuts for commands (menu options) -->
|
|
<commands>
|
|
<!-- File -->
|
|
<key command="new_file" shortcut="Ctrl+N" />
|
|
<key command="open_file" shortcut="Ctrl+O" />
|
|
<key command="save_file" shortcut="Ctrl+S" />
|
|
<key command="save_file_as" shortcut="Ctrl+Shift+S" />
|
|
<key command="save_file_copy_as" shortcut="Ctrl+Shift+C" />
|
|
<key command="close_file" shortcut="Ctrl+W" />
|
|
<key command="close_all_files" shortcut="Ctrl+Shift+W" />
|
|
<key command="screen_shot" shortcut="F12" />
|
|
<key command="exit" shortcut="Ctrl+Q" />
|
|
<key command="exit" shortcut="Esc" />
|
|
<!-- Edit -->
|
|
<key command="undo" shortcut="Ctrl+Z" /> <key command="undo" shortcut="Ctrl+U" />
|
|
<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="replace_color" shortcut="Shift+R" />
|
|
<key command="invert_color" shortcut="Ctrl+I" />
|
|
<key command="convolution_matrix" shortcut="F9" />
|
|
<key command="color_curve" shortcut="Ctrl+M" />
|
|
<key command="color_curve" shortcut="F10" />
|
|
<key command="configure_tools" shortcut="C" />
|
|
<key command="options" shortcut="Ctrl+Shift+O" />
|
|
<!-- Sprite -->
|
|
<key command="sprite_properties" shortcut="Ctrl+P" />
|
|
<!-- Layer -->
|
|
<key command="layer_properties" shortcut="Shift+P" />
|
|
<key command="new_layer" shortcut="Shift+N" />
|
|
<key command="goto_previous_layer" shortcut="Down" />
|
|
<key command="goto_next_layer" shortcut="Up" />
|
|
<!-- Frame -->
|
|
<key command="new_frame" shortcut="N" />
|
|
<key command="frame_properties" shortcut="P" />
|
|
<key command="goto_first_frame" shortcut="Home" />
|
|
<key command="goto_previous_frame" shortcut="Left" />
|
|
<key command="goto_next_frame" shortcut="Right" />
|
|
<key command="goto_last_frame" shortcut="End" />
|
|
<key command="play_animation" shortcut="Enter" />
|
|
<!-- Select -->
|
|
<key command="mask_all" shortcut="Ctrl+A" />
|
|
<key command="deselect_mask" shortcut="Ctrl+D" />
|
|
<key command="reselect_mask" shortcut="Ctrl+Shift+D" />
|
|
<key command="invert_mask" shortcut="Ctrl+Shift+I" />
|
|
<!-- View -->
|
|
<key command="refresh" shortcut="F5" />
|
|
<key command="make_unique_editor" shortcut="Ctrl+1" />
|
|
<key command="split_editor_vertically" shortcut="Ctrl+2" />
|
|
<key command="split_editor_horizontally" shortcut="Ctrl+3" />
|
|
<key command="close_editor" shortcut="Ctrl+4" />
|
|
<key command="preview" shortcut="F8" />
|
|
<key command="show_grid" shortcut="Shift+G" />
|
|
<key command="snap_to_grid" shortcut="Shift+S" />
|
|
<key command="film_editor" shortcut="Tab" />
|
|
<key command="palette_editor" shortcut="F4">
|
|
<param name="switch" value="true" />
|
|
</key>
|
|
<!-- Others -->
|
|
<key command="switch_colors" shortcut="X" />
|
|
<key command="change_color" shortcut="9">
|
|
<param name="target" value="foreground" />
|
|
<param name="change" value="decrement-index" />
|
|
</key>
|
|
<key command="change_color" shortcut="0">
|
|
<param name="target" value="foreground" />
|
|
<param name="change" value="increment-index" />
|
|
</key>
|
|
<key command="change_color" shortcut="[">
|
|
<param name="target" value="foreground" />
|
|
<param name="change" value="decrement-index" />
|
|
</key>
|
|
<key command="change_color" shortcut="]">
|
|
<param name="target" value="foreground" />
|
|
<param name="change" value="increment-index" />
|
|
</key>
|
|
<key command="change_color" shortcut="Ctrl+9">
|
|
<param name="target" value="background" />
|
|
<param name="change" value="decrement-index" />
|
|
</key>
|
|
<key command="change_color" shortcut="Ctrl+0">
|
|
<param name="target" value="background" />
|
|
<param name="change" value="increment-index" />
|
|
</key>
|
|
|
|
<!-- Modify pen size with +/- signs -->
|
|
<key command="change_pen" shortcut="+">
|
|
<param name="change" value="increment-size" />
|
|
</key>
|
|
<key command="change_pen" shortcut="-">
|
|
<param name="change" value="decrement-size" />
|
|
</key>
|
|
<key command="change_pen" shortcut="Plus Pad">
|
|
<param name="change" value="increment-size" />
|
|
</key>
|
|
<key command="change_pen" shortcut="Minus Pad">
|
|
<param name="change" value="decrement-size" />
|
|
</key>
|
|
</commands>
|
|
|
|
<!-- Keyboard shortcuts to select tools -->
|
|
<tools>
|
|
<key tool="rectangular_marquee" shortcut="M" />
|
|
<key tool="elliptical_marquee" shortcut="M" />
|
|
<key tool="lasso" shortcut="Q" />
|
|
<key tool="polygonal_lasso" shortcut="Q" />
|
|
<key tool="magic_wand" shortcut="W" />
|
|
|
|
<key tool="pencil" shortcut="B" />
|
|
<key tool="spray" shortcut="S" />
|
|
|
|
<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="Y" />
|
|
|
|
<key tool="rectangle" shortcut="U" />
|
|
<key tool="filled_rectangle" shortcut="U" />
|
|
<key tool="ellipse" shortcut="U" />
|
|
<key tool="filled_ellipse" shortcut="U" />
|
|
|
|
<key tool="contour" shortcut="D" />
|
|
<key tool="polygon" shortcut="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>
|
|
|
|
</keyboard>
|
|
|
|
<menus>
|
|
<!-- main bar menu -->
|
|
<menu id="main_menu">
|
|
<menu text="&File">
|
|
<item command="new_file" text="&New..." />
|
|
<item command="open_file" text="&Open..." />
|
|
<item id="recent_list" text="Open &Recent" />
|
|
<separator />
|
|
<item command="save_file" text="&Save" />
|
|
<item command="save_file_as" text="Save &As..." />
|
|
<item command="save_file_copy_as" text="Save Cop&y As..." />
|
|
<item command="close_file" text="&Close" />
|
|
<item command="close_all_files" text="Close All" />
|
|
<separator />
|
|
<item command="exit" text="E&xit" />
|
|
</menu>
|
|
<menu text="&Edit">
|
|
<item command="undo" text="&Undo" />
|
|
<item command="redo" text="&Redo" />
|
|
<separator />
|
|
<item command="cut" text="Cu&t" />
|
|
<item command="copy" text="&Copy" />
|
|
<item command="paste" text="&Paste" />
|
|
<item command="clear" text="C&lear" />
|
|
<separator />
|
|
<item command="flip" text="Flip &Horizontal">
|
|
<param name="target" value="mask" />
|
|
<param name="orientation" value="horizontal" />
|
|
</item>
|
|
<item command="flip" text="Flip &Vertical">
|
|
<param name="target" value="mask" />
|
|
<param name="orientation" value="vertical" />
|
|
</item>
|
|
<separator />
|
|
<item command="replace_color" text="R&eplace Color..." />
|
|
<item command="invert_color" text="&Invert" />
|
|
<menu text="F&X" id="fx_popup">
|
|
<item command="convolution_matrix" text="Convolution &Matrix" />
|
|
<item command="color_curve" text="&Color Curve" />
|
|
<separator />
|
|
<item command="despeckle" text="&Despeckle (median filter)" />
|
|
</menu>
|
|
<separator />
|
|
<item command="configure_tools" text="Tool&s" />
|
|
<item command="options" text="&Options" />
|
|
</menu>
|
|
<menu text="&Sprite">
|
|
<item command="sprite_properties" text="&Properties..." />
|
|
<menu text="Color &Mode">
|
|
<item command="change_image_type" text="&RGB Color">
|
|
<param name="imgtype" value="rgb" />
|
|
</item>
|
|
<item command="change_image_type" text="&Grayscale">
|
|
<param name="imgtype" value="grayscale" />
|
|
</item>
|
|
<item command="change_image_type" text="&Indexed (No Dithering)">
|
|
<param name="imgtype" value="indexed" />
|
|
</item>
|
|
<item command="change_image_type" text="Indexed (Ordered &Dither)">
|
|
<param name="imgtype" value="indexed" />
|
|
<param name="dithering" value="ordered" />
|
|
</item>
|
|
</menu>
|
|
<separator />
|
|
<item command="duplicate_sprite" text="&Duplicate..." />
|
|
<separator />
|
|
<item command="sprite_size" text="&Sprite Size..." />
|
|
<item command="canvas_size" text="&Canvas Size..." />
|
|
<menu text="&Rotate Canvas">
|
|
<item command="rotate_canvas" text="180">
|
|
<param name="angle" value="180" />
|
|
</item>
|
|
<item command="rotate_canvas" text="90 CW">
|
|
<param name="angle" value="90" />
|
|
</item>
|
|
<item command="rotate_canvas" text="90 CCW">
|
|
<param name="angle" value="-90" />
|
|
</item>
|
|
<separator />
|
|
<item command="flip" text="Flip Canvas &Horizontal">
|
|
<param name="target" value="canvas" />
|
|
<param name="orientation" value="horizontal" />
|
|
</item>
|
|
<item command="flip" text="Flip Canvas &Vertical">
|
|
<param name="target" value="canvas" />
|
|
<param name="orientation" value="vertical" />
|
|
</item>
|
|
</menu>
|
|
<separator />
|
|
<item command="crop_sprite" text="Cr&op" />
|
|
<item command="autocrop_sprite" text="&Trim" />
|
|
</menu>
|
|
<menu text="&Layer">
|
|
<item command="layer_properties" text="&Properties..." />
|
|
<separator />
|
|
<item command="new_layer" text="&New Layer" />
|
|
<item command="remove_layer" text="&Remove Layer" />
|
|
<item command="background_from_layer" text="&Background from Layer" />
|
|
<item command="layer_from_background" text="&Layer from Background" />
|
|
<separator />
|
|
<item command="duplicate_layer" text="&Duplicate" />
|
|
<item command="merge_down_layer" text="&Merge Down" />
|
|
<item command="flatten_layers" text="&Flatten" />
|
|
</menu>
|
|
<menu text="F&rame">
|
|
<item command="frame_properties" text="Frame &Properties..." />
|
|
<item command="cel_properties" text="&Cel Properties..." />
|
|
<separator />
|
|
<item command="new_frame" text="&New Frame" />
|
|
<item command="remove_frame" text="&Remove Frame" />
|
|
<separator />
|
|
<menu text="&Jump to">
|
|
<item command="goto_first_frame" text="&First Frame" />
|
|
<item command="goto_previous_frame" text="&Previous Frame" />
|
|
<item command="goto_next_frame" text="&Next Frame" />
|
|
<item command="goto_last_frame" text="&Last Frame" />
|
|
</menu>
|
|
<item command="play_animation" text="&Play Animation" />
|
|
</menu>
|
|
<menu text="Selec&t">
|
|
<item command="mask_all" text="&All" />
|
|
<item command="deselect_mask" text="&Deselect" />
|
|
<item command="reselect_mask" text="&Reselect" />
|
|
<item command="invert_mask" text="&Inverse" />
|
|
<separator />
|
|
<item command="mask_by_color" text="&Color Range" />
|
|
<separator />
|
|
<item command="load_mask" text="&Load from MSK file" />
|
|
<item command="save_mask" text="&Save to MSK file" />
|
|
</menu>
|
|
<menu text="&View">
|
|
<menu text="Sprite &Editor">
|
|
<item command="make_unique_editor" text="Make &Unique" />
|
|
<separator />
|
|
<item command="split_editor_vertically" text="Split &Vertically" />
|
|
<item command="split_editor_horizontally" text="Split &Horizontally" />
|
|
<separator />
|
|
<item command="close_editor" text="&Close" />
|
|
</menu>
|
|
<separator />
|
|
<item command="show_grid" text="Show &Grid" />
|
|
<item command="snap_to_grid" text="&Snap to Grid" />
|
|
<item command="grid_settings" text="Gri&d Settings" />
|
|
<separator />
|
|
<item command="film_editor" text="&Animation Editor" />
|
|
<item command="palette_editor" text="&Palette Editor">
|
|
<param name="switch" value="true" />
|
|
</item>
|
|
<item command="preview" text="Previe&w" />
|
|
<separator />
|
|
<item command="refresh" text="&Refresh && Reload Skin" />
|
|
<item command="screen_shot" text="&Screen Shot" />
|
|
</menu>
|
|
<menu text="&Help">
|
|
<item command="quick_reference" text="Quick &Reference" />
|
|
<separator />
|
|
<item command="donate" text="&Donate" />
|
|
<item command="check_updates" text="&Check for New Version" />
|
|
<separator />
|
|
<item command="about" text="&About" />
|
|
</menu>
|
|
</menu>
|
|
|
|
<menu id="layer_popup">
|
|
<item command="layer_properties" text="&Properties..." />
|
|
<separator />
|
|
<item command="new_layer" text="&New..." />
|
|
<item command="remove_layer" text="&Remove" />
|
|
<item command="background_from_layer" text="&Background from Layer" />
|
|
<item command="layer_from_background" text="&Layer from Background" />
|
|
<separator />
|
|
<item command="duplicate_layer" text="&Duplicate..." />
|
|
<item command="merge_down_layer" text="&Merge Down" />
|
|
<item command="flatten_layers" text="&Flatten" />
|
|
</menu>
|
|
|
|
<menu id="frame_popup">
|
|
<item command="frame_properties" text="&Properties..." />
|
|
<separator />
|
|
<item command="new_frame" text="&New" />
|
|
<item command="remove_frame" text="&Remove" />
|
|
</menu>
|
|
|
|
<menu id="cel_popup">
|
|
<item command="cel_properties" text="&Properties..." />
|
|
<separator />
|
|
<item command="clear" text="&Clear" />
|
|
</menu>
|
|
|
|
<menu id="cel_movement_popup">
|
|
<item command="move_cel" text="&Move" />
|
|
<item command="copy_cel" text="&Copy" />
|
|
</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: add to current selection. *
|
|
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: add to current selection. *
|
|
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: add to current selection. *
|
|
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: add to current selection. *
|
|
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: add to current selection. *
|
|
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="accumulative"
|
|
/>
|
|
</group>
|
|
|
|
<group id="helpers" text="Helpers">
|
|
<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
|
|
or transparent color in any other layer. *
|
|
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"
|
|
/>
|
|
<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="accumulative"
|
|
default_pen_size="16"
|
|
/>
|
|
<tool id="jumble"
|
|
text="Jumble Tool"
|
|
ink="jumble"
|
|
controller="freehand"
|
|
pointshape="pen"
|
|
intertwine="as_lines"
|
|
tracepolicy="accumulative"
|
|
default_pen_size="16"
|
|
/>
|
|
</group>
|
|
|
|
</tools>
|
|
|
|
</gui>
|