]> git.lyx.org Git - lyx.git/blobdiff - src/toolbar.C
more changes, read the Changelog
[lyx.git] / src / toolbar.C
index 66d45f46474d42dcb08848aaf2a4b5b2ce69e717..db68e6c949af13e935bfec30d0d0c6f38971eadf 100644 (file)
@@ -533,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
+//  }