Class Fox::FXBMPIcon
In: rdoc-sources/FXBMPIcon.rb
Parent: FXIcon

The BMP Icon class is a convenience class for working with icons in the Microsoft Bitmap (.bmp) graphics file format. This makes it possible to use resources created with Windows development tools inside FOX without need for graphics file format translators. The bitmap loaded handles 1, 4, and 8 bit paletted bitmaps, 16 and 24 bit RGB bitmaps, and 32 bit RGBA bitmaps.

Methods

fileExt   mimeType   new  

Public Class methods

Return the suggested file extension for this image type ("bmp").

Return the MIME type for this image type

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]
width:width [Integer]
height:height [Integer]

[Validate]