1 2 3 4 5 6 7 8 9 10 11 12 13 14
#ifndef APPS_LOCK_VIEW_H #define APPS_LOCK_VIEW_H #include <escher.h> class LockView : public TransparentView { public: void drawRect(KDContext * ctx, KDRect rect) const override; KDSize minimalSizeForOptimalDisplay() const override; constexpr static int k_lockHeight = 9; constexpr static int k_lockWidth = 7; }; #endif