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

#pragma once

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

namespace app {
namespace gen {

  class UserData : public ui::TipWindow {
  public:
    UserData() {
      app::load_widget("user_data.xml", "user_data", this);
      app::finder(this)
        >> "text" >> m_text
        >> "color" >> m_color
      ;
    }

    ui::Entry* text() const { return m_text; }
    app::ColorButton* color() const { return m_color; }

  private:
    ui::Entry* m_text;
    app::ColorButton* m_color;
  };

} // namespace gen
} // namespace app
