#include "cdc_views/QRCodeView.h"
#include "cdc_ui/ViewStack.h"
#include "cdc_ui/I18n.h"
#include "cdc_hal/IDisplay.h"
#include "cdc_log.h"
#include "qrcode.h"
#include "cdc_views/Fonts.h"
#include "cdc_views/RenderHelpers.h"
#include <goodisplay/gdey029T94.h>
#include <Fonts/FreeMonoBold9pt7b.h>
#include <cstring>
Go to the source code of this file.
|
| namespace | cdc |
| namespace | cdc::ui |
| | Centralized key-code constants for cdc_views.
|
|
| static void | cdc::ui::qrDisplayCallback (esp_qrcode_handle_t qrcode) |
| | Renders or measures the QR code through the ESP QR callback.
|
| QRCodeView * | cdc::ui::showQRCode (const char *data, const char *title, const char *subtitle, const char *hint) |
| | Shows a shared QR code view instance.
|
◆ DISPLAY_HEIGHT
◆ DISPLAY_WIDTH
Display dimensions for Gdey029T94 panel.
Definition at line 25 of file QRCodeView.cpp.
◆ QR_MARGIN
◆ TAG
| const char* TAG = "QRCodeView" |
|
static |
QRCodeView Implementation
QR code display with two-pass rendering for optimal sizing. Layout: QR on left, text on right.
Definition at line 20 of file QRCodeView.cpp.