src/gui_actions.cpp

changeset 195
7a776f6b0d2a
parent 193
ce8e25ccbaf6
child 198
f246725199dc
--- a/src/gui_actions.cpp	Mon May 13 19:53:22 2013 +0300
+++ b/src/gui_actions.cpp	Tue May 14 00:52:20 2013 +0300
@@ -415,7 +415,15 @@
 }
 
 // =========================================================================================================================================
-MAKE_ACTION (wireframe, "Toggle Wireframe", "wireframe", "Toggle wireframe view", (0)) {
+MAKE_ACTION (wireframe, "Wireframe", "wireframe", "Toggle wireframe view", (0)) {
 	gl_wireframe = !gl_wireframe;
 	g_win->R ()->refresh ();
+}
+
+MAKE_ACTION (setOverlay, "Set Overlay Image", "overlay", "Set an overlay image", (0)) {
+	g_win->R ()->setupOverlay ();
+}
+
+MAKE_ACTION (clearOverlay, "Clear Overlay Image", "overlay-clear", "Clear the overlay image.", (0)) {
+	g_win->R ()->clearOverlay ();
 }
\ No newline at end of file

mercurial