Blame view

build1/epsilon-master/escher/src/scroll_view_data_source.cpp 269 Bytes
6663b6c9   adorian   projet complet av...
1
2
3
4
5
6
7
8
9
10
11
12
  #include <escher/scroll_view_data_source.h>
  
  bool ScrollViewDataSource::setOffset(KDPoint offset) {
    if (offset != m_offset) {
      m_offset = offset;
      if (m_delegate) {
        m_delegate->scrollViewDidChangeOffset(this);
      }
      return true;
    }
    return false;
  }