20 #ifndef PAWS_FRAME_DRAWABLE    21 #define PAWS_FRAME_DRAWABLE    32     enum FRAME_DRAWABLE_PIECE
    47     struct pawsFrameDrawablePiece
    49         csRef<iPawsImage> drawable;
    53     pawsFrameDrawablePiece pieces[FDP_COUNT];
    55     enum FRAME_DRAWABLE_TYPE
    63     FRAME_DRAWABLE_TYPE type;
    66     csString imageFileLocation;
    69     csString resourceName;
    72     int      defaultAlphaValue;
    75     int      defaultTransparentColourRed;
    76     int      defaultTransparentColourGreen;
    77     int      defaultTransparentColourBlue;
    79     void LoadPiece(iDocumentNode* node, FRAME_DRAWABLE_PIECE piece);
    80     void DrawPiece(FRAME_DRAWABLE_PIECE p, 
int x, 
int y, 
int w, 
int h, 
int alpha, 
bool scaleX=
false, 
bool scaleY=
false);
    81     void DrawPiece(FRAME_DRAWABLE_PIECE p, 
int x, 
int y, 
int alpha);
    90     void Draw(
int x, 
int y, 
int alpha=-1);
    91     void Draw(csRect rect, 
int alpha=-1);
    92     void Draw(
int x, 
int y, 
int newWidth, 
int newHeight, 
int alpha=-1);
   109 #endif // PAWS_FRAME_DRAWABLE void ExpandClipRect(csRect &clipRect)
 
void Draw(int x, int y, int alpha=-1)
 
const char * GetName() const 
 
pawsFrameDrawable(iDocumentNode *node)
 
virtual ~pawsFrameDrawable()
 
int GetDefaultAlpha() const