Logo
Explore Help
Sign In
cottongin/crosspoint-reader-mod
1
1
Fork 0
You've already forked crosspoint-reader-mod
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
128eb614a6a424ef0bbb53dce8f97ebcc79520b8
crosspoint-reader-mod/src/util/QrUtils.h

15 lines
329 B
C
Raw Normal View History

feat: Current page as QR (#1099) ## Summary * **What is the goal of this PR?** Implements QR text of the current page * **What changes are included?** ## Additional Context I saw this feature request at #982 It made sense to me so I implemented. But if the team thinks it is not necessary please let me know and we can close the PR. | Page | Menu | QR | |------|-------|----| | ![IMG_6601.bmp](https://github.com/user-attachments/files/25473201/IMG_6601.bmp) | ![IMG_6599.bmp](https://github.com/user-attachments/files/25473202/IMG_6599.bmp) | ![IMG_6600.bmp](https://github.com/user-attachments/files/25473205/IMG_6600.bmp) | --- ### AI Usage Did you use AI tools to help write this code? _** YES --------- Co-authored-by: Eliz Kilic <elizk@google.com>
2026-02-25 09:12:31 +00:00
#pragma once
#include <GfxRenderer.h>
#include <string>
#include "components/themes/BaseTheme.h"
namespace QrUtils {
// Renders a QR code with the given text payload within the specified bounding box.
void drawQrCode(const GfxRenderer& renderer, const Rect& bounds, const std::string& textPayload);
} // namespace QrUtils
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 35ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API