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:
11  void drawRect(KDContext * ctx, KDRect rect) const override;
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;
22 };
23 
24 #endif
ShiftAlphaStatus
Definition: events.h:41
int16_t KDCoordinate
Definition: coordinate.h:6
void drawRect(KDContext *ctx, KDRect rect) const override
Definition: size.h:6
bool setStatus(Ion::Events::ShiftAlphaStatus status)
KDSize minimalSizeForOptimalDisplay() const override
Definition: rect.h:26
Definition: view.h:23