source: network-game/client/Client/Window.h@ 1a3c42d

Last change on this file since 1a3c42d was 87b3ee2, checked in by dportnoy <dmp1488@…>, 12 years ago

Created a simple gui for the client

  • Property mode set to 100644
File size: 432 bytes
RevLine 
[87b3ee2]1#ifndef _WINDOW_H
2#define _WINDOW_H
3
4#include "GuiComponent.h"
5
6#include <vector>
7
8using namespace std;
9
10class Window :
11 public GuiComponent
12{
13private:
14 vector<GuiComponent*> vctGui;
15
16public:
17 Window(int x, int y, int width, int height);
18 ~Window(void);
19
20 void addComponent(GuiComponent *comp);
21 GuiComponent* getComponent(int x);
22 void draw(ALLEGRO_DISPLAY *display);
23 bool handleEvent(ALLEGRO_EVENT& e);
24};
25
26#endif
Note: See TracBrowser for help on using the repository browser.