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

#pragma once

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

namespace app {
namespace gen {

  class HomeView : public ui::VBox {
  public:
    HomeView() {
      app::load_widget("home_view.xml", "home_view", this);
      app::finder(this)
        >> "header_placeholder" >> m_headerPlaceholder
        >> "new_file" >> m_newFile
        >> "open_file" >> m_openFile
        >> "recover_sprites_placeholder" >> m_recoverSpritesPlaceholder
        >> "recover_sprites" >> m_recoverSprites
        >> "splash" >> m_splash
        >> "files_placeholder" >> m_filesPlaceholder
        >> "files_view" >> m_filesView
        >> "folders_placeholder" >> m_foldersPlaceholder
        >> "folders_view" >> m_foldersView
      ;
    }

    ui::HBox* headerPlaceholder() const { return m_headerPlaceholder; }
    ui::LinkLabel* newFile() const { return m_newFile; }
    ui::LinkLabel* openFile() const { return m_openFile; }
    ui::HBox* recoverSpritesPlaceholder() const { return m_recoverSpritesPlaceholder; }
    ui::LinkLabel* recoverSprites() const { return m_recoverSprites; }
    ui::ImageView* splash() const { return m_splash; }
    ui::VBox* filesPlaceholder() const { return m_filesPlaceholder; }
    ui::View* filesView() const { return m_filesView; }
    ui::VBox* foldersPlaceholder() const { return m_foldersPlaceholder; }
    ui::View* foldersView() const { return m_foldersView; }

  private:
    ui::HBox* m_headerPlaceholder;
    ui::LinkLabel* m_newFile;
    ui::LinkLabel* m_openFile;
    ui::HBox* m_recoverSpritesPlaceholder;
    ui::LinkLabel* m_recoverSprites;
    ui::ImageView* m_splash;
    ui::VBox* m_filesPlaceholder;
    ui::View* m_filesView;
    ui::VBox* m_foldersPlaceholder;
    ui::View* m_foldersView;
  };

} // namespace gen
} // namespace app
