]> git.lyx.org Git - features.git/commitdiff
remove unused methods
authorJohn Levon <levon@movementarian.org>
Wed, 19 Jun 2002 18:29:07 +0000 (18:29 +0000)
committerJohn Levon <levon@movementarian.org>
Wed, 19 Jun 2002 18:29:07 +0000 (18:29 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4432 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/ChangeLog
src/frontends/WorkArea.h
src/frontends/qt2/ChangeLog
src/frontends/qt2/QWorkArea.h
src/frontends/xforms/ChangeLog
src/frontends/xforms/XWorkArea.h

index 484435d8200191535c930c63c520d9c0c7922588..12820e3a26c4db1fa5d2c80b68fc326bce16056f 100644 (file)
@@ -1,3 +1,7 @@
+2002-06-19  John Levon  <moz@compsoc.man.ac.uk>
+
+       * WorkArea.h: remove unused methods
 2002-06-19  John Levon  <moz@compsoc.man.ac.uk>
 
        * Toolbar.C: add missing header
index 2449b8e4a6d6dd31133cce53157cb6389a0d1f7c..56ed3181c0e82cde39b4e5d7063d81e4054e359f 100644 (file)
@@ -41,10 +41,6 @@ public:
        ///
        virtual int workHeight() const = 0;
   
-       ///
-       virtual int xpos() const = 0;
-       ///
-       virtual int ypos() const = 0;
        ///
        virtual void resize(int xpos, int ypos, int width, int height) = 0;
        ///
@@ -54,8 +50,6 @@ public:
        ///
        virtual bool hasFocus() const = 0;
        ///
-       virtual bool visible() const = 0;
-       ///
        virtual void greyOut() const = 0;
         ///
         virtual void setScrollbarParams(int height, int pos, int line_height) = 0;
index d86a65feec85ed8ec9f911a7cd3f3aeda82fa93c..8a2e771a5145ac489ee91ba1e9e46613b3f84aa4 100644 (file)
@@ -1,3 +1,7 @@
+2002-06-19  John Levon  <moz@compsoc.man.ac.uk>
+
+       * QWorkArea.h: remove unused methods
 2002-06-19  John Levon  <moz@compsoc.man.ac.uk>
 
        * LyXKeySymFactory.C: add
index b199d1ff238c5b4d1ab5f5b5ec74c07f2cb626e6..0f6089df4aa7f834785bf6411bc9bf27ae86c354 100644 (file)
@@ -42,9 +42,6 @@ public:
        QWorkArea(int x, int y, int w, int h);
 
        // FIXME:
-       virtual int xpos() const { return 0; }
-       virtual int ypos() const { return 0; }
-       virtual bool visible() const { return true; }
        virtual void greyOut() const { }
 
        virtual ~QWorkArea();
index 5f38213057733b36d499b564297d6c2e2e316bcc..8d35b6209afb773be88c261c7dad6e1115d6bed3 100644 (file)
@@ -1,3 +1,7 @@
+2002-06-19  John Levon  <moz@compsoc.man.ac.uk>
+
+       * XWorkArea.h: remove unused methods
 2002-06-15  Martin Vermeer  <martin.vermeer@hut.fi>
 
         * FormMathsDelim.C: Redesign of Delimiters dialogue in mathed.
index 33a0e7b84aed382e8102995e51dcc736abd21390..4ec43bc9c5b84ebf589fbe2f237298f995b7403e 100644 (file)
@@ -34,10 +34,6 @@ public:
        ///
        virtual int workHeight() const { return work_area->h; }
        ///
-       virtual int xpos() const { return work_area->x; }
-       ///
-       virtual int ypos() const { return work_area->y; }
-       ///
        virtual void resize(int xpos, int ypos, int width, int height);
        ///
        virtual void redraw() const {
@@ -51,8 +47,6 @@ public:
        ///
        virtual bool hasFocus() const { return work_area->focus; }
        ///
-       virtual bool visible() const { return work_area->form->visible; }
-       ///
        virtual void greyOut() const;
         ///
        virtual void setScrollbarParams(int height, int pos, int line_height);
@@ -63,6 +57,11 @@ public:
                                     FL_Coord, FL_Coord,
                                     int /*key*/, void * xev);
  
+       /// return x position of window
+       int xpos() const { return work_area->x; }
+       /// return y position of window
+       int ypos() const { return work_area->y; }
        /// xforms callback from scrollbar
        void scroll_cb();
        /// a selection exists