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

#pragma once

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

namespace app {
namespace gen {

  class PalettePopup : public ui::VBox {
  public:
    PalettePopup() {
      app::load_widget("palette_popup.xml", "palette_popup", this);
      app::finder(this)
        >> "view" >> m_view
        >> "load_pal" >> m_loadPal
        >> "open_folder" >> m_openFolder
      ;
    }

    ui::View* view() const { return m_view; }
    ui::Button* loadPal() const { return m_loadPal; }
    ui::Button* openFolder() const { return m_openFolder; }

  private:
    ui::View* m_view;
    ui::Button* m_loadPal;
    ui::Button* m_openFolder;
  };

} // namespace gen
} // namespace app
