Numworks Epsilon
1.4.1
Graphing Calculator Operating System
scrollable_output_expressions_view.cpp
Go to the documentation of this file.
1
#include "
scrollable_output_expressions_view.h
"
2
#include <
assert.h
>
3
using namespace
Poincare
;
4
5
namespace
Calculation
{
6
7
ScrollableOutputExpressionsView::ScrollableOutputExpressionsView(
Responder
* parentResponder) :
8
ScrollableView
(parentResponder, &m_outputView, this),
9
m_outputView(this)
10
{
11
}
12
13
OutputExpressionsView
*
ScrollableOutputExpressionsView::outputView
() {
14
return
&m_outputView;
15
}
16
17
void
ScrollableOutputExpressionsView::didBecomeFirstResponder
() {
18
app
()->
setFirstResponder
(&m_outputView);
19
}
20
21
KDSize
ScrollableOutputExpressionsView::minimalSizeForOptimalDisplay
()
const
{
22
return
m_outputView.
minimalSizeForOptimalDisplay
();
23
}
24
25
KDPoint
ScrollableOutputExpressionsView::manualScrollingOffset
()
const
{
26
return
m_manualScrollingOffset
;
27
}
28
29
}
scrollable_output_expressions_view.h
Calculation::OutputExpressionsView::minimalSizeForOptimalDisplay
KDSize minimalSizeForOptimalDisplay() const override
Definition:
output_expressions_view.cpp:58
ScrollableView
Definition:
scrollable_view.h:7
Poincare
Definition:
absolute_value.h:8
Calculation
Definition:
app.cpp:10
KDPoint
Definition:
point.h:6
KDSize
Definition:
size.h:6
assert.h
Responder
Definition:
responder.h:9
Calculation::ScrollableOutputExpressionsView::minimalSizeForOptimalDisplay
KDSize minimalSizeForOptimalDisplay() const override
Definition:
scrollable_output_expressions_view.cpp:21
Calculation::OutputExpressionsView
Definition:
output_expressions_view.h:8
Calculation::ScrollableOutputExpressionsView::outputView
OutputExpressionsView * outputView()
Definition:
scrollable_output_expressions_view.cpp:13
ScrollableView::m_manualScrollingOffset
KDPoint m_manualScrollingOffset
Definition:
scrollable_view.h:14
Calculation::ScrollableOutputExpressionsView::manualScrollingOffset
KDPoint manualScrollingOffset() const
Definition:
scrollable_output_expressions_view.cpp:25
App::setFirstResponder
void setFirstResponder(Responder *responder)
Definition:
app.cpp:62
Calculation::ScrollableOutputExpressionsView::didBecomeFirstResponder
void didBecomeFirstResponder() override
Definition:
scrollable_output_expressions_view.cpp:17
Responder::app
App * app()
Definition:
responder.cpp:77
epsilon
apps
calculation
scrollable_output_expressions_view.cpp
Generated by
1.8.14