summaryrefslogtreecommitdiff
path: root/src/preview
diff options
context:
space:
mode:
Diffstat (limited to 'src/preview')
-rw-r--r--src/preview/PreviewView.cpp4
-rw-r--r--src/preview/PreviewView.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/preview/PreviewView.cpp b/src/preview/PreviewView.cpp
index 983e730..8c69b7b 100644
--- a/src/preview/PreviewView.cpp
+++ b/src/preview/PreviewView.cpp
@@ -32,6 +32,10 @@ PreviewView::PreviewView():
saveNameLabel = new ui::Label(ui::Point(5, (YRES/2)+5), ui::Point(100, 16), "");
saveNameLabel->SetAlignment(AlignLeft, AlignBottom);
AddComponent(saveNameLabel);
+
+ authorDateLabel = new ui::Label(ui::Point(5, (YRES/2)+5+16), ui::Point(100, 16), "");
+ authorDateLabel->SetAlignment(AlignLeft, AlignBottom);
+ AddComponent(authorDateLabel);
}
void PreviewView::OnDraw()
diff --git a/src/preview/PreviewView.h b/src/preview/PreviewView.h
index ac17df5..e788210 100644
--- a/src/preview/PreviewView.h
+++ b/src/preview/PreviewView.h
@@ -21,6 +21,7 @@ class PreviewView: public ui::Window {
Thumbnail * savePreview;
ui::Button * openButton;
ui::Label * saveNameLabel;
+ ui::Label * authorDateLabel;
public:
void AttachController(PreviewController * controller) { c = controller;}
PreviewView();