Files
Upsilon/escher/include/escher/scrollable_view.h
Émilie Feral ee51729eba [escher] Move from table view to scroll view the method a update the
scroll to the size of the content view

Change-Id: I2c4aa457425bf5a8a484aecc061ae27453e9aabb
2017-08-18 13:34:29 +02:00

20 lines
464 B
C++

#ifndef ESCHER_SCROLLABLE_VIEW_H
#define ESCHER_SCROLLABLE_VIEW_H
#include <escher/scroll_view.h>
#include <escher/responder.h>
class ScrollableView : public Responder, public ScrollView {
public:
ScrollableView(Responder * parentResponder, View * view, ScrollViewDataSource * dataSource);
bool handleEvent(Ion::Events::Event event) override;
void reloadScroll();
protected:
void layoutSubviews() override;
KDPoint m_manualScrollingOffset;
};
#endif