--- a/ui/qt/graphics.h Wed Mar 26 20:27:20 2025 +0100 +++ b/ui/qt/graphics.h Wed Mar 26 20:39:04 2025 +0100 @@ -37,31 +37,6 @@ #include <QColor> #include <QStaticText> -typedef struct UiQtGraphics { - UiGraphics g; - QPainter *painter; - QColor color; -} UiXlibGraphics; - -struct UiTextLayout { - QStaticText text; - QFont font; -}; - - -class DrawingArea : public QWidget { - Q_OBJECT - - UiObject *object; - ui_drawfunc drawCallback; - void *userdata; - -public: - DrawingArea(UiObject *obj, ui_drawfunc cb, void *data); - ~DrawingArea(); - - virtual void paintEvent(QPaintEvent * event); -}; #endif /* GRAPHICS_H */