CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
Loading...
Searching...
No Matches
ColorPickerView.cpp File Reference

RGB-triangle color picker with Bayer-4 dithered preview for 1-bit e-paper displays. More...

#include "cdc_views/ColorPickerView.h"
#include "cdc_views/KeyCodes.h"
#include "cdc_views/LayoutConstants.h"
#include "cdc_views/RenderHelpers.h"
#include "cdc_ui/ViewStack.h"
#include "cdc_ui/I18n.h"
#include "cdc_hal/IDisplay.h"
#include "cdc_hal/IKeypad.h"
#include "cdc_log.h"
#include <goodisplay/gdey029T94.h>
#include <algorithm>
#include <cstdio>
#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 constexpr uint32_t REPEAT_INITIAL_MS = 300
static constexpr uint32_t REPEAT_PERIOD_MS = 70

Detailed Description

RGB-triangle color picker with Bayer-4 dithered preview for 1-bit e-paper displays.

Definition in file ColorPickerView.cpp.

Variable Documentation

◆ REPEAT_INITIAL_MS

uint32_t REPEAT_INITIAL_MS = 300
staticconstexpr

◆ REPEAT_PERIOD_MS

uint32_t REPEAT_PERIOD_MS = 70
staticconstexpr