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

#pragma once

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

namespace app {
namespace gen {

  class ColorCurvePoint : public ui::Window {
  public:
    ColorCurvePoint() : ui::Window(ui::Window::WithTitleBar) {
      app::load_widget("color_curve_point.xml", "color_curve_point", this);
      app::finder(this)
        >> "x" >> m_x
        >> "y" >> m_y
        >> "ok" >> m_ok
        >> "delete_button" >> m_deleteButton
      ;
    }

    ui::Entry* x() const { return m_x; }
    ui::Entry* y() const { return m_y; }
    ui::Button* ok() const { return m_ok; }
    ui::Button* deleteButton() const { return m_deleteButton; }

  private:
    ui::Entry* m_x;
    ui::Entry* m_y;
    ui::Button* m_ok;
    ui::Button* m_deleteButton;
  };

} // namespace gen
} // namespace app
