<!-- Aseprite -->
<!-- Copyright (C) 2019-2024  Igara Studio S.A. -->
<!-- Copyright (C) 2017  David Capello -->
<gui>
<window id="color_mode" text="@.title">
  <vbox>
    <view id="color_mode_view" expansive="true">
      <listbox id="color_mode" />
    </view>
    <hbox id="dithering_placeholder" />
    <hbox id="amount">
      <label text="@.amount" for="factor" />
      <slider min="0" max="100" id="factor" minwidth="100" />
      <label text="%" for="factor" />
    </hbox>

    <combobox id="to_gray_combobox">
      <listitem text="!Luminance" />
      <listitem text="!HSV" />
      <listitem text="!HSL" />
    </combobox>

    <check text="@.flatten" id="flatten" />

    <check id="advanced_check" text="@general.advanced_options" />
    <grid id="advanced" columns="2">
      <label text="@rgbmap_algorithm_selector.label" for="rgbmap_algorithm_selector" />
      <hbox id="rgbmap_algorithm_placeholder" cell_align="horizontal" />

      <label text="@best_fit_criteria_selector.label" for="best_fit_criteria_selector" />
      <hbox id="best_fit_criteria_placeholder" cell_align="horizontal" />
    </grid>

    <separator horizontal="true" />
    <hbox>
      <slider min="0" max="100" id="progress" minwidth="100" />
      <boxfiller />
      <hbox homogeneous="true">
        <button text="@general.ok" closewindow="true" id="ok" magnet="true" minwidth="60" />
        <button text="@general.cancel" closewindow="true" />
      </hbox>
    </hbox>
  </vbox>
</window>
</gui>
