388 ACTION (axes)->setChecked (gl_axes); |
388 ACTION (axes)->setChecked (gl_axes); |
389 g_win->R ()->update (); |
389 g_win->R ()->update (); |
390 } |
390 } |
391 |
391 |
392 // ============================================================================= |
392 // ============================================================================= |
393 MAKE_ACTION (beginPlaneDraw, "Begin drawing", "draw", "Begin drawing geometry", KEY (Space)) { |
393 MAKE_ACTION (beginDraw, "Begin Drawing", "draw", "Begin drawing geometry", KEY (Insert)) { |
394 g_win->R ()->beginPlaneDraw (); |
394 g_win->R ()->beginPlaneDraw (); |
|
395 } |
|
396 |
|
397 MAKE_ACTION (cancelDraw, "Cancel Drawing", "draw-cancel", "Cancel drawing geometry", KEY (Escape)) { |
|
398 g_win->R ()->endPlaneDraw (false); |
|
399 } |
|
400 |
|
401 MAKE_ACTION (doneDraw, "Done Drawing", "draw-done", "Done drawing geometry", KEY (Enter)) { |
|
402 g_win->R ()->endPlaneDraw (true); |
395 } |
403 } |
396 |
404 |
397 // ============================================================================= |
405 // ============================================================================= |
398 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * |
406 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * |
399 // ============================================================================= |
407 // ============================================================================= |