diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-08-19 16:03:57 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-08-19 16:03:57 +0200 |
commit | 2604f92d412aa40e1441df861158a864e29ee96c (patch) | |
tree | 2ce2ac3e156b5b15fe8bd7f5a24af56b36c525ab /src/corelib/fpg_stdimages.pas | |
parent | 8929fb48b74c3b7ae60a7b0809fa21751d981e64 (diff) | |
download | fpGUI-2604f92d412aa40e1441df861158a864e29ee96c.tar.xz |
Fixed preloading of new Arrow images.
* I forgot this in the previous patch. New arrow images are
masked.
Diffstat (limited to 'src/corelib/fpg_stdimages.pas')
-rw-r--r-- | src/corelib/fpg_stdimages.pas | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/corelib/fpg_stdimages.pas b/src/corelib/fpg_stdimages.pas index 2682ce3f..d62ef77c 100644 --- a/src/corelib/fpg_stdimages.pas +++ b/src/corelib/fpg_stdimages.pas @@ -72,25 +72,25 @@ procedure fpgCreateStandardImages; begin // system images. Change these to the composite arrow bmp that includes // disabled state - fpgImages.AddBMP( + fpgImages.AddMaskedBMP( // 7x4 image 'sys.sb.up', @stdimg_arrow_up, - sizeof(stdimg_arrow_up)); + sizeof(stdimg_arrow_up), 0, 0); - fpgImages.AddBMP( + fpgImages.AddMaskedBMP( // 7x4 image 'sys.sb.down', @stdimg_arrow_down, - sizeof(stdimg_arrow_down)); + sizeof(stdimg_arrow_down), 0, 3); - fpgImages.AddBMP( + fpgImages.AddMaskedBMP( // 4x7 image 'sys.sb.left', @stdimg_arrow_left, - sizeof(stdimg_arrow_left)); + sizeof(stdimg_arrow_left), 0, 0); - fpgImages.AddBMP( + fpgImages.AddMaskedBMP( // 4x7 image 'sys.sb.right', @stdimg_arrow_right, - sizeof(stdimg_arrow_right)); + sizeof(stdimg_arrow_right), 3, 0); fpgImages.AddMaskedBMP( // 60x12 in total. 5 images of 12x12 each. 'sys.radiobuttons', |