diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-04-16 12:16:01 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-04-16 12:16:01 +0200 |
commit | 9ed698a3b2232566c3f6e2c605fdc543e98ef4ad (patch) | |
tree | 0275ed452db23c208c40f45f6cca57570be2c2d2 | |
parent | 2fec6c6948b18f1f1b87a1294dd43a0d1c1a961d (diff) | |
download | fpGUI-9ed698a3b2232566c3f6e2c605fdc543e98ef4ad.tar.xz |
new standard image: ellipse
Using this instead of the text '...' allow developer to center
the ellipse on a button.
-rw-r--r-- | images/ellipse.bmp | bin | 0 -> 182 bytes | |||
-rw-r--r-- | src/corelib/fpg_stdimages.pas | 5 | ||||
-rw-r--r-- | src/corelib/stdimages.inc | 14 |
3 files changed, 19 insertions, 0 deletions
diff --git a/images/ellipse.bmp b/images/ellipse.bmp Binary files differnew file mode 100644 index 00000000..06fd71fe --- /dev/null +++ b/images/ellipse.bmp diff --git a/src/corelib/fpg_stdimages.pas b/src/corelib/fpg_stdimages.pas index 035f6153..5c4790c1 100644 --- a/src/corelib/fpg_stdimages.pas +++ b/src/corelib/fpg_stdimages.pas @@ -102,6 +102,11 @@ begin @stdimg_checkboxes, sizeof(stdimg_checkboxes)); + fpgImages.AddMaskedBMP( + 'stdimg.ellipse', + @stdimg_ellipse, + sizeof(stdimg_ellipse), 0,0); + // General purpose images: fpgImages.AddMaskedBMP( diff --git a/src/corelib/stdimages.inc b/src/corelib/stdimages.inc index de1747ba..ac3597a9 100644 --- a/src/corelib/stdimages.inc +++ b/src/corelib/stdimages.inc @@ -1018,6 +1018,20 @@ Const 0,224, 0, 0, 0); Const + stdimg_ellipse : Array[0..181] of byte = ( + 66, 77,182, 0, 0, 0, 0, 0, 0, 0, 54, 0, 0, 0, 40, 0, 0, + 0, 10, 0, 0, 0, 4, 0, 0, 0, 1, 0, 24, 0, 0, 0, 0, 0, + 128, 0, 0, 0, 19, 11, 0, 0, 19, 11, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0,255, 0,229,255, 0,229,255, 0,229,255, 0,229,255, 0, + 229,255, 0,229,255, 0,229,255, 0,229,255, 0,229,255, 0,229, 0, + 0,255, 0,229, 0, 0, 0, 0, 0, 0,255, 0,229, 0, 0, 0, 0, + 0, 0,255, 0,229, 0, 0, 0, 0, 0, 0,255, 0,229, 0, 0,255, + 0,229, 0, 0, 0, 0, 0, 0,255, 0,229, 0, 0, 0, 0, 0, 0, + 255, 0,229, 0, 0, 0, 0, 0, 0,255, 0,229, 0, 0,255, 0,229, + 255, 0,229,255, 0,229,255, 0,229,255, 0,229,255, 0,229,255, 0, + 229,255, 0,229,255, 0,229,255, 0,229, 0, 0); + +Const stdimg_refresh_16 : Array[0..821] of byte = ( 66, 77, 54, 3, 0, 0, 0, 0, 0, 0, 54, 0, 0, 0, 40, 0, 0, 0, 16, 0, 0, 0, 16, 0, 0, 0, 1, 0, 24, 0, 0, 0, 0, 0, |