summaryrefslogtreecommitdiff
path: root/src/preview/PreviewView.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-08-25 17:11:36 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-08-25 17:11:36 (GMT)
commite88fca8aa1d4b0c585b50abf501ce733d1645f05 (patch)
tree4bb6e1f6fad1a55fe65c46cc4146c911897cc9c5 /src/preview/PreviewView.h
parent5c293ba9bfca884e309a5fa7f67497eddd7e6643 (diff)
downloadpowder-e88fca8aa1d4b0c585b50abf501ce733d1645f05.zip
powder-e88fca8aa1d4b0c585b50abf501ce733d1645f05.tar.gz
Save ID copying for preview
Diffstat (limited to 'src/preview/PreviewView.h')
-rw-r--r--src/preview/PreviewView.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/preview/PreviewView.h b/src/preview/PreviewView.h
index 5e777fb..7fb9ff5 100644
--- a/src/preview/PreviewView.h
+++ b/src/preview/PreviewView.h
@@ -41,6 +41,7 @@ class PreviewView: public ui::Window {
ui::Label * authorDateLabel;
ui::Label * pageInfo;
ui::Label * saveDescriptionLabel;
+ ui::Textbox * saveIDTextbox;
ui::ScrollPanel * commentsPanel;
std::vector<SaveComment> comments;
std::vector<ui::Component*> commentComponents;
@@ -59,7 +60,7 @@ class PreviewView: public ui::Window {
void commentBoxAutoHeight();
void submitComment();
public:
- void AttachController(PreviewController * controller) { c = controller;}
+ void AttachController(PreviewController * controller);
PreviewView();
void NotifySaveChanged(PreviewModel * sender);
void NotifyCommentsChanged(PreviewModel * sender);