added dbg_rect function.

svn path=/trunk/netsurf/; revision=13546
This commit is contained in:
Ole Loots 2012-03-21 21:19:59 +00:00
parent 82d93ef1e6
commit 36dd0cc346
1 changed files with 6 additions and 0 deletions

View File

@ -360,6 +360,12 @@ void dbg_grect( char * str, GRECT * r )
}
void dbg_pxy( char * str, short * pxy )
{
printf("%s: x: %d, y: %d, w: %d, h: %d\n", str,
pxy[0], pxy[1], pxy[2], pxy[3] );
}
void dbg_rect( char * str, int * pxy )
{
printf("%s: x: %d, y: %d, w: %d, h: %d\n", str,
pxy[0], pxy[1], pxy[2], pxy[3] );