![]() | |
![]() | ![]() |
Entire Class Index | Main Class Index | Cross Index | Global Index |
Surface provider that can load PCX files.
Contained in: global
Derived from:
CL_SurfaceProvider_Generic
Derived by:
none
Group: Display (Surface Providers)
#include <ClanLib/display.h>
public function member index: |
||
Construction: |
||
static CL_Surface* | create | (std::string handle, CL_InputSourceProvider* provider, bool transparent=false, unsigned char trans_col=0); |
CL_PCXProvider | (std::string name, CL_InputSourceProvider* provider, bool transparent=false, unsigned char trans_col=0); | |
virtual | ~CL_PCXProvider | (); |
Attributes: |
||
virtual unsigned int | get_pitch | () const; |
virtual int | get_translate_x | () const; |
virtual int | get_translate_y | () const; |
virtual unsigned int | get_width | () const; |
virtual unsigned int | get_height | () const; |
virtual unsigned int | get_num_frames | () const; |
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; |
virtual unsigned int | get_src_colorkey | () const; |
virtual void* | get_data | () const; |
Operations: |
||
virtual void | perform_lock | (); |
virtual void | perform_unlock | (); |
virtual void | read_header | (CL_InputSource* _datafile); |
virtual void | read_data | (); |
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.