Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Cosmetics.
[graphlib.git] / DrawingWindow.h
index f8e42bd..5bb8cb5 100644 (file)
@@ -44,8 +44,8 @@ public:
     void setBgColor(const char *name);
     void setBgColor(float red, float green, float blue);
 
-    const QFontgetFont() const;
-    void setFont(const QFontfont);
+    const QFont &getFont() const;
+    void setFont(const QFont &font);
 
     void clearGraph();
 
@@ -108,8 +108,8 @@ private:
 
     void initialize(ThreadFunction fun);
 
-    void setColor(const QColorcolor);
-    void setBgColor(const QColorcolor);
+    void setColor(const QColor &color);
+    void setBgColor(const QColor &color);
     QColor getColor();
     QColor getBgColor();