remove unused methods

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4432 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2002-06-19 18:29:07 +00:00
parent be5ffb0b68
commit df88270f83
6 changed files with 17 additions and 15 deletions

View 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

View 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;

View 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

View 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();

View 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.

View 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