+2002-11-19 Angus Leeming <leeming@lyx.org>
+
+ * FormInset.[Ch]: removed; no longer used after John's port of the
+ tabular dialog to MCV.
+
+ * Makefile.am (libxforms_la_SOURCES): remove FormInset.[Ch].
+
2002-11-17 John Levon <levon@movementarian.org>
* FileDialog.C: open/save name change
* FormBase.h: make hide() virtual for prefs
-2002-11-08 Angus Leeming <aleem@pneumon.bg.ic.ac.uk>
+2002-11-08 Angus Leeming <leeming@lyx.org>
* xforms_resize.[Ch]: sigh. Hack the "get scaling" part of
fl_adjust_form_size out of the xforms source and put it in here as
I've put a request into the xforms list.
-2002-11-08 Angus Leeming <aleem@pneumon.bg.ic.ac.uk>
+2002-11-08 Angus Leeming <leeming@lyx.org>
* xforms_resize.[Ch]: replace scale_to_fit_tabs and scale_form with
get_scale_to_fit and scale_form_horizontally, respectively. The
+++ /dev/null
-/**
- * \file FormInset.C
- * This file is part of LyX, the document processor.
- * Licence details can be found in the file COPYING.
- *
- * \author Angus Leeming
- *
- * Full author contact details are available in file CREDITS
- */
-
-#include <config.h>
-
-#include FORMS_H_LOCATION
-
-#ifdef __GNUG__
-#pragma implementation
-#endif
-
-#include "FormInset.h"
-
-#include "frontends/Dialogs.h"
-
-#include <boost/bind.hpp>
-
-FormInset::FormInset(LyXView & lv, Dialogs & d, string const & t)
- : FormBaseBD(lv, d, t)
-{}
-
-
-void FormInset::connect()
-{
- u_ = d_.updateBufferDependent.
- connect(boost::bind(&FormInset::updateSlot, this, _1));
- h_ = d_.hideBufferDependent.
- connect(boost::bind(&FormInset::hide, this));
- FormBaseDeprecated::connect();
-}
-
-
-void FormInset::disconnect()
-{
- ih_.disconnect();
- FormBaseBD::disconnect();
-}
-
-
-void FormInset::updateSlot(bool switched)
-{
- if (switched)
- hide();
- else
- update();
-}
+++ /dev/null
-// -*- C++ -*-
-/**
- * \file FormInset.h
- * This file is part of LyX, the document processor.
- * Licence details can be found in the file COPYING.
- *
- * \author Angus Leeming
- *
- * Full author contact details are available in file CREDITS
- */
-
-/* A base class for dialogs connected to insets. This class is temporary in that
- * it has been superceeded by the controller-view split.
- */
-
-#ifndef FORMCOMMAND_H
-#define FORMCOMMAND_H
-
-#include "FormBaseDeprecated.h"
-#include "insets/insetcommandparams.h"
-
-#include <boost/signals/connection.hpp>
-
-#ifdef __GNUG__
-#pragma interface
-#endif
-
-class InsetCommand;
-
-/** This class is an XForms GUI base class to insets
- */
-class FormInset : public FormBaseBD {
-protected:
- /// Constructor
- FormInset(LyXView &, Dialogs &, string const &);
-
- /// Connect signals. Also perform any necessary initialisation.
- virtual void connect();
- /// Disconnect signals. Also perform any necessary housekeeping.
- virtual void disconnect();
-
- /// bool indicates if a buffer switch took place
- virtual void updateSlot(bool);
-
- /// inset::hide connection.
- boost::signals::connection ih_;
-};
-
-#endif
FormInclude.h \
FormIndex.C \
FormIndex.h \
- FormInset.C \
- FormInset.h \
FormLog.C \
FormLog.h \
FormMathsBitmap.C \