mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-28 18:20:14 +01:00
scroll to the size of the content view Change-Id: I2c4aa457425bf5a8a484aecc061ae27453e9aabb
20 lines
464 B
C++
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
|
|
|
|
|