2014-03-01 00:52:32 +00:00
|
|
|
#pragma once
|
2013-04-09 18:13:47 +00:00
|
|
|
|
2013-06-02 15:08:32 +00:00
|
|
|
#include "../GuiComponent.h"
|
2013-04-09 18:13:47 +00:00
|
|
|
|
2013-06-02 15:08:32 +00:00
|
|
|
class GuiDetectDevice : public GuiComponent
|
2013-04-09 18:13:47 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
GuiDetectDevice(Window* window);
|
|
|
|
|
2013-06-02 15:08:32 +00:00
|
|
|
bool input(InputConfig* config, Input input);
|
2013-04-09 18:13:47 +00:00
|
|
|
void update(int deltaTime);
|
2013-07-26 23:28:51 +00:00
|
|
|
void render(const Eigen::Affine3f& parentTrans) override;
|
2013-04-09 18:13:47 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
void done();
|
|
|
|
|
|
|
|
bool mHoldingFinish;
|
|
|
|
int mFinishTimer;
|
|
|
|
int mCurrentPlayer;
|
|
|
|
};
|