summaryrefslogtreecommitdiff
path: root/src/preview/PreviewView.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-01-29 17:12:35 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-01-29 17:12:35 (GMT)
commit80aa7219a2d47632efa5d72b79bbb4fc65721631 (patch)
tree257086419a3380872195415ffffb47ec52fff972 /src/preview/PreviewView.h
parent680a36549adaed0c3ce7e8906fadbdf190b0b3b0 (diff)
downloadpowder-80aa7219a2d47632efa5d72b79bbb4fc65721631.zip
powder-80aa7219a2d47632efa5d72b79bbb4fc65721631.tar.gz
Vote view in save preview, better handling of controller destruction
Diffstat (limited to 'src/preview/PreviewView.h')
-rw-r--r--src/preview/PreviewView.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/preview/PreviewView.h b/src/preview/PreviewView.h
index a526ef7..dbc3248 100644
--- a/src/preview/PreviewView.h
+++ b/src/preview/PreviewView.h
@@ -22,6 +22,8 @@ class PreviewView: public ui::Window {
ui::Button * openButton;
ui::Label * saveNameLabel;
ui::Label * authorDateLabel;
+ int votesUp;
+ int votesDown;
public:
void AttachController(PreviewController * controller) { c = controller;}
PreviewView();