A somewhat working state, but still struggeling with pangocairo
Some checks failed
Build ptprnt / build (push) Failing after 39s
Some checks failed
Build ptprnt / build (push) Failing after 39s
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user