#pragma once

#include <RmlUi/Core.h>
#include <RmlUi/Core/Elements/ElementFormControlInput.h>
#include <RmlUi/Debugger.h>
#include <RmlUi_Backend.h>

namespace UI::EditLoadout {

class Page {
  public:
    Rml::ElementDocument *document;

    void initialize(Rml::Context *context) {
        document = context->LoadDocument("build/assets/ui/pages/edit_loadout/edit_loadout.rml");
    }

    void show() {
        document->Show();
    }

    void hide() {
        document->Hide();
    }
};

} // namespace UI::EditLoadout
