// Don't modify, generated file from /build/libresprite/src/libresprite/data/widgets/gif_options.xml

#pragma once

#include "app/find_widget.h"
#include "app/load_widget.h"
#include "ui/ui.h"

namespace app {
namespace gen {

  class GifOptions : public ui::Window {
  public:
    GifOptions() : ui::Window(ui::Window::WithTitleBar) {
      app::load_widget("gif_options.xml", "gif_options", this);
      app::finder(this)
        >> "interlaced" >> m_interlaced
        >> "loop" >> m_loop
        >> "ok" >> m_ok
      ;
    }

    ui::CheckBox* interlaced() const { return m_interlaced; }
    ui::CheckBox* loop() const { return m_loop; }
    ui::Button* ok() const { return m_ok; }

  private:
    ui::CheckBox* m_interlaced;
    ui::CheckBox* m_loop;
    ui::Button* m_ok;
  };

} // namespace gen
} // namespace app
