2022-01-03 22:48:19 +01:00
|
|
|
#ifndef RENDERCONFIG_H
|
|
|
|
#define RENDERCONFIG_H
|
|
|
|
#include <QVector>
|
2022-05-17 19:20:06 +02:00
|
|
|
#include <QDataStream>
|
2022-01-03 22:48:19 +01:00
|
|
|
|
|
|
|
struct RenderConfig
|
|
|
|
{
|
|
|
|
double scaleX = 50 / 100.;
|
|
|
|
double scaleY = scaleX;
|
|
|
|
QVector<QString> wordsToHighlight;
|
2022-05-17 19:20:06 +02:00
|
|
|
friend QDataStream &operator<<(QDataStream &out, const RenderConfig &rc);
|
|
|
|
friend QDataStream &operator>>(QDataStream &in, RenderConfig &rc);
|
2022-01-03 22:48:19 +01:00
|
|
|
};
|
|
|
|
|
2022-05-17 19:20:06 +02:00
|
|
|
QDataStream &operator<<(QDataStream &out, const RenderConfig &rc);
|
|
|
|
QDataStream &operator>>(QDataStream &in, RenderConfig &rc);
|
2022-01-03 22:48:19 +01:00
|
|
|
#endif // RENDERCONFIG_H
|