summaryrefslogtreecommitdiff
path: root/src/render/RenderView.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-04-18 13:43:09 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-04-18 13:43:09 (GMT)
commit82a19334001969af688cd52eb48509d4b91cef59 (patch)
treec33006ba70b35a76aaf46fe11f84371b3a5bd017 /src/render/RenderView.cpp
parentdf2d698ed5e6d824b6fb4a50eaaf4ecadf78f65b (diff)
downloadpowder-82a19334001969af688cd52eb48509d4b91cef59.zip
powder-82a19334001969af688cd52eb48509d4b91cef59.tar.gz
TPT: Old nothing display mode in the form of Basic colour mode fe82685257
Diffstat (limited to 'src/render/RenderView.cpp')
-rw-r--r--src/render/RenderView.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/render/RenderView.cpp b/src/render/RenderView.cpp
index 3c9811d..e44c72f 100644
--- a/src/render/RenderView.cpp
+++ b/src/render/RenderView.cpp
@@ -157,6 +157,11 @@ RenderView::RenderView():
colourModes.push_back(tCheckbox);
tCheckbox->SetActionCallback(new ColourModeAction(this, COLOUR_GRAD));
AddComponent(tCheckbox);
+
+ tCheckbox = new ui::Checkbox(ui::Point(536, YRES+4), ui::Point(50, 16), "Basic");
+ colourModes.push_back(tCheckbox);
+ tCheckbox->SetActionCallback(new ColourModeAction(this, COLOUR_BASC));
+ AddComponent(tCheckbox);
}
void RenderView::OnMouseDown(int x, int y, unsigned button)