mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
table view data source & selectable table view delegate Change-Id: I90fbd61e271db3754c13bd0069b95c2026de6814
20 lines
336 B
C++
20 lines
336 B
C++
#include <escher/scroll_view_data_source.h>
|
|
|
|
ScrollViewDataSource::ScrollViewDataSource() :
|
|
m_offset(KDPointZero)
|
|
{
|
|
}
|
|
|
|
KDPoint ScrollViewDataSource::offset() const {
|
|
return m_offset;
|
|
}
|
|
|
|
bool ScrollViewDataSource::setOffset(KDPoint offset) {
|
|
if (offset != m_offset) {
|
|
m_offset = offset;
|
|
return true;
|
|
}
|
|
return false;
|
|
}
|
|
|