]> de.git.xonotic.org Git - xonotic/xonstat.git/blobdiff - xonstat/batch/badges/gen_badges.py
Merge branch 'badges' into approved
[xonotic/xonstat.git] / xonstat / batch / badges / gen_badges.py
index 82620b26e4e4ef90aec6161c4b31ee431962d81d..0aa3f6014f28ced6956835d349b909925e9e77e6 100644 (file)
@@ -42,23 +42,24 @@ skin_minimal = Skin( "minimal",
         nick_pos        = (36,16),
         num_gametypes   = 3,
         nick_maxwidth   = 300,
-        gametype_pos    = (78,30),
+        gametype_pos    = (70,30),
         gametype_color  = (0.0, 0.0, 0.0),
         gametype_text   = "%s:",
-        gametype_width  = 96,
+        gametype_width  = 100,
         gametype_fontsize = 10,
         gametype_align  = -1,
-        elo_pos         = (82,30),
+        gametype_upper  = False,
+        elo_pos         = (75,30),
         elo_text        = "Elo %.0f",
         elo_color       = (0.7, 0.7, 0.7),
         elo_align       = 1,
         rank_pos        = None,
-        nostats_pos     = (82,30),
-        nostats_fontsize = 10,
-        nostats_angle   = 0,
-        nostats_text    = "no stats!",
-        nostats_color   = (0.7, 0.4, 0.4),
-        nostats_center  = False,
+        nostats_pos     = None,
+        #nostats_pos     = (75,30),
+        #nostats_fontsize = 10,
+        #nostats_angle   = 0,
+        #nostats_text    = "no stats yet!",
+        #nostats_color   = (0.7, 0.4, 0.4),
         kdr_pos         = (392,15),
         kdr_fontsize    = 10,
         kdr_colortop    = (0.6, 0.8, 0.6),
@@ -112,7 +113,6 @@ for arg in sys.argv[1:]:
 if len(skins) == 0:
     skins = [ skin_classic, skin_minimal ]
 
-
 # environment setup
 env = bootstrap('../../../development.ini')
 req = env['request']