while trying to Draw graphics i am getting error plz help | developer.brewmp.com while trying to Draw graphics i am getting error plz help | developer.brewmp.com

Developer

while trying to Draw graphics i am getting error plz help

Forums:

static boolean graph_rect_HandleEvent(graph_rect * pMe, AEEEvent eCode, uint16 wParam, uint32 dwParam)
{

AEEApplet *ptr=&pMe->a;
AEERect obj_rect;
obj_rect.x=0;
obj_rect.y=0;
obj_rect.dx=24;
obj_rect.dy=24;

switch (eCode)
{
case EVT_APP_START:
DBGPRINTF("-------------------------- START------------------------------");

IDISPLAY_ClearScreen(ptr->m_pIDisplay);
IGRAPHICS_SetColor(pMe->gr,22,22,201,200); //what will be the last parameter?
DBGPRINTF("------------------------------LINE100----------------------------");
IGRAPHICS_SetFillMode(pMe->gr,TRUE);
IGRAPHICS_DrawRect(pMe->gr,obj_rect);
//IGRAPHICS_DrawRect(pMe->gr,NULL);

IDISPLAY_Update(ptr->m_pIDisplay);

return(TRUE);