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

#pragma once

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

namespace app {
namespace gen {

  class FrameProperties : public ui::Window {
  public:
    FrameProperties() : ui::Window(ui::Window::WithTitleBar) {
      app::load_widget("frame_properties.xml", "frame_properties", this);
      app::finder(this)
        >> "frame" >> m_frame
        >> "frlen" >> m_frlen
        >> "ok" >> m_ok
      ;
    }

    ui::Label* frame() const { return m_frame; }
    ui::Entry* frlen() const { return m_frlen; }
    ui::Button* ok() const { return m_ok; }

  private:
    ui::Label* m_frame;
    ui::Entry* m_frlen;
    ui::Button* m_ok;
  };

} // namespace gen
} // namespace app
