# File gglib/ext/themes.rb, line 24
  def request(obj)
    if @@button == nil #Can't initialize at global scope because $window may not have been set
      @@button = ImageTheme.new(
                          "BlueSteel.Button", 
                          DefaultFontGroup, 
                          ThemeImageGroup.new( 
                            $gglroot+"/media/bluesteel/button/button.png", 
                            $gglroot+"/media/bluesteel/button/buttonup.png", 
                            $gglroot+"/media/bluesteel/button/buttondown.png" 
                          )
                        )
      @@textbox = ImageTheme.new(
                            "BlueSteel.TextBox", 
                            DefaultFontGroup, 
                            ThemeImageGroup.new( 
                              $gglroot+"/media/bluesteel/textbox/textbox.png", 
                              $gglroot+"/media/bluesteel/textbox/textboxactive.png" , 
                              $gglroot+"/media/bluesteel/textbox/textboxactive.png" 
                            )
                          )
      @@label = ImageTheme.new(
                        "BlueSteel.Label", 
                        DefaultFontGroup, 
                        ThemeImageGroup.new( $gglroot+"/null.png", $gglroot+"/null.png" , $gglroot+"/null.png" ) 
                      )
      @@checkbox = ImageTheme.new(
                              "BlueSteel.CheckBox.Unchecked", 
                              DefaultFontGroup, 
                              ThemeImageGroup.new( 
                                $gglroot+"/media/bluesteel/checkbox/checkbox.png", 
                                $gglroot+"/media/bluesteel/checkbox/checkboxup.png",
                                $gglroot+"/media/bluesteel/checkbox/checkboxdown.png"
                              )
                            )
      @@checkboxc = ImageTheme.new(
                                "BlueSteel.CheckBox.Checked", 
                                DefaultFontGroup, 
                                ThemeImageGroup.new( 
                                  $gglroot+"/media/bluesteel/checkbox/checkboxc.png", 
                                  $gglroot+"/media/bluesteel/checkbox/checkboxcup.png",
                                  $gglroot+"/media/bluesteel/checkbox/checkboxcdown.png"
                                )
                              )
      @@radiobtn = ImageTheme.new(
                            "BlueSteel.RadioButton.Unchecked", 
                            DefaultFontGroup, 
                            ThemeImageGroup.new( 
                              $gglroot+"/media/bluesteel/radio/radiobtn.png", 
                              $gglroot+"/media/bluesteel/radio/radiobtnup.png",
                              $gglroot+"/media/bluesteel/radio/radiobtndown.png"
                            )
                          )
      @@radiobtnc = ImageTheme.new(
                              "BlueSteel.RadioButton.Checked", 
                              DefaultFontGroup, 
                              ThemeImageGroup.new( 
                                $gglroot+"/media/bluesteel/radio/radiobtnc.png", 
                                $gglroot+"/media/bluesteel/radio/radiobtncup.png",
                                $gglroot+"/media/bluesteel/radio/radiobtncdown.png"
                              )
                            )
    end
    if obj.kind_of?(Button)
      return @@button
    elsif obj.kind_of?(TextBox)
      return @@textbox
    elsif obj.kind_of?(Label)
      return @@label
    elsif obj.kind_of?(CheckBox)
      return @@checkbox
    elsif obj.kind_of?(CheckBox::CheckedHk)
      return @@checkboxc
    elsif obj.kind_of?(RadioButton)
      return @@radiobtn
    elsif obj.kind_of?(RadioButton::CheckedHk)
      return @@radiobtnc
    end
    return self
  end