# File gglib/theme.rb, line 107
  def setCoords(x1,y1,x2,y2)
    super(x1,y1,x2,y2)
    return if @image == -1
    if @state == 1
      $window.setTexture(@image, @x1, @y1, @x2, @y2, ZOrder::Widget, @klass.image.default)
    elsif @state == 2
      $window.setTexture(@image, @x1, @y1, @x2, @y2, ZOrder::Widget, @klass.image.over)
    elsif @state == 3
      $window.setTexture(@image, @x1, @y1, @x2, @y2, ZOrder::Widget, @klass.image.down)
    end
  end