LyXScreen * BufferView::screen() const
{
- return pimpl_->screen_;
+ return pimpl_->screen_.get();
}
WorkArea * BufferView::workarea() const
{
- return pimpl_->workarea_;
+ return &pimpl_->workarea_;
}
}
+void BufferView::scrollCB(double value)
+{
+ pimpl_->scrollCB(value);
+}
+
+
Inset * BufferView::checkInsetHit(LyXText * text, int & x, int & y,
unsigned int button)
{
int BufferView::workWidth() const
{
- return pimpl_->workarea_->workWidth();
+ return pimpl_->workarea_.workWidth();
}
return static_cast<BufferView::UpdateCodes>
(static_cast<int>(uc1) | static_cast<int>(uc2));
}
+
+bool BufferView::Dispatch(kb_action action, string const & argument)
+{
+ return pimpl_->Dispatch(action, argument);
+}