diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-02-11 16:08:59 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-02-11 16:08:59 (GMT) |
| commit | 9f7b06ff47e12076a261b6a209b27c558741eb8a (patch) | |
| tree | d0b4c8f53d976b1e2c1d771da47d7a9e4517db4d /src/preview/PreviewView.h | |
| parent | 54741c79ef6169eda47745ea4f13e4e1d9982497 (diff) | |
| download | powder-9f7b06ff47e12076a261b6a209b27c558741eb8a.zip powder-9f7b06ff47e12076a261b6a209b27c558741eb8a.tar.gz | |
Comments on save preview and some minor changes for vote bars
Diffstat (limited to 'src/preview/PreviewView.h')
| -rw-r--r-- | src/preview/PreviewView.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/preview/PreviewView.h b/src/preview/PreviewView.h index 9368732..11ed4bd 100644 --- a/src/preview/PreviewView.h +++ b/src/preview/PreviewView.h @@ -7,12 +7,15 @@ #ifndef PREVIEWVIEW_H_ #define PREVIEWVIEW_H_ + +#include <vector> #include "interface/Window.h" #include "preview/PreviewController.h" #include "preview/PreviewModel.h" #include "interface/Button.h" #include "search/Thumbnail.h" #include "interface/Label.h" +#include "interface/Textblock.h" class PreviewModel; class PreviewController; @@ -23,6 +26,8 @@ class PreviewView: public ui::Window { ui::Button * browserOpenButton; ui::Label * saveNameLabel; ui::Label * authorDateLabel; + ui::Textblock * saveDescriptionTextblock; + std::vector<ui::Component*> commentComponents; int votesUp; int votesDown; public: @@ -30,6 +35,7 @@ public: PreviewView(); void NotifyPreviewChanged(PreviewModel * sender); void NotifySaveChanged(PreviewModel * sender); + void NotifyCommentsChanged(PreviewModel * sender); virtual void OnDraw(); virtual void OnTick(float dt); virtual void OnMouseDown(int x, int y, unsigned button); |
