Sha256: f89708a72029c4aec4375301b96f0db3430a061c59312fa9b24799aa99e2af47

Contents?: true

Size: 1.41 KB

Versions: 5

Compression:

Stored size: 1.41 KB

Contents

module Fox
  #
  # ICO icon
  #
  class FXICOIcon < FXIcon
    #
    # Return an initialized FXICOIcon instance.
    #
    # ==== Parameters:
    #
    # +a+::	an application instance [FXApp]
    # +pix+::	a memory buffer formatted in ICO file format [String]
    # +clr+::	transparency color [FXColor]
    # +opts+::	options [Integer]
    # +w+::	width [Integer]
    # +h+::	height [Integer]
    #
    def initialize(a, pix=nil, clr=0, opts=0, w=1, h=1) # :yields: theICOIcon
    end
  end

  #
  # Load a ICO file from _store_ (an FXStream instance).
  # On success, returns an array whose elements are the image data (a String),
  # transparency color, icon width, icon height, and the icon hotspot
  # x and y coordinates. If the operation fails, this method returns +nil+.
  #
  # ==== Parameters:
  #
  # +store+::	stream from which to read the file data [FXStream]
  #
  def Fox.fxloadICO(store); end

  #
  # Save a ICO image to _store_ (an FXStream instance).
  # Returns +true+ on success, +false+ on failure.
  #
  # ==== Parameters:
  #
  # +store+::	stream to which to write the image data [FXStream]
  # +pixels+::	the image pixel data [String]
  # +transp+::	transparency color [FXColor]
  # +width+::	width [Integer]
  # +height+::	height [Integer]
  # +xspot+::	hotspot x-coordinate [Integer]
  # +yspot+::	hotspot y-coordinate [Integer]
  #
  def Fox.fxsaveICO(store, pixels, transp, width, height, xspot=-1, yspot=-1); end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fxruby-1.2.2 rdoc-sources/FXICOIcon.rb
fxruby-1.2.3 rdoc-sources/FXICOIcon.rb
fxruby-1.2.4 rdoc-sources/FXICOIcon.rb
fxruby-1.2.5 rdoc-sources/FXICOIcon.rb
fxruby-1.2.6 rdoc-sources/FXICOIcon.rb