roundrec.c
- Code: Select all Expand view
/* TSLines Class, rounded rectangle paint routine
Author: Manuel Mercado
January 1st, 2002 */
#define __HARBOUR__
#include <WinTen.h>
#include <Windows.h>
#include <ClipApi.h>
//---------------------------------------------------------------------------//
#ifndef __HARBOUR__
CLIPPER RECTROUND( PARAMS ) // ( hDC, nLeft, nTop, nRight, nBottom,
// nWidth, nHeight )
#else
HARBOUR HB_FUN_RECTROUND( PARAMS )
#endif
{
_retl( RoundRect( ( HDC ) _parni( 1 ), _parni( 2 ), _parni( 3 ), _parni( 4 ),
_parni( 5 ), _parni( 6 ), _parni( 7 ) ) ) ;
}
Errors :
Error E2238 B:\HB31\Include\clipdefs.h 84: Multiple declaration for 'WORD'
Error E2344 B:\BCC582\Include\windef.h 155: Earlier declaration of 'WORD'
Error E2238 B:\HB31\Include\clipdefs.h 86: Multiple declaration for 'PWORD'
Error E2344 B:\BCC582\Include\windef.h 164: Earlier declaration of 'PWORD'
Error E2238 B:\HB31\Include\clipdefs.h 106: Multiple declaration for 'BOOL'
Error E2344 B:\BCC582\Include\windef.h 153: Earlier declaration of 'BOOL'
Error E2238 B:\HB31\Include\clipdefs.h 109: Multiple declaration for 'PBOOL'
Error E2344 B:\BCC582\Include\windef.h 158: Earlier declaration of 'PBOOL'
Error E2238 B:\HB31\Include\clipdefs.h 118: Multiple declaration for 'HANDLE'
Error E2344 B:\BCC582\Include\winnt.h 335: Earlier declaration of 'HANDLE'