#ifndef OPENMW_GAME_MWVR_VRMETAMENU_H #define OPENMW_GAME_MWVR_VRMETAMENU_H #include "../mwgui/windowbase.hpp" #include #include "components/widgets/box.hpp" namespace Gui { class ImageButton; } namespace VFS { class Manager; } namespace MWVR { class VrMetaMenu : public MWGui::WindowBase { int mWidth; int mHeight; bool mHasAnimatedMenu; public: VrMetaMenu(int w, int h); ~VrMetaMenu(); void onResChange(int w, int h) override; void setVisible (bool visible) override; void onFrame(float dt) override; bool exit() override; private: MyGUI::Widget* mButtonBox{ nullptr }; std::map mButtons{}; void onButtonClicked (MyGUI::Widget* sender); void onConsole(); void onJournal(); void onGameMenu(); void onInventory(); void onRest(); void onQuickLoad(); void onQuickSave(); void close(); void updateMenu(); }; } #endif