18 #include <QtCore/QThread> 19 #include <QtCore/QString> 36 explicit Display(
const QString &mediaPath);
43 void setBackground(
const QString &color)
override;
44 void showImage(
const QString &fileName)
override;
46 void show(
const QVector<int32_t> &array,
int width,
int height,
const QString &format)
override;
48 void addLabel(
const QString &text,
int x,
int y)
override;
49 void removeLabels()
override;
51 void setPainterColor(
const QString &color)
override;
52 void setPainterWidth(
int penWidth)
override;
54 void drawLine(
int x1,
int y1,
int x2,
int y2)
override;
55 void drawPoint(
int x,
int y)
override;
56 void drawRect(
int x,
int y,
int width,
int height,
bool filled =
false)
override;
57 void drawEllipse(
int x,
int y,
int width,
int height,
bool filled =
false)
override;
58 void drawArc(
int x,
int y,
int width,
int height,
int startAngle,
int spanAngle)
override;
61 void clear()
override;
62 void reset()
override;
63 void redraw()
override;
66 const QString mMediaPath;
#define TRIKCONTROL_EXPORT
Definition: declSpec.h:23
Definition: trikCommunicator.h:27
Provides ability to draw something on robot display.
Definition: displayInterface.h:28
Works in GUI thread and is responsible for all output to display.
Definition: guiWorker.h:38
var x
Definition: file-test.js:2
Implementation of display interface for real robot.
Definition: display.h:28
var y
Definition: file-test.js:5