mirror of
https://github.com/aseprite/aseprite.git
synced 2024-09-02 13:09:27 +00:00
Now we have one editor for each Document we want to edit. Before we were creating one editor and switching the document on it, but now we have several Editors (one for each opened Document). This simplifies the Document implementation, because it doesn't need to know temporal Editor information (like "preferred editor settings"). - Removed all code from modules/editors.cpp (legacy from C code). - Removed PreferredEditorSettings class and Document::getPreferredEditorSettings(). - Added Workspace/WorkspaceView classes. - Added DocumentView (a DocumentObserver). - Added MiniEditorWindow class. - Removed SelectFileCommand & CloseEditorCommand. - Added TabView interface instead of using a raw void* in Tabs/TabsDelegate classes. - Modified editors_draw_sprite() calls to Document::notifySpritePixelsModified notifications. - The "current_editor" global variable wasn't removed because it's used in several places yet, but it will be removed in the near future. (Also this variable now can be NULL when we don't have an opened document.)
686 lines
26 KiB
XML
686 lines
26 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- ASE menus, tools and keyboard shortcuts -->
|
|
<gui version="0.9.6-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="AdvancedMode" shortcut="F11" />
|
|
<key command="DeveloperConsole" shortcut="F12" />
|
|
<key command="Exit" shortcut="Ctrl+Q" />
|
|
<key command="Exit" shortcut="Alt+F4" />
|
|
<key command="Cancel" shortcut="Esc" />
|
|
<!-- 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="FilmEditor" shortcut="Tab" />
|
|
<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="&File">
|
|
<item command="NewFile" text="&New..." />
|
|
<item command="OpenFile" text="&Open..." />
|
|
<item id="recent_list" text="Open &Recent" />
|
|
<separator />
|
|
<item command="SaveFile" text="&Save" />
|
|
<item command="SaveFileAs" text="Save &As..." />
|
|
<item command="SaveFileCopyAs" text="Save Cop&y As..." />
|
|
<item command="CloseFile" text="&Close" />
|
|
<item command="CloseAllFiles" text="Close All" />
|
|
<separator />
|
|
<item command="ImportSpriteSheet" text="&Import Sprite Sheet" />
|
|
<item command="ExportSpriteSheet" text="&Export Sprite Sheet" />
|
|
<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="ReplaceColor" text="R&eplace Color..." />
|
|
<item command="InvertColor" text="&Invert" />
|
|
<menu text="F&X" id="fx_popup">
|
|
<item command="ConvolutionMatrix" text="Convolution &Matrix" />
|
|
<item command="ColorCurve" text="&Color Curve" />
|
|
<separator />
|
|
<item command="Despeckle" text="&Despeckle (median filter)" />
|
|
</menu>
|
|
<separator />
|
|
<item command="ConfigureTools" text="Tool&s" />
|
|
<item command="Options" text="&Options" />
|
|
</menu>
|
|
<menu text="&Sprite">
|
|
<item command="SpriteProperties" text="&Properties..." />
|
|
<menu text="Color &Mode">
|
|
<item command="ChangePixelFormat" text="&RGB Color">
|
|
<param name="format" value="rgb" />
|
|
</item>
|
|
<item command="ChangePixelFormat" text="&Grayscale">
|
|
<param name="format" value="grayscale" />
|
|
</item>
|
|
<item command="ChangePixelFormat" text="&Indexed (No Dithering)">
|
|
<param name="format" value="indexed" />
|
|
</item>
|
|
<item command="ChangePixelFormat" text="Indexed (Ordered &Dither)">
|
|
<param name="format" value="indexed" />
|
|
<param name="dithering" value="ordered" />
|
|
</item>
|
|
</menu>
|
|
<separator />
|
|
<item command="DuplicateSprite" text="&Duplicate..." />
|
|
<separator />
|
|
<item command="SpriteSize" text="&Sprite Size..." />
|
|
<item command="CanvasSize" text="&Canvas Size..." />
|
|
<menu text="&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 &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="CropSprite" text="Cr&op" />
|
|
<item command="AutocropSprite" text="&Trim" />
|
|
</menu>
|
|
<menu text="&Layer">
|
|
<item command="LayerProperties" text="&Properties..." />
|
|
<separator />
|
|
<item command="NewLayer" text="&New Layer" />
|
|
<item command="RemoveLayer" text="&Remove Layer" />
|
|
<item command="BackgroundFromLayer" text="&Background from Layer" />
|
|
<item command="LayerFromBackground" text="&Layer from Background" />
|
|
<separator />
|
|
<item command="DuplicateLayer" text="&Duplicate" />
|
|
<item command="MergeDownLayer" text="&Merge Down" />
|
|
<item command="FlattenLayers" text="&Flatten" />
|
|
</menu>
|
|
<menu text="F&rame">
|
|
<item command="FrameProperties" text="Frame &Properties...">
|
|
<param name="frame" value="current" />
|
|
</item>
|
|
<item command="CelProperties" text="&Cel Properties..." />
|
|
<separator />
|
|
<item command="NewFrame" text="&New Frame" />
|
|
<item command="RemoveFrame" text="&Remove Frame" />
|
|
<separator />
|
|
<menu text="&Jump to">
|
|
<item command="GotoFirstFrame" text="&First Frame" />
|
|
<item command="GotoPreviousFrame" text="&Previous Frame" />
|
|
<item command="GotoNextFrame" text="&Next Frame" />
|
|
<item command="GotoLastFrame" text="&Last Frame" />
|
|
<separator />
|
|
<item command="GotoFrame" text="&Go to Frame" />
|
|
</menu>
|
|
<item command="PlayAnimation" text="&Play Animation" />
|
|
<separator />
|
|
<item command="FrameProperties" text="Constant Frame Rate">
|
|
<param name="frame" value="all" />
|
|
</item>
|
|
</menu>
|
|
<menu text="Selec&t">
|
|
<item command="MaskAll" text="&All" />
|
|
<item command="DeselectMask" text="&Deselect" />
|
|
<item command="ReselectMask" text="&Reselect" />
|
|
<item command="InvertMask" text="&Inverse" />
|
|
<separator />
|
|
<item command="MaskByColor" text="&Color Range" />
|
|
<separator />
|
|
<item command="LoadMask" text="&Load from MSK file" />
|
|
<item command="SaveMask" text="&Save to MSK file" />
|
|
</menu>
|
|
<menu text="&View">
|
|
<item command="MakeUniqueEditor" text="Make &Unique" />
|
|
<item command="SplitEditorVertically" text="Split &Vertically" />
|
|
<item command="SplitEditorHorizontally" text="Split &Horizontally" />
|
|
<separator />
|
|
<item command="ShowGrid" text="Show &Grid" />
|
|
<item command="SnapToGrid" text="&Snap to Grid" />
|
|
<item command="GridSettings" text="Gri&d Settings" />
|
|
<separator />
|
|
<item command="FilmEditor" text="&Animation Editor" />
|
|
<item command="PaletteEditor" text="&Palette Editor">
|
|
<param name="switch" value="true" />
|
|
</item>
|
|
<item command="Preview" text="Previe&w" />
|
|
<separator />
|
|
<item command="Refresh" text="&Refresh && Reload Skin" />
|
|
</menu>
|
|
<menu text="&Help">
|
|
<item command="Launch" text="README">
|
|
<param name="type" value="url" />
|
|
<param name="path" value="https://github.com/dacap/aseprite#readme" />
|
|
</item>
|
|
<item command="Launch" text="Quick &Reference">
|
|
<param name="type" value="docs" />
|
|
<param name="path" value="quickref.pdf" />
|
|
</item>
|
|
<item command="Launch" text="Wiki">
|
|
<param name="type" value="url" />
|
|
<param name="path" value="http://code.google.com/p/aseprite/wiki/Home" />
|
|
</item>
|
|
<separator />
|
|
<item command="Launch" text="Release Notes">
|
|
<param name="type" value="url" />
|
|
<param name="path" value="http://code.google.com/p/aseprite/wiki/ReleaseNotes" />
|
|
</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="&Donate">
|
|
<param name="type" value="url" />
|
|
<param name="path" value="http://www.aseprite.org/donate/" />
|
|
</item>
|
|
<item command="About" text="&About" />
|
|
</menu>
|
|
</menu>
|
|
|
|
<menu id="document_tab_popup">
|
|
<item command="CloseFile" text="&Close" />
|
|
<separator />
|
|
<item command="OpenInFolder" text="Open In &Folder" />
|
|
<item command="OpenWithApp" text="Open With Associated &Application" />
|
|
</menu>
|
|
|
|
<menu id="layer_popup">
|
|
<item command="LayerProperties" text="&Properties..." />
|
|
<separator />
|
|
<item command="NewLayer" text="&New" />
|
|
<item command="RemoveLayer" text="&Remove" />
|
|
<item command="BackgroundFromLayer" text="&Background from Layer" />
|
|
<item command="LayerFromBackground" text="&Layer from Background" />
|
|
<separator />
|
|
<item command="DuplicateLayer" text="&Duplicate..." />
|
|
<item command="MergeDownLayer" text="&Merge Down" />
|
|
<item command="FlattenLayers" text="&Flatten" />
|
|
</menu>
|
|
|
|
<menu id="frame_popup">
|
|
<item command="FrameProperties" text="&Properties...">
|
|
<param name="frame" value="current" />
|
|
</item>
|
|
<separator />
|
|
<item command="NewFrame" text="&New" />
|
|
<item command="RemoveFrame" text="&Remove" />
|
|
</menu>
|
|
|
|
<menu id="cel_popup">
|
|
<item command="CelProperties" text="&Properties..." />
|
|
<separator />
|
|
<item command="Clear" text="&Clear" />
|
|
</menu>
|
|
|
|
<menu id="cel_movement_popup">
|
|
<item command="MoveCel" text="&Move" />
|
|
<item command="CopyCel" 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="overlap"
|
|
/>
|
|
</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="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>
|