From df88270f830d32417bbfc45fb8b5bdf5a4f71b0f Mon Sep 17 00:00:00 2001 From: John Levon Date: Wed, 19 Jun 2002 18:29:07 +0000 Subject: [PATCH] remove unused methods git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4432 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/ChangeLog | 4 ++++ src/frontends/WorkArea.h | 6 ------ src/frontends/qt2/ChangeLog | 4 ++++ src/frontends/qt2/QWorkArea.h | 3 --- src/frontends/xforms/ChangeLog | 4 ++++ src/frontends/xforms/XWorkArea.h | 11 +++++------ 6 files changed, 17 insertions(+), 15 deletions(-) diff --git a/src/frontends/ChangeLog b/src/frontends/ChangeLog index 484435d820..12820e3a26 100644 --- a/src/frontends/ChangeLog +++ b/src/frontends/ChangeLog @@ -1,3 +1,7 @@ +2002-06-19 John Levon + + * WorkArea.h: remove unused methods + 2002-06-19 John Levon * Toolbar.C: add missing header diff --git a/src/frontends/WorkArea.h b/src/frontends/WorkArea.h index 2449b8e4a6..56ed3181c0 100644 --- a/src/frontends/WorkArea.h +++ b/src/frontends/WorkArea.h @@ -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; diff --git a/src/frontends/qt2/ChangeLog b/src/frontends/qt2/ChangeLog index d86a65feec..8a2e771a51 100644 --- a/src/frontends/qt2/ChangeLog +++ b/src/frontends/qt2/ChangeLog @@ -1,3 +1,7 @@ +2002-06-19 John Levon + + * QWorkArea.h: remove unused methods + 2002-06-19 John Levon * LyXKeySymFactory.C: add diff --git a/src/frontends/qt2/QWorkArea.h b/src/frontends/qt2/QWorkArea.h index b199d1ff23..0f6089df4a 100644 --- a/src/frontends/qt2/QWorkArea.h +++ b/src/frontends/qt2/QWorkArea.h @@ -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(); diff --git a/src/frontends/xforms/ChangeLog b/src/frontends/xforms/ChangeLog index 5f38213057..8d35b6209a 100644 --- a/src/frontends/xforms/ChangeLog +++ b/src/frontends/xforms/ChangeLog @@ -1,3 +1,7 @@ +2002-06-19 John Levon + + * XWorkArea.h: remove unused methods + 2002-06-15 Martin Vermeer * FormMathsDelim.C: Redesign of Delimiters dialogue in mathed. diff --git a/src/frontends/xforms/XWorkArea.h b/src/frontends/xforms/XWorkArea.h index 33a0e7b84a..4ec43bc9c5 100644 --- a/src/frontends/xforms/XWorkArea.h +++ b/src/frontends/xforms/XWorkArea.h @@ -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