summaryrefslogtreecommitdiff
path: root/src/elementsearch/ElementSearchActivity.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2013-03-22 14:14:17 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2013-03-22 14:14:17 (GMT)
commit9abe51526cac2634af0541c3de69834dd30e9f78 (patch)
tree6ae4deadfe00a83094b9d288d8c11d8ce823577a /src/elementsearch/ElementSearchActivity.h
parent2c311b9a36a88fadd96f3d39acb1ab2590835d81 (diff)
downloadpowder-9abe51526cac2634af0541c3de69834dd30e9f78.zip
powder-9abe51526cac2634af0541c3de69834dd30e9f78.tar.gz
Move all GUI source files into gui/
Diffstat (limited to 'src/elementsearch/ElementSearchActivity.h')
-rw-r--r--src/elementsearch/ElementSearchActivity.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/src/elementsearch/ElementSearchActivity.h b/src/elementsearch/ElementSearchActivity.h
deleted file mode 100644
index 987d8fb..0000000
--- a/src/elementsearch/ElementSearchActivity.h
+++ /dev/null
@@ -1,32 +0,0 @@
-#ifndef ELEMENTSEARCHACTIVITY_H_
-#define ELEMENTSEARCHACTIVITY_H_
-
-#include <vector>
-#include <string>
-#include "Activity.h"
-#include "interface/Window.h"
-#include "interface/Textbox.h"
-#include "game/ToolButton.h"
-
-class Tool;
-
-class GameModel;
-
-class ElementSearchActivity: public WindowActivity {
- Tool * firstResult;
- GameModel * gameModel;
- std::vector<Tool*> tools;
- ui::Textbox * searchField;
- std::vector<ToolButton*> toolButtons;
- void searchTools(std::string query);
-public:
- class ToolAction;
- Tool * GetFirstResult() { return firstResult; }
- ElementSearchActivity(GameModel * gameModel, std::vector<Tool*> tools);
- void SetActiveTool(int selectionState, Tool * tool);
- virtual ~ElementSearchActivity();
- virtual void OnDraw();
- virtual void OnKeyPress(int key, Uint16 character, bool shift, bool ctrl, bool alt);
-};
-
-#endif /* ELEMENTSEARCHACTIVITY_H_ */