Codebase list ruby-fxruby / master rdoc-sources / FXXBMIcon.rb
master

Tree @master (Download .tar.gz)

FXXBMIcon.rb @masterraw · history · blame

module Fox
  #
  # X Bitmap (XBM) Icon
  #
  class FXXBMIcon < FXIcon
    #
    # Return the suggested file extension for this image type ("xbm").
    #
    def FXXBMIcon.fileExt; end

    #
    # Return the MIME type for this image type
    #
    def FXXBMIcon.mimeType; end

    #
    # Return an initialized FXXBMIcon instance.
    #
    # ==== Parameters:
    #
    # +a+::  an application instance {FXApp}
    # +pixels+:: a memory buffer formatted in XBM file format [String]
    # +mask+::  a memory buffer formatted in XBM file format [String]
    # +clr+::  transparency color {FXColor}
    # +opts+::  options [Integer]
    # +width+::  width [Integer]
    # +height+::  height [Integer]
    #
    def initialize(a, pixels=nil, mask=nil, clr=0, opts=0, width=1, height=1) # :yields: theXBMIcon
    end
  end

  #
  # Return +true+ if _store_ (an FXStream instance) contains an XBM image.
  #
  def Fox.fxcheckXBM(store); end
end