Numworks Epsilon
1.4.1
Graphing Calculator Operating System
scrollable_view.h
Go to the documentation of this file.
1
#ifndef ESCHER_SCROLLABLE_VIEW_H
2
#define ESCHER_SCROLLABLE_VIEW_H
3
4
#include <
escher/scroll_view.h
>
5
#include <
escher/responder.h
>
6
7
class
ScrollableView
:
public
Responder
,
public
ScrollView
{
8
public
:
9
ScrollableView
(
Responder
*
parentResponder
,
View
* view,
ScrollViewDataSource
* dataSource);
10
bool
handleEvent
(
Ion::Events::Event
event)
override
;
11
void
reloadScroll
(
bool
forceRelayout =
false
);
12
protected
:
13
void
layoutSubviews
()
override
;
14
KDPoint
m_manualScrollingOffset
;
15
};
16
17
#endif
18
19
ScrollableView::ScrollableView
ScrollableView(Responder *parentResponder, View *view, ScrollViewDataSource *dataSource)
Definition:
scrollable_view.cpp:5
ScrollableView::reloadScroll
void reloadScroll(bool forceRelayout=false)
Definition:
scrollable_view.cpp:48
Responder::parentResponder
Responder * parentResponder() const
Definition:
responder.cpp:12
ScrollableView
Definition:
scrollable_view.h:7
responder.h
ScrollViewDataSource
Definition:
scroll_view_data_source.h:6
Ion::Events::Event
Definition:
events.h:9
KDPoint
Definition:
point.h:6
ScrollableView::handleEvent
bool handleEvent(Ion::Events::Event event) override
Definition:
scrollable_view.cpp:14
Responder
Definition:
responder.h:9
ScrollableView::m_manualScrollingOffset
KDPoint m_manualScrollingOffset
Definition:
scrollable_view.h:14
ScrollView
Definition:
scroll_view.h:8
View
Definition:
view.h:23
ScrollableView::layoutSubviews
void layoutSubviews() override
Definition:
scrollable_view.cpp:53
scroll_view.h
epsilon
escher
include
escher
scrollable_view.h
Generated by
1.8.14