aseprite/data/pref.xml
David Capello da1358c5dc Unify all render code in one library
Changes:
* Create render library (move util/render.cpp to render/render.cpp)
* Move app::Zoom class to render::Zoom
* Remove doc::Image::merge() member function
* Add gfx::Clip helper class (to clip dst/src rectangles before a blit)
* Move doc::composite_image() to render::composite_image()
* Remove doc::Sprite::render()
* Replace Sprite::getPixel() with render::get_sprite_pixel()
* Remove doc::layer_render() function
* Convert DitheringMethod to a enum class
* Add AppRender to configure a render::Render with the app configuration
* Move checked background preferences as document-specific configuration
* Add doc::Sprite::layer() and palette() member functions
* Add doc::Layer::cel() member function
* Add doc::Palette::entry() member function()
* Add doc::frame_t type
* Move create_palette_from_rgb/convert_pixel_format to render library
* ExportSpriteSheet doesn't need a temporary image now that we can specify
  the source rectangle in the render routine
2014-12-28 11:06:11 -03:00

148 lines
5.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<preferences>
<types>
<enum id="InkType">
<value id="DEFAULT" value="0" />
<value id="SET_ALPHA" value="1" />
<value id="LOCK_ALPHA" value="2" />
</enum>
<enum id="RightClickMode">
<value id="PAINT_BGCOLOR" value="0" />
<value id="PICK_FGCOLOR" value="1" />
<value id="ERASE" value="2" />
</enum>
<enum id="TiledMode">
<value id="NONE" value="0" />
<value id="X_AXIS" value="1" />
<value id="Y_AXIS" value="2" />
<value id="BOTH" value="3" />
</enum>
<enum id="OnionskinType">
<value id="MERGE" value="0" />
<value id="RED_BLUE_TINT" value="1" />
</enum>
<enum id="AniDir">
<value id="FORWARD" value="0" />
<value id="REVERSE" value="1" />
<value id="PING_PONG" value="2" />
</enum>
<enum id="FreehandAlgorithm">
<value id="REGULAR" value="0" />
<value id="PIXEL_PERFECT" value="1" />
<value id="DOTS" value="2" />
</enum>
<enum id="BrushType">
<value id="CIRCLE" value="0" />
<value id="SQUARE" value="1" />
<value id="LINE" value="2" />
</enum>
<enum id="SelectionMode">
<value id="DEFAULT" value="0" />
<value id="ADD" value="1" />
<value id="SUBTRACT" value="2" />
</enum>
<enum id="RotationAlgorithm">
<value id="FAST" value="0" />
<value id="ROTSPRITE" value="1" />
</enum>
<enum id="BgType">
<value id="CHECKED_16x16" value="0" />
<value id="CHECKED_8x8" value="1" />
<value id="CHECKED_4x4" value="2" />
<value id="CHECKED_2x2" value="3" />
</enum>
</types>
<global>
<section id="general">
<option id="autoshow_timeline" type="bool" default="true" migrate="Options.AutoShowTimeline" />
<option id="expand_menubar_on_mouseover" type="bool" default="false" migrate="Options.ExpandMenuBarOnMouseover" />
</section>
<section id="undo" text="Undo">
<option id="size_limit" type="int" default="0" />
<option id="goto_modified" type="bool" default="false" />
</section>
<section id="editor" text="Editor">
<option id="zoom_with_scroll_wheel" type="bool" default="false" form="" />
<option id="center_on_zoom" type="bool" default="false" />
<option id="show_scrollbars" type="bool" default="false" />
<option id="right_click_mode" type="RightClickMode" default="RightClickMode::PAINT_BGCOLOR" />
<option id="grab_alpha" type="bool" default="false" />
<option id="auto_select_layer" type="bool" default="false" />
<option id="fg_color" type="app::Color" />
<option id="bg_color" type="app::Color" />
<option id="current_tool" type="std::string" default="&quot;pencil&quot;" />
</section>
<section id="experimental" text="Experimental">
<option id="use_native_cursor" type="bool" default="false" />
<option id="flash_layer" type="bool" default="false" />
</section>
</global>
<tool>
<option id="opacity" type="int" default="255" />
<option id="tolerance" type="int" default="0" />
<option id="contiguous" type="bool" default="true" />
<option id="filled" type="bool" default="false" />
<option id="filled_preview" type="bool" default="false" />
<option id="ink" type="InkType" />
<option id="freehand_algorithm" type="FreehandAlgorithm" />
<section id="brush">
<option id="type" type="BrushType" />
<option id="size" type="int" />
<option id="angle" type="int" />
</section>
<section id="spray">
<option id="width" type="int" default="16" />
<option id="speed" type="int" default="32" />
</section>
<section id="selection">
<option id="mode" type="SelectionMode" />
<option id="transparent_color" type="app::Color" />
<option id="rotation_algorithm" type="RotationAlgorithm" />
</section>
</tool>
<document>
<section id="tiled">
<option id="tiled_mode" type="TiledMode" default="TiledMode::NONE" />
</section>
<section id="grid">
<option id="snap" type="bool" default="false" />
<option id="visible" type="bool" default="false" />
<option id="bounds" type="gfx::Rect" default="gfx::Rect(0, 0, 16, 16)" />
<option id="color" type="app::Color" default="app::Color::fromRgb(0, 0, 255)" />
<option id="opacity" type="int" default="160" />
<option id="auto_opacity" type="bool" default="true" />
</section>
<section id="pixel_grid">
<option id="visible" type="bool" default="false" />
<option id="color" type="app::Color" default="app::Color::fromRgb(200, 200, 200)" />
<option id="opacity" type="int" default="160" />
<option id="auto_opacity" type="bool" default="true" />
</section>
<section id="bg">
<option id="type" type="BgType" default="BgType::CHECKED_16x16" migrate="Option.CheckedBgType" />
<option id="zoom" type="bool" default="true" migrate="Option.CheckedBgZoom" />
<option id="color1" type="app::Color" default="app::Color::fromRgb(128, 128, 128)" migrate="Option.CheckedBgColor1" />
<option id="color2" type="app::Color" default="app::Color::fromRgb(192, 192, 192)" migrate="Option.CheckedBgColor2" />
</section>
<section id="onionskin">
<option id="active" type="bool" default="false" />
<option id="prev_frames" type="int" default="1" />
<option id="next_frames" type="int" default="1" />
<option id="opacity_base" type="int" default="68" />
<option id="opacity_step" type="int" default="28" />
<option id="type" type="OnionskinType" default="OnionskinType::MERGE" />
</section>
<section id="loop">
<option id="visible" type="bool" default="false" />
<option id="from" type="doc::FrameNumber" default="doc::FrameNumber(0)" />
<option id="to" type="doc::FrameNumber" default="doc::FrameNumber(1)" />
<option id="ani_dir" type="AniDir" default="AniDir::FORWARD" />
</section>
</document>
</preferences>