You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openmw-tes3mp/apps/openmw/mwmp/GUI/GUIDialogList.hpp

24 lines
570 B
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);
private:
bool mMarkedToDelete;
MyGUI::EditBox *mMessage;
MyGUI::ListBox *mListBox;
MyGUI::Button *mButton;
};
}
#endif //OPENMW_GUIDIALOGLIST_HPP