
<!-- Aseprite -->
<!-- Copyright (C) 2018-2025  Igara Studio S.A. -->
<!-- Copyright (C) 2001-2018  David Capello -->
<gui>
  <window id="options" text="@.title" help="preferences">
  <vbox>
    <hbox expansive="true">
      <view maxsize="true">
        <listbox id="section_listbox">
          <listitem text="@.section_general" value="section_general" />
          <listitem text="@.section_tablet" value="section_tablet" />
          <listitem text="@.section_files" value="section_files" />
          <listitem text="@.section_color" value="section_color" />
          <listitem text="@.section_alerts" value="section_alerts" />
          <listitem text="@.section_editor" value="section_editor" />
          <listitem text="@.section_selection" value="section_selection" />
          <listitem text="@.section_timeline" value="section_timeline" />
          <listitem text="@.section_cursors" value="section_cursors" />
          <listitem text="@.section_background" value="section_bg" />
          <listitem text="@.section_grid" value="section_grid" />
          <listitem text="@.section_guides_and_slices" value="section_guides_and_slices" />
          <listitem text="@.section_undo" value="section_undo" />
          <listitem text="@.section_theme" value="section_theme" />
          <listitem text="@.section_extensions" value="section_extensions" />
          <listitem text="@.section_aseprite_format" value="section_aseprite_format" />
          <listitem text="@.section_experimental" value="section_experimental" />
          <separator horizontal="true" style="separator_in_view" />
          <listitem text="@general.reset" value="section_reset" />
        </listbox>
      </view>

      <panel id="panel" expansive="true">

        <!-- General -->
        <vbox id="section_general">
          <separator text="@.section_general" horizontal="true" />
          <grid columns="2">
            <label text="@.ui_windows" />
            <hbox>
              <buttonset columns="2" id="ui_windows">
                <item icon="one_win_icon" tooltip="@.one_win" tooltip_dir="bottom" style="multi_window_item" />
                <item icon="multi_win_icon" tooltip="@.multi_win" tooltip_dir="bottom" style="multi_window_item" />
              </buttonset>
              <hbox id="theme_variants">
                <label text="@.theme_mode" />
              </hbox>
            </hbox>

            <label text="@.screen_scaling" />
            <combobox id="screen_scale">
              <listitem text="100%" value="1" />
              <listitem text="200%" value="2" />
              <listitem text="300%" value="3" />
              <listitem text="400%" value="4" />
            </combobox>

            <label text="@.ui_scaling" />
            <combobox id="ui_scale">
              <listitem text="100%" value="1" />
              <listitem text="200%" value="2" />
              <listitem text="300%" value="3" />
              <listitem text="400%" value="4" />
            </combobox>

            <link text="@.language" url="https://www.aseprite.org/languages/" />
            <combobox id="language" />

            <boxfiller id="font_warning_filler" visible="false" />
            <link text="@.font_warning" id="font_warning" visible="false" />
          </grid>
          <separator horizontal="true" />
          <check id="gpu_acceleration"
                 text="@.gpu_acceleration"
                 tooltip="@.gpu_acceleration_tooltip" />
          <check id="show_menu_bar"
                 text="@.show_menu_bar" />
          <check id="show_aseprite_file_dialog"
                 text="@.show_aseprite_file_dialog" />
          <check id="show_home"
                 text="@.show_home" />
          <check id="expand_menubar_on_mouseover"
                 text="@.expand_menu_bar_items_on_mouseover"
                 tooltip="@.expand_menu_bar_items_on_mouseover_tooltip" />
          <check id="color_bar_entries_separator"
                 text="@.color_bar_entries_separator"
                 tooltip="@.color_bar_entries_separator"
                 pref="color_bar.entries_separator" />
          <check id="share_crashdb"
                 text="@home_view.share_crashdb"
                 tooltip="@home_view.share_crashdb_tooltip" />

          <separator horizontal="true" />
          <link id="locate_file" text="@.locate_file" />
          <link id="locate_crash_folder" text="@.locate_crash_folder" />
        </vbox>

        <!-- Tablet -->
        <vbox id="section_tablet">
          <separator text="@.section_tablet" horizontal="true" />
          <radio id="tablet_api_windows_pointer" text="@.tablet_api_windows_pointer" group="1" />
          <hbox>
            <radio id="tablet_api_wintab_system" text="@.tablet_api_wintab_system" group="1" />
            <link text="@.wintab_more_info" url="https://www.aseprite.org/docs/wintab/" />
          </hbox>
          <radio id="tablet_api_wintab_direct" text="@.tablet_api_wintab_direct" group="1" />
          <vbox id="windows_pointer_options">
            <separator text="@.windows_pointer" horizontal="true" />
            <check id="one_finger_as_mouse_movement"
                   text="@.one_finger_as_mouse_movement"
                   tooltip="@.one_finger_as_mouse_movement_tooltip"
                   pref="experimental.one_finger_as_mouse_movement" />
            <hbox>
              <check id="set_cursor_fix"
                     text="@.set_cursor_fix"
                     tooltip="@.set_cursor_fix_tooltip"
                     pref="tablet.set_cursor_fix" />
              <link text="(#4539)" url="https://github.com/aseprite/aseprite/issues/4539" />
            </hbox>
          </vbox>
        </vbox>

        <!-- Files -->
        <vbox id="section_files">
          <separator text="@.section_files" horizontal="true" />
          <label text="@.default_extension_for" />
          <grid columns="2">
            <label text="@.save_default_extension" />
            <combobox id="default_extension" />

            <label text="@.export_image_default_extension" />
            <combobox id="export_image_default_extension" />

            <label text="@.export_animation_default_extension" />
            <combobox id="export_animation_default_extension" />

            <label text="@.export_sprite_sheet_default_extension" />
            <combobox id="export_sprite_sheet_default_extension" />
          </grid>

          <grid columns="2">
            <label text="@.recent_files" />
            <hbox>
              <slider min="0" max="100" id="recent_files" width="128" tooltip="@.recent_files_tooltip" />
              <button id="clear_recent_files" text="@.clear_recent_files" tooltip="@.clear_recent_files_tooltip" minwidth="60" />
            </hbox>

            <boxfiller />
            <check id="show_full_path"
                   text="@.show_full_path"
                   tooltip="@.show_full_path_tooltip" />
          </grid>

          <separator text="@.recover_files" horizontal="true" />
          <grid columns="2">
            <check id="enable_data_recovery"
                   text="@.auto_save_recovery_data"
                   tooltip="@.auto_save_recovery_data_tooltip" />
            <combobox id="data_recovery_period">
              <listitem text="@.10_seconds" value="0.1667" />
              <listitem text="@.30_seconds" value="0.5" />
              <listitem text="@.1_minute" value="1" />
              <listitem text="@.2_minutes" value="2" />
              <listitem text="@.5_minutes" value="5" />
              <listitem text="@.10_minutes" value="10" />
              <listitem text="@.15_minutes" value="15" />
              <listitem text="@.30_minutes" value="30" />
            </combobox>
            <check id="keep_edited_sprite_data"
                   text="@.keep_edited_sprite_data"
                   tooltip="@.keep_edited_sprite_data_tooltip" />
            <combobox id="keep_edited_sprite_data_for">
              <listitem text="@.1_day" value="1" />
              <listitem text="@.2_days" value="2" />
              <listitem text="@.3_days" value="3" />
              <listitem text="@.1_week" value="7" />
              <listitem text="@.2_weeks" value="14" />
              <listitem text="@.1_month" value="30" />
            </combobox>
            <check id="keep_closed_sprite_on_memory"
                   text="@.keep_closed_sprite_on_memory"
                   tooltip="@.keep_closed_sprite_on_memory_tooltip" />
            <combobox id="keep_closed_sprite_on_memory_for">
              <listitem text="@.10_seconds" value="0.1667" />
              <listitem text="@.30_seconds" value="0.5" />
              <listitem text="@.1_minute" value="1" />
              <listitem text="@.2_minutes" value="2" />
              <listitem text="@.5_minutes" value="5" />
              <listitem text="@.10_minutes" value="10" />
              <listitem text="@.15_minutes" value="15" />
              <listitem text="@.30_minutes" value="30" />
              <listitem text="@.1_hour" value="60" />
              <listitem text="@.4_hours" value="240" />
              <listitem text="@.8_hours" value="480" />
            </combobox>
          </grid>

        </vbox>

        <!-- Color -->
        <vbox id="section_color">
          <separator text="@.section_color" horizontal="true" />
          <check text="@.color_management" id="color_management" pref="color.manage" />

          <grid columns="2">
            <label text="@.window_cs" id="window_cs_label" />
            <combobox id="window_cs">
              <listitem text="@.use_monitor_cs" />
              <listitem text="@.use_srgb_cs" />
              <listitem text="@.use_specific_cs" />
            </combobox>

            <boxfiller />
            <separator horizontal="true" />

            <label text="@.working_rgb_cs" id="working_rgb_cs_label" />
            <combobox id="working_rgb_cs" />

            <label text="@.files_with_cs" id="files_with_cs_label" />
            <combobox id="files_with_cs">
              <listitem text="@.disable_cs" />
              <listitem text="@.use_embedded_cs" />
              <listitem text="@.convert_cs" />
              <listitem text="@.assign_cs" />
              <listitem text="@.ask_cs" />
            </combobox>

            <label text="@.missing_cs" id="missing_cs_label" />
            <combobox id="missing_cs">
              <listitem text="@.disable_cs" />
              <listitem text="@.assign_cs" />
              <listitem text="@.ask_cs" />
            </combobox>
          </grid>

          <hbox>
            <hbox expansive="true" />
            <button id="reset_color_management" text="@general.reset" minwidth="60" />
          </hbox>

          <separator text="@.alpha_and_opacity" horizontal="true" />
          <grid columns="2">
            <label text="@.alpha_range" id="alpha_range_label" />
            <combobox id="alpha">
              <listitem text="@.8bit_value" />
              <listitem text="@.percentage" />
            </combobox>
            <label text="@.opacity_range" id="opacity_range_label" />
            <combobox id="opacity">
              <listitem text="@.8bit_value" />
              <listitem text="@.percentage" />
            </combobox>
          </grid>
        </vbox>

        <!-- Editor -->
        <vbox id="section_editor">
          <separator text="@.section_editor" horizontal="true" />
          <check text="@.wheel_zoom" id="wheel_zoom"
                 pref="editor.zoom_with_wheel" />
          <check text="@.slide_zoom" id="slide_zoom"
                 pref="editor.zoom_with_slide" />
          <check text="@.zoom_from_center_with_wheel" id="zoom_from_center_with_wheel" />
          <check text="@.zoom_from_center_with_keys" id="zoom_from_center_with_keys" />
          <check text="@.show_scrollbars" id="show_scrollbars" tooltip="@.show_scrollbars_tooltip" />
          <check text="@.auto_scroll" id="auto_scroll" />
          <check text="@.auto_fit" id="auto_fit"
                 pref="editor.auto_fit" />
          <check text="@.straight_line_preview" id="straight_line_preview" tooltip="@.straight_line_preview_tooltip" />
          <check text="@.discard_brush" id="discard_brush" />
          <hbox id="sampling_placeholder" />
          <hbox>
            <label text="@.right_click" />
            <combobox id="right_click_behavior" expansive="true" />
          </hbox>
        </vbox>

        <!-- Selection -->
        <vbox id="section_selection">
          <separator text="@.editor_selection" horizontal="true" />
          <check text="@.auto_opaque" id="auto_opaque" tooltip="@.auto_opaque_tooltip" />
          <check text="@.keep_selection_after_clear" id="keep_selection_after_clear" tooltip="@.keep_selection_after_clear_tooltip" />
          <check text="@.auto_show_selection_edges" id="auto_show_selection_edges" tooltip="@.auto_show_selection_edges_tooltip" />
          <check text="@.move_edges" id="move_edges" tooltip="@.move_edges_tooltip" />
          <check text="@.modifiers_disable_handles" id="modifiers_disable_handles" tooltip="@.modifiers_disable_handles_tooltip" />
          <check text="@.move_on_add_mode" id="move_on_add_mode" tooltip="@.move_on_add_mode_tooltip" />
          <check text="@.select_tile_with_double_click" id="select_tile_with_double_click"
                 pref="selection.doubleclick_select_tile" />
          <check text="@.snap_to_grid_selection"
                 pref="selection.snap_to_grid"/>
          <check text="@.force_rotsprite" id="force_rotsprite"
                 pref="selection.force_rotsprite"/>
          <check text="@.multicel_when_layers_or_frames" id="multicel_when_layers_or_frames"
                 tooltip="@.multicel_when_layers_or_frames_tooltip"
                 pref="selection.multicel_when_layers_or_frames"/>
        </vbox>

        <!-- Timeline -->
        <vbox id="section_timeline">
          <separator text="@.section_timeline" horizontal="true" />
          <check text="@.autotimeline" id="autotimeline" tooltip="@.autotimeline_tooltip"
                 pref="general.autoshow_timeline" />
          <check text="@.rewind_on_stop" id="rewind_on_stop" tooltip="@.rewind_on_stop_tooltip"
                 pref="general.rewind_on_stop" />
          <hbox>
            <label text="@.default_first_frame" />
            <expr id="first_frame" />
          </hbox>
          <separator text="@.timeline_selection" horizontal="true" />
          <check id="keep_selection"
                 text="@.keep_timeline_selection"
                 tooltip="@.keep_timeline_selection_tooltip"
                 pref="timeline.keep_selection" />
          <check id="select_on_click"
                 text="@.select_on_click"
                 tooltip="@.select_on_click_tooltip"
                 pref="timeline.select_on_click" />
          <check id="select_on_click_with_key"
                 text="@.select_on_click_with_key"
                 tooltip="@.select_on_click_with_key_tooltip"
                 pref="timeline.select_on_click_with_key" />
          <check id="select_on_drag"
                 text="@.select_on_drag"
                 tooltip="@.select_on_drag_tooltip"
                 pref="timeline.select_on_drag" />
          <check id="drag_and_drop_from_edges"
                 text="@.drag_and_drop_from_edges"
                 pref="timeline.drag_and_drop_from_edges" />
          <hbox>
            <boxfiller />
            <button id="reset_timeline_sel" text="@general.reset" minwidth="60" />
          </hbox>
        </vbox>

        <!-- Cursors -->
        <vbox id="section_cursors">
          <separator text="@.ui_mouse_cursor" horizontal="true" />
          <check id="native_cursor" text="@.native_cursor" />
          <hbox>
            <label id="cursor_scale_label" text="@.cursor_scale_label" />
            <combobox id="cursor_scale">
              <listitem text="100%" value="1" />
              <listitem text="200%" value="2" />
              <listitem text="300%" value="3" />
              <listitem text="400%" value="4" />
            </combobox>
          </hbox>

          <separator text="@.painting_cursors" horizontal="true" />

          <grid columns="2">
            <label text="@.crosshair_type" />
            <combobox id="painting_cursor_type">
              <listitem text="@.simple_crosshair" value="0" />
              <listitem text="@.crosshair_on_sprite" value="1" />
            </combobox>

            <label text="@.brush_preview" />
            <combobox id="brush_preview">
              <listitem text="@.brush_preview_none" value="0" />
              <listitem text="@.brush_preview_edges" value="1" />
              <listitem text="@.brush_preview_full" value="2" />
              <listitem text="@.brush_preview_fullall" value="3" />
              <listitem text="@.brush_preview_fullnedges" value="4" />
            </combobox>

            <label text="@.cursor_color_type" />
            <combobox id="cursor_color_type">
              <listitem text="@.cursor_neg_bw" value="0" />
              <listitem text="@.cursor_specific_color" value="1" />
            </combobox>

            <boxfiller />
            <colorpicker id="cursor_color" rgba="true" />

            <check text="@.snap_cursor_to_grid"
                   pref="cursor.snap_to_grid" cell_hspan="2" />
          </grid>
        </vbox>

        <!-- Background -->
        <vbox id="section_bg">
          <combobox id="bg_scope" />

          <separator text="@.bg_checkered" horizontal="true" />
          <grid columns="2">
            <label text="@.bg_size" />
            <hbox>
              <combobox id="checkered_bg_size" />
              <expr id="checkered_bg_custom_w" />
              <expr id="checkered_bg_custom_h" />
              <check text="@.bg_apply_zoom" id="checkered_bg_zoom" />
            </hbox>

            <label text="@.bg_colors" />
            <hbox>
              <colorpicker id="checkered_bg_color1" rgba="true" />
              <colorpicker id="checkered_bg_color2" rgba="true" />
            </hbox>
          </grid>

          <hbox>
            <hbox expansive="true" />
            <button id="reset_bg" text="@general.reset" minwidth="60" />
          </hbox>
        </vbox>

        <!-- Grid -->
        <vbox id="section_grid">
          <combobox id="grid_scope" />
          <hbox>
            <check id="grid_visible" text="@.grid_visible" />
            <separator horizontal="true" expansive="true" />
          </hbox>

          <grid columns="5">
            <label text="@.grid_x" />
            <expr id="grid_x" text="" />
            <label text="@.grid_y" />
            <expr id="grid_y" text="" />
            <hbox />

            <label text="@.grid_width" />
            <expr id="grid_w" text="" />
            <label text="@.grid_height" />
            <expr id="grid_h" text="" />
            <hbox />

            <label text="@.grid_color" />
            <colorpicker id="grid_color" rgba="true" cell_hspan="3" />
            <hbox />

            <label text="@.grid_opacity" />
            <slider id="grid_opacity" cell_hspan="3" min="1" max="255" width="128" />
            <check id="grid_auto_opacity" text="@.grid_auto" />
          </grid>

          <hbox>
            <check id="pixel_grid_visible" text="@.grid_pixel_grid_visible" />
            <separator horizontal="true" expansive="true" />
          </hbox>
          <grid columns="3">
            <label text="@.grid_color" />
            <colorpicker id="pixel_grid_color" rgba="true" />
            <hbox />

            <label text="@.grid_opacity" />
            <slider id="pixel_grid_opacity" min="1" max="255" width="128" />
            <check id="pixel_grid_auto_opacity" text="@.grid_auto" />
          </grid>

          <hbox>
            <hbox expansive="true" />
            <button id="reset_grid" text="@general.reset" minwidth="60" />
          </hbox>
        </vbox>

        <!-- Guides -->
        <vbox id="section_guides_and_slices">
          <separator text="@.guides" horizontal="true" />
          <grid columns="2">
            <label text="@.layer_edges_color" />
            <colorpicker id="layer_edges_color" rgba="true" />
            <label text="@.auto_guides_color" />
            <colorpicker id="auto_guides_color" rgba="true" />
          </grid>

          <separator text="@.slices" horizontal="true" />
          <hbox>
            <label text="@.default_slice_color" />
            <colorpicker id="default_slice_color" rgba="true" />
          </hbox>
        </vbox>

        <!-- Undo -->
        <vbox id="section_undo">
          <separator text="@.section_undo" horizontal="true" />
          <hbox>
            <check id="limit_undo" text="@.undo_size_limit" />
            <expr id="undo_size_limit" tooltip="@.undo_size_limit_tooltip" />
            <label text="@.undo_mb" />
          </hbox>

          <vbox>
            <check id="undo_goto_modified"
                   text="@.undo_goto_modified"
                   tooltip="@.undo_goto_modified_tooltip" />
            <check id="undo_allow_nonlinear_history"
                   text="@.undo_allow_nonlinear_history" />
            <check text="@.undo_show_tooltip" id="undo_show_tooltip"
                   pref="undo.show_tooltip" />
          </vbox>
        </vbox>

        <!-- Alerts -->
        <vbox id="section_alerts">
          <separator text="@.section_alerts" horizontal="true" />
          <hbox>
            <label text="@.open_sequence_alert" />
            <combobox id="open_sequence">
              <listitem text="@.open_sequence_alert_ask" value="0" />
              <listitem text="@.open_sequence_alert_yes" value="1" />
              <listitem text="@.open_sequence_alert_no" value="2" />
            </combobox>
          </hbox>
          <check id="file_format_doesnt_support_alert" text="@.file_format_doesnt_support_alert"
                 pref="save_file.show_file_format_doesnt_support_alert" />
          <check id="export_animation_in_sequence_alert" text="@.export_animation_in_sequence_alert"
                 pref="save_file.show_export_animation_in_sequence_alert" />
          <check id="overwrite_files_on_export_alert" text="@.overwrite_files_on_export_alert"
                 pref="export_file.show_overwrite_files_alert" />
          <check id="overwrite_files_on_export_sprite_sheet_alert" text="@.overwrite_files_on_export_sprite_sheet_alert"
                 pref="sprite_sheet.show_overwrite_files_alert" />
          <check id="delete_tilemap_delete_unused_tileset_alert" text="@.delete_tilemap_delete_unused_tileset_alert"
                 pref="tilemap.show_delete_unused_tileset_alert" />
          <check id="advanced_mode_alert" text="@.advanced_mode_alert"
                 pref="advanced_mode.show_alert" />
          <check id="invalid_fg_bg_color_alert" text="@.invalid_fg_bg_color_alert"
                 pref="color_bar.show_invalid_fg_bg_color_alert" />
          <check id="run_script_alert" text="@.run_script_alert"
                 pref="scripts.show_run_script_alert" />
          <grid columns="4">
            <label text="@.image_format_alerts" />
            <check id="css_options_alert" text="!css" pref="css.show_alert" />
            <check id="gif_options_alert" text="!gif" pref="gif.show_alert" />
            <check id="jpeg_options_alert" text="!jpeg" pref="jpeg.show_alert" />
            <boxfiller />
            <check id="svg_options_alert" text="!svg" pref="svg.show_alert" />
            <check id="tga_options_alert" text="!tga" pref="tga.show_alert" />
            <check id="webp_options_alert" text="!webp" pref="webp.show_alert" />
          </grid>
          <separator horizontal="true" />
          <hbox>
            <hbox expansive="true" />
            <button id="reset_alerts" text="@.reset_alerts" />
          </hbox>
        </vbox>

        <!-- Theme -->
        <vbox id="section_theme">
          <separator text="@.customize_theme" horizontal="true" />
          <grid columns="2">
            <label text="@.preview" />
            <vbox cell_align="horizontal" >
              <label id="font_preview" text="@.font_preview" />
              <label id="mini_font_preview" text="@.mini_font_preview" />
            </vbox>

            <check id="custom_theme_font" text="@.font" />
            <font id="theme_font" cell_align="horizontal" />

            <check id="custom_mini_font" text="@.mini_font" />
            <font id="theme_mini_font" cell_align="horizontal" />
          </grid>
          <separator text="@.available_themes" horizontal="true" />
          <view expansive="true" maxsize="true">
            <listbox id="theme_list" />
          </view>
          <hbox>
            <button id="select_theme" text="@.select_theme" minwidth="60" />
            <link text="@.download_themes" url="https://www.aseprite.org/themes/" />
            <boxfiller />
            <button id="open_theme_folder" text="@.open_theme_folder" minwidth="100" />
          </hbox>
        </vbox>

        <!-- Extensions -->
        <vbox id="section_extensions">
          <view expansive="true" maxsize="true">
            <listbox id="extensions_list" />
          </view>
          <hbox>
            <button id="add_extension" text="@.add_extension" minwidth="60" />
            <boxfiller />
            <button id="disable_extension" text="@.disable_extension" minwidth="60" />
            <button id="uninstall_extension" text="@.uninstall_extension" minwidth="60" />
            <button id="open_extension_folder" text="@.open_extension_folder" minwidth="60" />
          </hbox>
        </vbox>

        <!-- Aseprite Format -->
        <vbox id="section_aseprite_format">
          <separator text="@.section_aseprite_format" horizontal="true" />
          <grid columns="2">
            <label text="@.cel_content_format" />
            <combobox id="cel_format">
              <listitem text="@.cel_format_compressed" />
              <listitem text="@.cel_format_keep" />
              <listitem text="@.cel_format_raw" />
            </combobox>

            <boxfiller />
            <label id="cel_format_warning"
                   text="@.cel_format_raw_warning" style="warning_label" />
          </grid>
        </vbox>

        <!-- Experimental -->
        <vbox id="section_experimental">
          <separator text="@.user_interface" horizontal="true" />
          <check id="multiple_windows" text="@.multiple_windows"
                 pref="experimental.multiple_windows" />
          <hbox>
            <check id="new_render_engine"
                   text="@.new_render_engine"
                   pref="experimental.new_render_engine" />
            <link text="(#1671)" url="https://github.com/aseprite/aseprite/issues/1671" />
          </hbox>
          <hbox>
            <check text="@.new_blend"
                   pref="experimental.new_blend" />
            <link text="(#1096)" url="https://github.com/aseprite/aseprite/issues/1096" />
          </hbox>
          <hbox>
            <check text="@.compose_groups"
                   pref="experimental.compose_groups" />
            <link text="(#3225)" url="https://github.com/aseprite/aseprite/issues/3225" />
          </hbox>
          <check id="native_clipboard" text="@.native_clipboard"
                 pref="experimental.use_native_clipboard" />
          <check id="native_file_dialog" text="@.native_file_dialog"
                 pref="experimental.use_native_file_dialog" />
          <check id="tint_shade_tone_hue_with_sat_value"
                 text="@.hue_with_sat_value"
                 pref="experimental.hue_with_sat_value_for_color_selector" />
          <check id="flash_layer" text="@.flash_selected_layer" />
          <hbox>
            <label text="@.non_active_layer_opacity" />
            <slider id="nonactive_layers_opacity" min="0" max="255" width="128" />
          </hbox>
          <separator text="@.color_quantization" horizontal="true" />
          <grid columns="2">
            <label text="@rgbmap_algorithm_selector.label" />
            <hbox id="rgbmap_algorithm_placeholder" />
            <label text="@best_fit_criteria_selector.label" />
            <hbox id="best_fit_criteria_placeholder" />
          </grid>
          <separator text="@.performance" horizontal="true" />
          <hbox>
            <check id="shaders_for_color_selectors"
                   text="@.shaders_for_color_selectors"
                   pref="experimental.use_shaders_for_color_selectors" />
            <link text="(#960)" url="https://github.com/aseprite/aseprite/issues/960" />
          </hbox>
          <check id="cache_compressed_tilesets"
                 text="@.cache_compressed_tilesets"
                 pref="tileset.cache_compressed_tilesets" />
        </vbox>

        <!-- Reset -->
        <vbox id="section_reset">
          <separator text="@.reset_title" horizontal="true" />
          <check id="default_reset" text="@.reset_default" />
          <check id="tools_reset" text="@.reset_tools" />
          <check id="installed_reset" text="@.reset_installed" />
          <check id="recent_reset" text="@.reset_recents" />
          <check id="perfile_reset" text="@.reset_perfile" tooltip="@.reset_perfile_tooltip" />
          <check id="window_reset" text="@.reset_window" />
          <check id="brushes_reset" text="@.reset_brushes" />
          <separator horizontal="true" />
          <hbox>
            <check id="reset_toggle" text="@.reset_toggle" />
            <hbox expansive="true" />
            <button id="reset_selected_button" text="@.reset" minwidth="60" />
          </hbox>
        </vbox>
      </panel>
    </hbox>
    <separator horizontal="true" />
    <hbox>
      <boxfiller />
      <hbox homogeneous="true">
        <button text="@.ok" closewindow="true" id="button_ok" magnet="true" minwidth="60" />
        <button text="@.apply" id="button_apply" />
        <button text="@.cancel" closewindow="true" />
      </hbox>
    </hbox>
  </vbox>
  </window>
</gui>
