gui.cpp

changeset 143
e3c37b950a68
parent 142
6e8aee653dab
child 145
ddf24c380be6
--- a/gui.cpp	Fri Apr 26 22:53:21 2013 +0300
+++ b/gui.cpp	Sat Apr 27 02:17:03 2013 +0300
@@ -86,6 +86,7 @@
 EXTERN_ACTION (resetView)
 EXTERN_ACTION (insertFrom)
 EXTERN_ACTION (insertRaw)
+EXTERN_ACTION (screencap)
 
 #ifndef RELEASE
 EXTERN_ACTION (addTestQuad)
@@ -197,11 +198,13 @@
 	
 	// View menu
 	qViewMenu = menuBar ()->addMenu (tr ("&View"));
-	qViewMenu->addAction (ACTION (resetView));
+	qViewMenu->addAction (ACTION (resetView));			// Reset View
+	qViewMenu->addSeparator ();							// -----
+	qViewMenu->addAction (ACTION (screencap));			// Screencap Part
 	
 	// Insert menu
 	qInsertMenu = menuBar ()->addMenu (tr ("&Insert"));
-	qInsertMenu->addAction (ACTION (insertFrom));			// Insert from File
+	qInsertMenu->addAction (ACTION (insertFrom));		// Insert from File
 	qInsertMenu->addAction (ACTION (insertRaw));			// Insert Raw
 	qInsertMenu->addSeparator ();							// -------
 	qInsertMenu->addAction (ACTION (newSubfile));		// New Subfile
@@ -392,6 +395,7 @@
 	g_CurrentToolBar->addAction (ACTION (makeBorders));
 	g_CurrentToolBar->addAction (ACTION (makeCornerVerts));
 	g_CurrentToolBar->addAction (ACTION (roundCoords));
+	g_CurrentToolBar->addAction (ACTION (screencap));
 	
 	updateToolBars ();
 }

mercurial