Numworks Epsilon
1.4.1
Graphing Calculator Operating System
shift_alpha_lock_view.h
Go to the documentation of this file.
1
#ifndef APPS_SHIFT_ALPHA_LOCK_VIEW_H
2
#define APPS_SHIFT_ALPHA_LOCK_VIEW_H
3
4
#include <
escher.h
>
5
#include "
lock_view.h
"
6
#include "
i18n.h
"
7
8
class
ShiftAlphaLockView
:
public
View
{
9
public
:
10
ShiftAlphaLockView
();
11
void
drawRect
(
KDContext
* ctx,
KDRect
rect)
const override
;
12
bool
setStatus
(
Ion::Events::ShiftAlphaStatus
status);
13
KDSize
minimalSizeForOptimalDisplay
()
const override
;
14
private
:
15
constexpr
static
KDCoordinate
k_lockRightMargin = 5;
16
int
numberOfSubviews()
const override
;
17
void
layoutSubviews()
override
;
18
View
* subviewAtIndex(
int
index)
override
;
19
LockView
m_lockView;
20
MessageTextView
m_shiftAlphaView;
21
Ion::Events::ShiftAlphaStatus
m_status;
22
};
23
24
#endif
Ion::Events::ShiftAlphaStatus
ShiftAlphaStatus
Definition:
events.h:41
KDCoordinate
int16_t KDCoordinate
Definition:
coordinate.h:6
escher.h
ShiftAlphaLockView::drawRect
void drawRect(KDContext *ctx, KDRect rect) const override
Definition:
shift_alpha_lock_view.cpp:10
ShiftAlphaLockView::ShiftAlphaLockView
ShiftAlphaLockView()
Definition:
shift_alpha_lock_view.cpp:3
KDSize
Definition:
size.h:6
ShiftAlphaLockView::setStatus
bool setStatus(Ion::Events::ShiftAlphaStatus status)
Definition:
shift_alpha_lock_view.cpp:14
ShiftAlphaLockView::minimalSizeForOptimalDisplay
KDSize minimalSizeForOptimalDisplay() const override
Definition:
shift_alpha_lock_view.cpp:39
MessageTextView
Definition:
message_text_view.h:7
KDContext
Definition:
context.h:8
LockView
Definition:
lock_view.h:6
lock_view.h
KDRect
Definition:
rect.h:26
View
Definition:
view.h:23
ShiftAlphaLockView
Definition:
shift_alpha_lock_view.h:8
i18n.h
epsilon
apps
shift_alpha_lock_view.h
Generated by
1.8.14