diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-04-02 16:01:28 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-04-02 16:01:28 (GMT) |
| commit | efddc12e5d2aadc5eee1927245ad38b9dee89aed (patch) | |
| tree | cf7ad38119f0734609944158e33bbb944925c777 /src/stamps/StampsView.h | |
| parent | 289556ac7078963b6af361f5812dd62e6712359f (diff) | |
| download | powder-efddc12e5d2aadc5eee1927245ad38b9dee89aed.zip powder-efddc12e5d2aadc5eee1927245ad38b9dee89aed.tar.gz | |
Stamps browser, placement + clipboard sampling and placement - No clipboard or stamp thumbnail generation, needs thumbnail generator from SaveLoader
Diffstat (limited to 'src/stamps/StampsView.h')
| -rw-r--r-- | src/stamps/StampsView.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/stamps/StampsView.h b/src/stamps/StampsView.h new file mode 100644 index 0000000..a906cdc --- /dev/null +++ b/src/stamps/StampsView.h @@ -0,0 +1,35 @@ +/* + * StampsView.h + * + * Created on: Mar 29, 2012 + * Author: Simon + */ + +#ifndef STAMPSVIEW_H_ +#define STAMPSVIEW_H_ + +#include <vector> +#include "interface/Window.h" +#include "interface/Button.h" +#include "interface/Textbox.h" +#include "interface/Label.h" + +class StampsController; +class StampsModel; +class StampsView: public ui::Window { + StampsController * c; + std::vector<ui::Component*> stampButtons; + ui::Button * previousButton; + ui::Button * nextButton; + ui::Label * infoLabel; +public: + StampsView(); + //virtual void OnDraw(); + virtual void OnTick(float dt); + void AttachController(StampsController * c_) { c = c_; }; + void NotifyPageChanged(StampsModel * sender); + void NotifyStampsListChanged(StampsModel * sender); + virtual ~StampsView(); +}; + +#endif /* STAMPSVIEW_H_ */ |
