An OpenMW mod that lets you play the whole Elder Scrolls III: Morrowind as a top-down isometric game — with full online co-op or MMO modes.
C++
#ifndef OPENMW_GUIDIALOGLIST_HPP
#define OPENMW_GUIDIALOGLIST_HPP
#include "apps/openmw/mwgui/windowbase.hpp"
namespace mwmp
{
class GUIDialogList : public MWGui::WindowModal
{
public:
GUIDialogList(const std::string &message, const std::vector<std::string> &list);
void mousePressed(MyGUI::Widget *_widget);
void onFrame(float frameDuration);
/// Isowind: the D-pad picks, A answers
bool onControllerButtonEvent(const SDL_ControllerButtonEvent& arg) override;
private:
bool mMarkedToDelete;
MyGUI::EditBox *mMessage;
MyGUI::ListBox *mListBox;
MyGUI::Button *mButton;
};
}
#endif //OPENMW_GUIDIALOGLIST_HPP