-// -*- C++ -*-
/* This file is part of
- * ======================================================
- *
+ * ======================================================
+ *
* LyX, The Document Processor
- *
+ *
* Copyright 1995 Matthias Ettrich
- * Copyright 1995-2000 The LyX Team.
+ * Copyright 1995-2001 The LyX Team.
*
* ====================================================== */
#include "BufferView.h"
#include "BufferView_pimpl.h"
#include "lyxtext.h"
-#include "WorkArea.h"
#include "lyxscreen.h"
: pimpl_(new Pimpl(this, o, xpos, ypos, width, height))
{
text = 0;
- inset_slept = false;
}
}
-void BufferView::pushIntoUpdateList(Inset * i)
-{
- pimpl_->updatelist.push(i);
-}
-
-
-Painter & BufferView::painter()
+Painter & BufferView::painter()
{
return pimpl_->painter();
}
}
-void BufferView::fitCursor(LyXText * text)
+bool BufferView::fitCursor()
{
- pimpl_->fitCursor(text);
+ return pimpl_->fitCursor();
}
}
-Inset * BufferView::checkInsetHit(LyXText * text, int & x, int & y,
- unsigned int button)
+Inset * BufferView::checkInsetHit(LyXText * text, int & x, int & y)
{
- return pimpl_->checkInsetHit(text, x, y, button);
+ return pimpl_->checkInsetHit(text, x, y);
}
bool BufferView::focus() const
{
- return pimpl_->focus();
+ return pimpl_->focus();
}
void BufferView::focus(bool f)
{
- pimpl_->focus(f);
+ pimpl_->focus(f);
}
bool BufferView::active() const
{
- return pimpl_->active();
+ return pimpl_->active();
}
}
-bool BufferView::belowMouse() const
+bool BufferView::belowMouse() const
{
return pimpl_->belowMouse();
}
}
-void BufferView::center()
+void BufferView::center()
{
pimpl_->center();
}