Table of Contents


IMAGE_OBJ

Definition

struct IMAGE_OBJ
{
    SDL_Surface* _p_image;
    SDL_Rect _rc_image;
    RGB_SET _rgb_key;
    int _i_image_x;
    int _i_image_y;
    int _i_copies;
    bool _b_bound;
    bool _b_show;
};

Properties

_p_image the image surface
_rc_image the current image size properties
_rgb_key the RGB transparency key
_i_image_x the xpos of the image
_i_image_y the ypos of the image
_i_copies the numbe of image copies to render (not implemented yet)
_b_bound flag for whether teh image is bound to an object (button, sprite, etc)
_b_show whether the image is visible or not