#include <provider_bmp.h>
Inheritance diagram for CL_BMPProvider:


Public Methods | |
| CL_BMPProvider (std::string name, CL_InputSourceProvider *provider, bool transparent=false, short trans_col=-1) | |
| virtual | ~CL_BMPProvider () |
| param: name - Name of the bmp file to load.param: provider - Input source provider that delivers the bmp file.param: transparent - True if a color in image should be transparent.param: trans_col - Transparency color used if 'transparent' is true. Defaults to color 0. | |
| virtual unsigned int | get_pitch () const |
| virtual unsigned int | get_width () const |
| virtual unsigned int | get_height () const |
| virtual unsigned int | get_num_frames () const |
| retval: A pointer that points to the beginning of the target pixel data. | |
| virtual unsigned int | get_red_mask () const |
| virtual unsigned int | get_green_mask () const |
| virtual unsigned int | get_blue_mask () const |
| virtual unsigned int | get_alpha_mask () const |
| virtual unsigned int | get_depth () const |
| virtual CL_Palette* | get_palette () const |
| virtual bool | is_indexed () const |
| virtual bool | uses_src_colorkey () const |
| retval: The y-offset of the surface data. | |
| virtual unsigned int | get_src_colorkey () const |
| virtual void* | get_data () const |
| virtual void | perform_lock () |
| virtual void | perform_unlock () |
Static Public Methods | |
| CL_Surface* | create (std::string handle, CL_InputSourceProvider *provider, bool transparent=false, short trans_col=-1) |
Private Attributes | |
| CL_InputSourceProvider* | provider |
| bool | transparent |
| int | trans_col |
| std::string | name |
| char | magic [2] |
| unsigned int | bfSize |
| unsigned short | bfReserved1 |
| unsigned short | bfReserved2 |
| unsigned int | bfOffBits |
| unsigned int | biSize |
| int | biWidth |
| int | biHeight |
| unsigned short | biPlanes |
| unsigned short | biBitCount |
| unsigned int | biCompression |
| unsigned int | biSizeImage |
| int | biXPelsPerMeter |
| int | biYPelsPerMeter |
| unsigned int | biClrUsed |
| unsigned int | biClrImportant |
| CL_Palette* | palette |
| unsigned char* | image |
|
|
|
|
|
param: name - Name of the bmp file to load.param: provider - Input source provider that delivers the bmp file.param: transparent - True if a color in image should be transparent.param: trans_col - Transparency color used if 'transparent' is true. Defaults to color 0.
|
|
|
|
|
|
Reimplemented from CL_Target. |
|
|
Reimplemented from CL_Target. |
|
|
Reimplemented from CL_Target. Definition at line 106 of file provider_bmp.h. |
|
|
Reimplemented from CL_Target. |
|
|
Reimplemented from CL_Target. |
|
|
Reimplemented from CL_Target. Definition at line 81 of file provider_bmp.h. |
|
|
retval: A pointer that points to the beginning of the target pixel data.
Reimplemented from CL_Target. Definition at line 84 of file provider_bmp.h. |
|
|
Reimplemented from CL_Target. Definition at line 96 of file provider_bmp.h. |
|
|
Reimplemented from CL_Target. |
|
|
Reimplemented from CL_Target. |
|
|
Reimplemented from CL_SurfaceProvider. Definition at line 103 of file provider_bmp.h. |
|
|
Reimplemented from CL_Target. Definition at line 78 of file provider_bmp.h. |
|
|
Reimplemented from CL_Target. Definition at line 99 of file provider_bmp.h. |
|
|
Reimplemented from CL_SurfaceProvider_Generic. |
|
|
Reimplemented from CL_SurfaceProvider_Generic. |
|
|
retval: The y-offset of the surface data.
Reimplemented from CL_SurfaceProvider. Definition at line 101 of file provider_bmp.h. |
|
|
Definition at line 133 of file provider_bmp.h. |
|
|
Definition at line 131 of file provider_bmp.h. |
|
|
Definition at line 132 of file provider_bmp.h. |
|
|
Definition at line 130 of file provider_bmp.h. |
|
|
Definition at line 140 of file provider_bmp.h. |
|
|
Definition at line 146 of file provider_bmp.h. |
|
|
Definition at line 145 of file provider_bmp.h. |
|
|
Definition at line 141 of file provider_bmp.h. |
|
|
Definition at line 138 of file provider_bmp.h. |
|
|
Definition at line 139 of file provider_bmp.h. |
|
|
Definition at line 136 of file provider_bmp.h. |
|
|
Definition at line 142 of file provider_bmp.h. |
|
|
Definition at line 137 of file provider_bmp.h. |
|
|
Definition at line 143 of file provider_bmp.h. |
|
|
Definition at line 144 of file provider_bmp.h. |
|
|
Definition at line 150 of file provider_bmp.h. |
|
|
Definition at line 129 of file provider_bmp.h. |
|
|
Definition at line 121 of file provider_bmp.h. |
|
|
Definition at line 149 of file provider_bmp.h. |
|
|
Definition at line 116 of file provider_bmp.h. |
|
|
Definition at line 120 of file provider_bmp.h. |
|
|
Definition at line 119 of file provider_bmp.h. |
1.2.6 written by Dimitri van Heesch,
© 1997-2001