修改两处在GC.DO里使用print,防止更换字体后明显不对齐

This commit is contained in:
MrZ626
2021-08-29 23:25:38 +08:00
parent 1c25138eaf
commit 3db2a4b30d
2 changed files with 9 additions and 9 deletions

View File

@@ -517,17 +517,17 @@ end
local ws_deadImg=GC.DO{20,20,
{'setFT',20},
{'setCL',1,.3,.3},
{'print',"X",3,-1},
{'mText',"X",11,-1},
}
local ws_connectingImg=GC.DO{20,20,
{'setFT',20},
{'setLW',3},
{'print',"C",3,-1},
{'mText',"C",11,-1},
}
local ws_runningImg=GC.DO{20,20,
{'setFT',20},
{'setCL',.5,1,0},
{'print',"R",3,-1},
{'mText',"R",11,-1},
}
local cursorImg=GC.DO{16,16,
{'fCirc',8,8,4},

View File

@@ -174,7 +174,7 @@ TEXTURE.question=GC.DO{50,50,
{'setLW',3},
{'dCirc',25,25,22},
{'setFT',40},
{'print','?',17,-2},
{'mText','?',26,-1},
}
--More mark
@@ -222,11 +222,11 @@ TEXTURE.game={
--Replay speed buttons
TEXTURE.rep={
rep0=GC.DO{50,50,{'fRect',11,8,8,34},{'fRect',31,8,8,34}},
repP8=GC.DO{50,50,{'setFT',15},{'print',"0.125x",0,15}},
repP2=GC.DO{50,50,{'setFT',25},{'print',"0.5x",0,8}},
rep1=GC.DO{50,50,{'setFT',30},{'print',"1x",7,3}},
rep2=GC.DO{50,50,{'setFT',30},{'print',"2x",7,3}},
rep5=GC.DO{50,50,{'setFT',30},{'print',"5x",7,3}},
repP8=GC.DO{50,50,{'setFT',15},{'mText',"0.125x",25,15}},
repP2=GC.DO{50,50,{'setFT',25},{'mText',"0.5x",25,8}},
rep1=GC.DO{50,50,{'setFT',30},{'mText',"1x",25,3}},
rep2=GC.DO{50,50,{'setFT',30},{'mText',"2x",25,3}},
rep5=GC.DO{50,50,{'setFT',30},{'mText',"5x",25,3}},
step=GC.DO{50,50,{'setFT',30},{'fRect',12,7,4,36},{'setLW',4},{'line',25,14,41,25,25,36}},
}