Home | All Classes | Grouped Classes | Index | Search

CL_PCXProvider::CL_PCXProvider

Constructs a surface provider that can read pcx files.

	CL_PCXProvider(
		const std::string& name, CL_InputSourceProvider* provider = 0, bool transparent = false, unsigned char trans_col = 0);

Parameters:

name
Name of the pcx file to load.
provider
Input source provider that delivers the pcx file.
transparent
True if a color in image should be transparent.
trans_col
Transparency color used if 'transparent' is true. Defaults to color 0.

See also:

CL_PCXProvider



Questions or comments, write to the ClanLib mailing list.