text = sprintf("%02d:%02d:%02d", hour, min, sec)
self.contents.font.color = normal_color
#--------------------------------------------------------------------------
# ● 获取普通文字色
#--------------------------------------------------------------------------
def normal_color
return Color.new(255, 255, 255, 255)
end
#--------------------------------------------------------------------------
# ● 获取普通文字色
#--------------------------------------------------------------------------
def normal_color
return Color.new(255, 255, 255, 255)
end
def new_color
return Color.new(0, 0, 0, 255)
end
text = sprintf("%02d:%02d:%02d", hour, min, sec)
self.contents.font.color = new_color
self.contents.draw_text(4, 0, 120, 26, "步数")
self.contents.font.color = normal_color
# 再描绘文本
self.contents.clear
self.contents.font.color = normal_color
@playtime_window = Window_PlayTime.new
@steps_window = Window_Steps.new
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |