]> git.lyx.org Git - lyx.git/blobdiff - src/toolbar.C
more changes, read the Changelog
[lyx.git] / src / toolbar.C
index a3889ecf53936670c9c700c3198d2bc4b3742495..db68e6c949af13e935bfec30d0d0c6f38971eadf 100644 (file)
@@ -93,6 +93,7 @@
 #include "layout_std.xpm"
 #include "build.xpm"
 
+using std::endl;
 
 // this one is not "C" because combox callbacks are really C++ %-|
 extern void LayoutsCB(int, void *);
@@ -532,3 +533,21 @@ void Toolbar::add(string const & func, bool doclean)
                add(tf, doclean);
        }
 }
+
+
+void Toolbar::reset() 
+{
+       toollist = 0;
+       cleaned = false;
+       lightReset();
+}
+
+//  void Toolbar::lightReset()
+//  {
+//     standardspacing = 2; // the usual space between items
+//     sepspace = 6; // extra space
+//     xpos = sxpos - standardspacing;
+//     ypos = sypos;
+//     buttonwidth = 30; // the standard button width
+//     height = 30; // the height of all items in the toolbar
+//  }