]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormBaseDeprecated.h
Bugfixes: checkboxes to radiobuttons (from J�rgen S) and remove a little
[lyx.git] / src / frontends / xforms / FormBaseDeprecated.h
index 0904169a59c2e4ee5d66ce8b0af24bd53aa75d99..ca29b23a0899c815cb3ab2f0472a8e7bd2bdec28 100644 (file)
@@ -52,7 +52,7 @@ public:
 
 protected: // methods
        ///
-       FormBaseDeprecated(LyXView *, Dialogs *, string const &);
+       FormBaseDeprecated(LyXView *, Dialogs *, string const &, bool);
        ///
        virtual ~FormBaseDeprecated() {}
 
@@ -115,11 +115,14 @@ protected: // methods
        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_;
 };
 
 
@@ -130,7 +133,7 @@ public:
 class FormBaseBI : public FormBaseDeprecated {
 protected:
        /// Constructor
-       FormBaseBI(LyXView *, Dialogs *, string const &);
+       FormBaseBI(LyXView *, Dialogs *, string const &, bool allowResize=true);
 
        /// Connect signals
        virtual void connect();
@@ -142,7 +145,7 @@ protected:
 class FormBaseBD : public FormBaseDeprecated {
 protected:
        /// Constructor
-       FormBaseBD(LyXView *, Dialogs *, string const &);
+       FormBaseBD(LyXView *, Dialogs *, string const &, bool allowResize=true);
 
        /// Connect signals
        virtual void connect();