Logo Search packages:      
Sourcecode: berusky version File versions  Download package

Public Member Functions | Static Public Member Functions | Private Attributes | Static Private Attributes

surface Class Reference

List of all members.

Public Member Functions

void blit (class surface *p_dst, tpos tx, tpos ty)
void blit (tpos sx, tpos sy, tpos dx, tpos dy, class surface *p_dst, tpos tx, tpos ty)
void ckey_set (tcolor color)
void ckey_set (trgbcomp r, trgbcomp g, trgbcomp b)
tcolor color_map (Uint8 r, Uint8 g, Uint8 b)
void copy (class surface *p_src, bool deep_copy=false)
void dec_ref (void)
void fill (tpos x, tpos y, tpos dx, tpos dy, tcolor color)
void fill (tcolor color)
void free (void)
void inc_ref (void)
bool is_loaded (void)
void load (char *p_file)
RECT rect_get (void)
void size_get (tpos *p_dx, tpos *p_dy)
SDL_Surface * surf_get (void)
tpos surf_get_dx (void)
tpos surf_get_dy (void)
 surface (char *p_file)
 surface (SDL_Surface *p_surf_, int used_=0)
 surface (class surface *p_src, bool deep_copy=false)
 surface (class surface &src, bool deep_copy=false)
tcount used_get (void)

Static Public Member Functions

static const char * graphics_dir_get (void)
static void graphics_dir_set (char *p_dir)

Private Attributes

SDL_Surface * p_surf
tcount used

Static Private Attributes

static char graphics_dir [MAX_FILENAME] = ""

Detailed Description

Definition at line 121 of file 2d_graph.h.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index