diff options
Diffstat (limited to 'Boot/BootKit')
| -rw-r--r-- | Boot/BootKit/Vendor/Qr.hxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Boot/BootKit/Vendor/Qr.hxx b/Boot/BootKit/Vendor/Qr.hxx index 3616aaac..d1820330 100644 --- a/Boot/BootKit/Vendor/Qr.hxx +++ b/Boot/BootKit/Vendor/Qr.hxx @@ -1,6 +1,7 @@ #ifndef QR_HXX #define QR_HXX +#include "BootKit/BootKit.hxx" extern "C" { #include <math.h> #include <stddef.h> @@ -369,6 +370,11 @@ namespace qr if (!this->status) return false; // it may be invalid. + BTextWriter writer; + writer.Write(L"Printing QR-code...\r"); + + CGInit(); + for (int y = 0; y < (this->side_size()); ++y) { for (int x = 0; x < (this->side_size()); ++x) @@ -380,6 +386,8 @@ namespace qr } } + CGFini(); + return false; } |
