6663b6c9
adorian
projet complet av...
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#include "scrollable_output_expressions_view.h"
#include <assert.h>
using namespace Poincare;
namespace Calculation {
ScrollableOutputExpressionsView::ScrollableOutputExpressionsView(Responder * parentResponder) :
ScrollableView(parentResponder, &m_outputView, this),
m_outputView(this)
{
}
OutputExpressionsView * ScrollableOutputExpressionsView::outputView() {
return &m_outputView;
}
void ScrollableOutputExpressionsView::didBecomeFirstResponder() {
app()->setFirstResponder(&m_outputView);
}
KDSize ScrollableOutputExpressionsView::minimalSizeForOptimalDisplay() const {
return m_outputView.minimalSizeForOptimalDisplay();
}
KDPoint ScrollableOutputExpressionsView::manualScrollingOffset() const {
return m_manualScrollingOffset;
}
}
|