--- a/ui/qt/graphics.h Tue Feb 25 21:11:00 2025 +0100 +++ b/ui/qt/graphics.h Sat Apr 05 16:46:11 2025 +0200 @@ -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 */