#==============================================================================
# ** Window_DualScreen
#------------------------------------------------------------------------------
# This is for the Dual Screen.
#==============================================================================
class Window_DualScreen < Window
#----------------------------------------------------------------------------
# * Object Initialization
# width : window width
# height : screen 1
#----------------------------------------------------------------------------
def initialize (width, hight)
self.width = 192
self.height = 256
self.z = 100
end
#----------------------------------------------------------------------------
# * Object Initialization
# width : window width
# height : bar height
#----------------------------------------------------------------------------
def initialize (width, height)
self.width = 192
self.height = 16
self.z = 100
end
#----------------------------------------------------------------------------
# * Object Initialization
# width : window width
# height : window height
#----------------------------------------------------------------------------
def initialize (width, height)
super()
@windowskin_name = $game_system.background_version_one
self.windowskin = RPG::Cache.windowskin(@background_version_one)
self.width = 192
self.height = 256
self.z = 100
end
#----------------------------------------------------------------------------
# * Object Intialization
# x : window x-coordinate
# y : window y-coordinate
# width : width
# height : height
#----------------------------------------------------------------------------
def initialize (x, y, width, height)
super()
self.x = x
self.y = y
self.width = width
self.height = height
self.z = 100
end
#--------------------------------------------------------------------------
# * Get Text Color
# n : text color number (0-7)
#--------------------------------------------------------------------------
def text_color(n)
case n
when 0
return Color.new(255, 255, 255, 255)
when 1
return Color.new(128, 128, 255, 255)
when 2
return Color.new(255, 128, 128, 255)
when 3
return Color.new(128, 255, 128, 255)
when 4
return Color.new(128, 255, 255, 255)
when 5
return Color.new(255, 128, 255, 255)
when 6
return Color.new(255, 255, 128, 255)
when 7
return Color.new(192, 192, 192, 255)
else
normal_color
end
end
#--------------------------------------------------------------------------
# * Get Normal Text Color
#--------------------------------------------------------------------------
def normal_color
return Color.new(255, 255, 255, 255)
end
#--------------------------------------------------------------------------
# * Get Disabled Text Color
#--------------------------------------------------------------------------
def disabled_color
return Color.new(255, 255, 255, 128)
end
end