mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-29 03:29:58 +02:00
21 lines
519 B
C++
21 lines
519 B
C++
#ifndef ESCHER_SCROLLABLE_VIEW_H
|
|
#define ESCHER_SCROLLABLE_VIEW_H
|
|
|
|
#include <escher/palette.h>
|
|
#include <escher/responder.h>
|
|
#include <escher/scroll_view.h>
|
|
|
|
class ScrollableView : public Responder, public ScrollView {
|
|
public:
|
|
ScrollableView(Responder * parentResponder, View * view, ScrollViewDataSource * dataSource);
|
|
bool handleEvent(Ion::Events::Event event) override;
|
|
void reloadScroll(bool forceRelayout = false);
|
|
protected:
|
|
void layoutSubviews() override;
|
|
KDPoint m_manualScrollingOffset;
|
|
};
|
|
|
|
#endif
|
|
|
|
|