This commit is contained in:
Fournier Gabriel
2020-12-13 21:55:03 +01:00
parent 92ee632ce2
commit 6c6f8b581c
6 changed files with 78 additions and 1 deletions

View File

@@ -146,4 +146,14 @@ void WordWrapTextView::drawRect(KDContext * ctx, KDRect rect) const
m_nextPageOffset = startOfWord - text();
}
int WordWrapTextView::getPageOffset() const
{
return m_pageOffset;
}
void WordWrapTextView::setPageOffset(int o)
{
m_pageOffset = o;
}
}