A somewhat working state, but still struggeling with pangocairo
Some checks failed
Build ptprnt / build (push) Failing after 39s

This commit is contained in:
2023-11-12 12:26:19 +01:00
parent 9a1aee6658
commit ed77d34f1c
3 changed files with 72 additions and 5 deletions

View File

@@ -28,6 +28,7 @@
#include "CLI/Option.hpp"
#include "P700Printer.hpp"
#include "graphics/Bitmap.hpp"
#include "graphics/Image.hpp"
#include "libusbwrap/UsbDeviceFactory.hpp"
namespace ptprnt {
@@ -84,7 +85,10 @@ int PtouchPrint::run() {
//printer->printText("wurst", 1);
for (auto& cmd : mCommands) {
std::cout << cmd.second << std::endl;
if (cmd.first == CliCmdType::Text) {
auto label{graphics::Image()};
label.createLabel(cmd.second);
}
}
return 0;