gui_actions.cpp

changeset 156
d35b7e440585
parent 155
e21c24bfcdf3
child 160
edcb03f3ef75
--- a/gui_actions.cpp	Fri May 03 23:46:46 2013 +0300
+++ b/gui_actions.cpp	Sat May 04 01:57:42 2013 +0300
@@ -382,6 +382,16 @@
 // =============================================================================
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 // =============================================================================
+extern_cfg (bool, gl_axes);
+MAKE_ACTION (axes, "Draw Axes", "axes", "Toggles drawing of axes", (0)) {
+	gl_axes = !gl_axes;
+	ACTION (axes)->setChecked (gl_axes);
+	g_ForgeWindow->R->update ();
+}
+
+// =============================================================================
+// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+// =============================================================================
 // Debug things
 #ifndef RELEASE
 MAKE_ACTION (addTestQuad, "Add Test Quad", "add-quad", "Adds a test quad.", (0)) {

mercurial