class Window_Location < Window_Base #-------------------------------------------------------------------------- def initialize super(0, 0, 640, 480) #super(0, 0, 160, 96) self.contents = Bitmap.new(width - 32, height - 32) self.contents.font.name = $fontface self.contents.font.size = $fontsize refresh end #-------------------------------------------------------------------------- def refresh self.contents.clear self.contents.font.color = Color.new(255, 0, 0, 255) #self.contents.font.color = normal_color self.contents.draw_text(200, 0, 120, 32,$data_mapzone[$game_map.map_id][1], 2) end end
|