summaryrefslogtreecommitdiff
path: root/src/preview/PreviewView.h
diff options
context:
space:
mode:
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);