GL - remove buttons from GL branch

This commit is contained in:
lindaandersson 2014-01-31 16:43:18 +01:00
parent 5b263caccd
commit 83ca3c2ff2
6 changed files with 0 additions and 128 deletions

View File

@ -1,25 +0,0 @@
#include "EventButtonCollection.h"
using namespace Oyster::Event;
EventButtonCollection::EventButtonCollection()
{
}
EventButtonCollection::~EventButtonCollection()
{
}
void EventButtonCollection::Update(InputClass* inputObject)
{
for(int i = 0; i < buttons.size(); i++)
{
buttons.at(i)->Update(inputObject);
}
}
EventButton* EventButtonCollection::AddButton(EventButton* button)
{
}

View File

@ -1,31 +0,0 @@
#ifndef EVENT_BUTTON_COLLECTION_H
#define EVENT_BUTTON_COLLECTION_H
#include "../../Input/L_inputClass.h"
#include "EventButton.h"
#include <vector>
namespace Oyster
{
namespace Event
{
class EventButtonCollection
{
public:
EventButtonCollection();
~EventButtonCollection();
void Update(InputClass* inputObject);
EventButton* AddButton(EventButton* button);
private:
std::vector<EventButton*> buttons;
};
}
}
#endif

View File

@ -1,37 +0,0 @@
#include "EventHandler.h"
using namespace Oyster::Event;
EventHandler EvtHandler;
EventHandler& EventHandler::Instance()
{
return EvtHandler;
}
EventHandler::EventHandler()
{
}
EventHandler::~EventHandler()
{
}
void EventHandler::Update(InputClass* inputObject)
{
for(int i = 0; i < collections.size(); i++)
{
collections.at(i)->Update(inputObject);
}
}
EventButtonCollection* EventHandler::CreateCollection()
{
}
EventButtonCollection* EventHandler::GetCollection(/*ID*/);
{
}

View File

@ -1,35 +0,0 @@
#ifndef EVENT_HANDLER_H
#define EVENT_HANDLER_H
#include "../../Input/L_inputClass.h"
#include "EventButtonCollection.h"
#include "EventButton.h"
#include <vector>
namespace Oyster
{
namespace Event
{
class EventHandler
{
EventHandler();
~EventHandler();
EventHandler& Instance();
void Update(InputClass* inputObject);
EventButtonCollection* CreateCollection();
EventButtonCollection* GetCollection(/*ID*/);
private:
std::vector<EventButtonCollection*> collections;
};
}
}
#endif