Sha256: eb43b9d7a94ece85974af44fa906a44871f0387c610b2e302f9b4118a4e80c13
Contents?: true
Size: 1.25 KB
Versions: 5
Compression:
Stored size: 1.25 KB
Contents
module Fox # Microsoft Bitmap icon class FXBMPIcon < FXIcon # # Return an initialized FXBMPIcon instance. # # ==== Parameters: # # +a+:: an application instance [FXApp] # +pix+:: a memory buffer formatted in BMP file format [String] # +clr+:: transparency color [FXColor] # +opts+:: options [Integer] # +w+:: width [Integer] # +h+:: height [Integer] # def initialize(a, pix=nil, clr=FXRGB(192,192,192), opts=0, w=1, h=1) # :yields: theBMPIcon end end # # Load a BMP file from a stream. # If successful, returns an array containing the image pixel data (as a # String), the transparency color, the image width and the image height. # If it fails, the function returns +nil+. # # ==== Parameters: # # +store+:: stream from which to read the file data [FXStream] # def Fox.fxloadBMP(store); end # # Save a BMP image to a stream. # Returns +true+ on success, +false+ on failure. # # ==== Parameters: # # +store+:: stream to which to write the image data [FXStream] # +data+:: the image pixel data [String] # +transp+:: transparency color [FXColor] # +width+:: width [Integer] # +height+:: height [Integer] # def Fox.fxsaveBMP(store, data, transp, width, height); end end
Version data entries
5 entries across 5 versions & 1 rubygems