]> de.git.xonotic.org Git - xonotic/xonstat.git/blobdiff - xonstat/batch/badges/gen_badges.py
More design work on the two badge themes; also improved skin support
[xonotic/xonstat.git] / xonstat / batch / badges / gen_badges.py
index 0cd17a34701caf5383dc22d021e096d161641c41..82620b26e4e4ef90aec6161c4b31ee431962d81d 100644 (file)
@@ -21,7 +21,7 @@ DELTA = 6
 
 # classic skin WITHOUT NAME - writes PNGs into "output//###.png"
 skin_classic = Skin( "",
-        bg              = "asfalt",
+        bg              = "broken_noise",
         overlay         = "overlay_classic",
     )
 
@@ -47,11 +47,11 @@ skin_minimal = Skin( "minimal",
         gametype_text   = "%s:",
         gametype_width  = 96,
         gametype_fontsize = 10,
-        gametype_center = False,
+        gametype_align  = -1,
         elo_pos         = (82,30),
         elo_text        = "Elo %.0f",
         elo_color       = (0.7, 0.7, 0.7),
-        elo_center      = False,
+        elo_align       = 1,
         rank_pos        = None,
         nostats_pos     = (82,30),
         nostats_fontsize = 10,
@@ -61,16 +61,16 @@ skin_minimal = Skin( "minimal",
         nostats_center  = False,
         kdr_pos         = (392,15),
         kdr_fontsize    = 10,
-        kdr_colortop    = (0.1, 0.8, 0.1),
-        kdr_colormid    = (0.6, 0.6, 0.1),
-        kdr_colorbot    = (0.8, 0.1, 0.1),
+        kdr_colortop    = (0.6, 0.8, 0.6),
+        kdr_colormid    = (0.6, 0.6, 0.6),
+        kdr_colorbot    = (0.8, 0.6, 0.6),
         kills_pos       = None,
         deaths_pos      = None,
         winp_pos        = (508,15),
         winp_fontsize   = 10,
-        winp_colortop   = (0.1, 0.6, 0.6),
-        winp_colormid   = (0.2, 0.6, 0.2),
-        winp_colorbot   = (0.6, 0.6, 0.1),
+        winp_colortop   = (0.6, 0.8, 0.8),
+        winp_colormid   = (0.6, 0.6, 0.6),
+        winp_colorbot   = (0.8, 0.8, 0.6),
         wins_pos        = None,
         loss_pos        = None,
         ptime_pos       = (451,30),