summaryrefslogtreecommitdiff
path: root/src/preview/PreviewView.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-01-23 22:53:57 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-01-23 22:53:57 (GMT)
commitdf72f2580f68a7d0055fcf20dcd65c0be90c52dd (patch)
treeada3c6d3fdc2009f5236ec2a39d661c0bfaaf3e5 /src/preview/PreviewView.h
parent2bd571e1598e6baffc717bcb086d89d01929604b (diff)
downloadpowder-df72f2580f68a7d0055fcf20dcd65c0be90c52dd.zip
powder-df72f2580f68a7d0055fcf20dcd65c0be90c52dd.tar.gz
Better element buttons, Save preview WIP
Diffstat (limited to 'src/preview/PreviewView.h')
-rw-r--r--src/preview/PreviewView.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/preview/PreviewView.h b/src/preview/PreviewView.h
index 728d547..616bffc 100644
--- a/src/preview/PreviewView.h
+++ b/src/preview/PreviewView.h
@@ -9,13 +9,23 @@
#define PREVIEWVIEW_H_
#include "interface/Window.h"
#include "preview/PreviewController.h"
+#include "preview/PreviewModel.h"
+#include "interface/Button.h"
+#include "search/Thumbnail.h"
+#include "interface/Label.h"
+class PreviewModel;
class PreviewController;
class PreviewView: public ui::Window {
PreviewController * c;
+ Thumbnail * savePreview;
+ ui::Button * openButton;
+ ui::Label * saveNameLabel;
public:
void AttachController(PreviewController * controller) { c = controller;}
PreviewView();
+ void NotifyPreviewChanged(PreviewModel * sender);
+ void NotifySaveChanged(PreviewModel * sender);
virtual void OnDraw();
virtual ~PreviewView();
};