|
CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
|
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 |
RGB-triangle color picker with Bayer-4 dithered preview for 1-bit e-paper displays.
Definition in file ColorPickerView.cpp.
|
staticconstexpr |
Definition at line 21 of file ColorPickerView.cpp.
Referenced by cdc::ui::ColorPickerView::onTick(), and cdc::ui::SliderView::onTick().
|
staticconstexpr |
Definition at line 22 of file ColorPickerView.cpp.
Referenced by cdc::ui::ColorPickerView::onTick(), and cdc::ui::SliderView::onTick().