CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
Loading...
Searching...
No Matches
PinChangeView.cpp File Reference
#include "cdc_os_ui/views/PinChangeView.h"
#include "cdc_views/KeyCodes.h"
#include "cdc_views/RenderHelpers.h"
#include "cdc_core/PinManager.h"
#include "cdc_ui/I18n.h"
#include "cdc_hal/IDisplay.h"
#include "cdc_log.h"
#include "esp_timer.h"
#include <goodisplay/gdey029T94.h>
#include <cstring>

Go to the source code of this file.

Namespaces

namespace  cdc
namespace  cdc::ui
 Centralized key-code constants for cdc_views.

Variables

static const char * TAG = "PinChangeView"
static constexpr int TITLE_Y = 15
 Display layout constants.
static constexpr int STEP_Y = 30
static constexpr int PIN_Y = 55
static constexpr int PIN_DOT_SIZE = 12
static constexpr int PIN_DOT_SPACING = 16
static constexpr int MESSAGE_Y = 90

Variable Documentation

◆ MESSAGE_Y

int MESSAGE_Y = 90
staticconstexpr

Definition at line 28 of file PinChangeView.cpp.

Referenced by cdc::ui::PinChangeView::render().

◆ PIN_DOT_SIZE

int PIN_DOT_SIZE = 12
staticconstexpr

◆ PIN_DOT_SPACING

int PIN_DOT_SPACING = 16
staticconstexpr

◆ PIN_Y

int PIN_Y = 55
staticconstexpr

◆ STEP_Y

int STEP_Y = 30
staticconstexpr

Definition at line 24 of file PinChangeView.cpp.

Referenced by cdc::ui::PinChangeView::render().

◆ TAG

const char* TAG = "PinChangeView"
static

PinChangeView Implementation

PIN change wizard with three steps.

Definition at line 18 of file PinChangeView.cpp.

◆ TITLE_Y

int TITLE_Y = 15
staticconstexpr

Display layout constants.

Definition at line 23 of file PinChangeView.cpp.