2010-02-13 08:34:03 +01:00
|
|
|
#ifndef NETWORK_USER_MENU_HH
|
|
|
|
#define NETWORK_USER_MENU_HH
|
|
|
|
|
|
|
|
#include <SDL.h>
|
2011-06-02 22:50:48 +02:00
|
|
|
#include "../Network.h"
|
2010-02-13 08:34:03 +01:00
|
|
|
|
|
|
|
class GuiView;
|
|
|
|
class NetworkUserMenu;
|
|
|
|
class PeerInfoBox;
|
|
|
|
|
|
|
|
class NetworkUserView : public GuiView
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
NetworkUserView();
|
|
|
|
|
|
|
|
~NetworkUserView();
|
|
|
|
|
|
|
|
void runLogic();
|
|
|
|
|
2010-02-28 11:06:59 +01:00
|
|
|
void pushEvent(event_t ev);
|
2010-02-13 08:34:03 +01:00
|
|
|
|
|
|
|
void setPeers(NetworkUpdateListPeers *peerList);
|
|
|
|
|
|
|
|
void draw(SDL_Surface *where);
|
|
|
|
|
|
|
|
protected:
|
|
|
|
NetworkUserMenu *menu;
|
|
|
|
PeerInfoBox *peerInfo;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* NETWORK_USER_MENU_HH */
|
|
|
|
|