gui_actions.cpp

changeset 163
46955613626d
parent 162
b7d65e89861a
child 168
96691a009dff
--- a/gui_actions.cpp	Sun May 05 00:53:13 2013 +0300
+++ b/gui_actions.cpp	Sun May 05 17:04:42 2013 +0300
@@ -390,10 +390,18 @@
 }
 
 // =============================================================================
-MAKE_ACTION (beginPlaneDraw, "Begin drawing", "draw", "Begin drawing geometry", KEY (Space)) {
+MAKE_ACTION (beginDraw, "Begin Drawing", "draw", "Begin drawing geometry", KEY (Insert)) {
 	g_win->R ()->beginPlaneDraw ();
 }
 
+MAKE_ACTION (cancelDraw, "Cancel Drawing", "draw-cancel", "Cancel drawing geometry", KEY (Escape)) {
+	g_win->R ()->endPlaneDraw (false);
+}
+
+MAKE_ACTION (doneDraw, "Done Drawing", "draw-done", "Done drawing geometry", KEY (Enter)) {
+	g_win->R ()->endPlaneDraw (true);
+}
+
 // =============================================================================
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 // =============================================================================

mercurial