diff options
Diffstat (limited to 'src/preview/PreviewView.cpp')
| -rw-r--r-- | src/preview/PreviewView.cpp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/preview/PreviewView.cpp b/src/preview/PreviewView.cpp new file mode 100644 index 0000000..c5dbfac --- /dev/null +++ b/src/preview/PreviewView.cpp @@ -0,0 +1,28 @@ +/* + * PreviewView.cpp + * + * Created on: Jan 21, 2012 + * Author: Simon + */ + +#include "PreviewView.h" +#include "interface/Point.h" +#include "interface/Window.h" + +PreviewView::PreviewView(): + ui::Window(ui::Point(-1, -1), ui::Point(200, 200)) +{ + // TODO Auto-generated constructor stub + +} + +void PreviewView::OnDraw() +{ + Graphics * g = ui::Engine::Ref().g; + g->drawrect(Position.X, Position.Y, Size.X, Size.Y, 255, 255, 255, 255); +} + +PreviewView::~PreviewView() { + // TODO Auto-generated destructor stub +} + |
