*
* LyX, The Document Processor
*
- * Copyright 2000 The LyX Team.
+ * Copyright 2000-2001 The LyX Team.
*
* ======================================================
*/
protected: // methods
///
- FormBaseDeprecated(LyXView *, Dialogs *, string const &);
+ FormBaseDeprecated(LyXView *, Dialogs *, string const &, bool);
///
virtual ~FormBaseDeprecated() {}
SigC::Connection r_;
/// dialog title, displayed by WM.
string title_;
-public:
- /// Overcome a dumb xforms sizing bug
- mutable int minw_;
+
+private:
+ /// The dialog's minimum allowable dimensions.
+ int minw_;
///
- mutable int minh_;
+ int minh_;
+ /// Can the dialog be resized after it has been created?
+ bool allow_resize_;
};
class FormBaseBI : public FormBaseDeprecated {
protected:
/// Constructor
- FormBaseBI(LyXView *, Dialogs *, string const &);
+ FormBaseBI(LyXView *, Dialogs *, string const &, bool allowResize=true);
/// Connect signals
virtual void connect();
class FormBaseBD : public FormBaseDeprecated {
protected:
/// Constructor
- FormBaseBD(LyXView *, Dialogs *, string const &);
+ FormBaseBD(LyXView *, Dialogs *, string const &, bool allowResize=true);
/// Connect signals
virtual void connect();