more consistent display of player name
[multypo.git] / qt / player.h
index 3817866e14641d36b790ad35d1fc14a473fdd095..cb628cc4d40e52990fe08aa7dceac593888ae05f 100644 (file)
@@ -4,6 +4,11 @@
 #include <QString>
 #include <QLabel>
 
+#define BASE_COLOR "green"
+#define READY_COLOR "orange"
+#define BASE_SIZE "45pt"
+#define SMALL_SIZE "25pt"
+
 class Player
 {
 public:
@@ -31,7 +36,7 @@ private:
     
     State state;
     
-    void updateLabel();
+    void setLabel(QString body, QString color);
 };
 
 #endif // PLAYER_H