]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormRef.h
Angus's xforms patch + Preferences redesign -- need help fixing BadDrawable + Abort...
[lyx.git] / src / frontends / xforms / FormRef.h
index e74c9259a3f5d18c0bb79df78bec164639eefef8..92ca96a9765609e442cfc56302e0193ce3660aac 100644 (file)
@@ -23,24 +23,38 @@ struct FD_form_ref;
  */
 class FormRef : public FormCommand {
 public:
-       /**@name Constructors and Destructors */
-       //@{
        ///
        FormRef(LyXView *, Dialogs *);
        ///
        ~FormRef();
-       //@}
-
 private:
        ///
-       enum Type{ REF=0, PAGEREF, VREF, VPAGEREF, PRETTYREF };
+       enum Type{
+               ///
+               REF,
+               ///
+               PAGEREF,
+               ///
+               VREF,
+               ///
+               VPAGEREF,
+               ///
+               PRETTYREF
+       };
        ///
-       enum Goto{ GOREF=0, GOBACK, GOFIRST };
+       enum Goto{
+               ///
+               GOREF,
+               ///
+               GOBACK,
+               ///
+               GOFIRST
+       };
 
        /// Build the dialog
        virtual void build();
        /// Filter the input
-       virtual void input( long );
+       virtual bool input( long );
        /// Update dialog before showing it
        virtual void update();
        /// Not used but must be instantiated
@@ -48,7 +62,7 @@ private:
        /// delete derived class variables from hide()
        virtual void clearStore();
        /// Pointer to the actual instantiation of the xform's form
-       virtual FL_FORM * const form() const;
+       virtual FL_FORM * form() const;
 
        ///
        void updateBrowser( std::vector<string> ) const;