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

#pragma once

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

namespace app {
namespace gen {

  class UndoHistory : public ui::Window {
  public:
    UndoHistory() : ui::Window(ui::Window::WithTitleBar) {
      app::load_widget("undo_history.xml", "undo_history", this);
      app::finder(this)
        >> "view" >> m_view
        >> "actions" >> m_actions
      ;
    }

    ui::View* view() const { return m_view; }
    ui::ListBox* actions() const { return m_actions; }

  private:
    ui::View* m_view;
    ui::ListBox* m_actions;
  };

} // namespace gen
} // namespace app
