413 |
413 |
414 g_win->fullRefresh (); |
414 g_win->fullRefresh (); |
415 } |
415 } |
416 |
416 |
417 // ========================================================================================================================================= |
417 // ========================================================================================================================================= |
418 MAKE_ACTION (wireframe, "Toggle Wireframe", "wireframe", "Toggle wireframe view", (0)) { |
418 MAKE_ACTION (wireframe, "Wireframe", "wireframe", "Toggle wireframe view", (0)) { |
419 gl_wireframe = !gl_wireframe; |
419 gl_wireframe = !gl_wireframe; |
420 g_win->R ()->refresh (); |
420 g_win->R ()->refresh (); |
421 } |
421 } |
|
422 |
|
423 MAKE_ACTION (setOverlay, "Set Overlay Image", "overlay", "Set an overlay image", (0)) { |
|
424 g_win->R ()->setupOverlay (); |
|
425 } |
|
426 |
|
427 MAKE_ACTION (clearOverlay, "Clear Overlay Image", "overlay-clear", "Clear the overlay image.", (0)) { |
|
428 g_win->R ()->clearOverlay (); |
|
429 } |