src/gui_actions.cpp

changeset 195
7a776f6b0d2a
parent 193
ce8e25ccbaf6
child 198
f246725199dc
equal deleted inserted replaced
194:cfe9ae5f1124 195:7a776f6b0d2a
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 }

mercurial