rendered paste body#======================================================================
# ~My window test Script~
# ~By: Necrile
#======================================================================
class Test_Window < Window_Base
#--------------------------------------------------------------------------
# * Object Initialization
#--------------------------------------------------------------------------
def initialize
super(0, 0, 0, 64)
self.contents = Bitmap.new(width - 70, height - 70)
refresh
end
#--------------------------------------------------------------------------
# * Refresh
#--------------------------------------------------------------------------
def refresh
self.contents.clear
cx = contents.text_size($data_system.words.gold).width
self.contents.font.color = normal_color
self.contents.draw_text(4, 0, 120-cx-2, 32, "Yay!!!!", 2)
self.contents.font.color = system_color
self.contents.draw_text(124-cx, 0, cx, 32, "Test", 2)
end
end