summaryrefslogtreecommitdiff
path: root/src/preview/PreviewView.h
diff options
context:
space:
mode:
authorBryan Hoyle <starfoxprime@gmail.com>2012-06-22 16:00:17 (GMT)
committer Bryan Hoyle <starfoxprime@gmail.com>2012-06-22 16:00:17 (GMT)
commit6fa05d1930964d0a09093c627b30241d73c69dda (patch)
treeb2d9856f5f0c26529de8eff8fc8b8f39cb234b64 /src/preview/PreviewView.h
parent58f3494f6fce58729e6e3fe91e1234a9bd636d55 (diff)
parent55d90a44a8425f70b08d864570e255f4bad8ba4c (diff)
downloadpowder-6fa05d1930964d0a09093c627b30241d73c69dda.zip
powder-6fa05d1930964d0a09093c627b30241d73c69dda.tar.gz
Merge branch 'master' of github.com:FacialTurd/PowderToypp
Diffstat (limited to 'src/preview/PreviewView.h')
-rw-r--r--src/preview/PreviewView.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/preview/PreviewView.h b/src/preview/PreviewView.h
index 33510a2..58232bb 100644
--- a/src/preview/PreviewView.h
+++ b/src/preview/PreviewView.h
@@ -29,6 +29,7 @@ class PreviewView: public ui::Window {
ui::Button * reportButton;
ui::Label * saveNameLabel;
ui::Label * authorDateLabel;
+ ui::Label * pageInfo;
ui::Textblock * saveDescriptionTextblock;
std::vector<SaveComment> comments;
std::vector<ui::Component*> commentComponents;
@@ -37,6 +38,8 @@ class PreviewView: public ui::Window {
int votesDown;
bool doOpen;
+ bool commentsEnd;
+ bool commentsBegin;
int maxOffset;
float commentsOffset;
float commentsVel;
@@ -47,6 +50,7 @@ public:
PreviewView();
void NotifySaveChanged(PreviewModel * sender);
void NotifyCommentsChanged(PreviewModel * sender);
+ void NotifyCommentsPageChanged(PreviewModel * sender);
virtual void OnDraw();
virtual void DoDraw();
virtual void OnTick(float dt);