diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-06-22 15:35:32 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-06-22 15:35:32 (GMT) |
| commit | beee75d9d1f9bc4a897887a0ac5b427449213f80 (patch) | |
| tree | 5b76724ab9c7ae8ea719066b01e301ec8cbacec8 /src/preview/PreviewView.h | |
| parent | e6e23669eea8768ec004c16437c67717b66fb1a0 (diff) | |
| download | powder-beee75d9d1f9bc4a897887a0ac5b427449213f80.zip powder-beee75d9d1f9bc4a897887a0ac5b427449213f80.tar.gz | |
Multiple pages of comments
Diffstat (limited to 'src/preview/PreviewView.h')
| -rw-r--r-- | src/preview/PreviewView.h | 4 |
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); |
