Skip to content
Snippets Groups Projects
FXPPMIcon.rb 867 B
Newer Older
  • Learn to ignore specific revisions
  • module Fox
      #
      # Portable Pixmap (PPM) icon class.
      #
      class FXPPMIcon < FXIcon
        #
        # Return the suggested file extension for this image type ("ppm").
        #
        def FXPPMIcon.fileExt; end
        
        #
        # Return the MIME type for this image type
        #
        def FXPPMIcon.mimeType; end
    
        #
        # Return an initialized FXPPMIcon instance.
        #
        # ==== Parameters:
        #
        # +a+::	an application instance [FXApp]
        # +pix+::	a memory buffer formatted in PPM file format [String]
        # +clr+::	transparency color [FXColor]
        # +opts+::	options [Integer]
        # +width+::	width [Integer]
        # +height+::	height [Integer]
        #
        def initialize(a, pix=nil, clr=0, opts=0, width=1, height=1) # :yields: thePPMIcon
        end
      end
      
      #
      # Return +true+ if _store_ (an FXStream instance) contains a PPM image.
      #
      def Fox.fxcheckPPM(store); end
    end