word wrap - part 1 and 2

This commit is contained in:
Fournier Gabriel
2020-11-21 19:29:46 +01:00
parent 5b21c57e4c
commit 3e2b5178ed
20 changed files with 254 additions and 15 deletions

View File

@@ -0,0 +1,21 @@
#include "read_book_controller.h"
namespace reader
{
ReadBookController::ReadBookController(Responder * parentResponder) :
ViewController(parentResponder)
{
}
View * ReadBookController::view()
{
return &m_readerView;
}
void ReadBookController::setBook(const External::Archive::File& file)
{
m_readerView.setText(reinterpret_cast<const char*>(file.data));
}
}