#define Canvas(sName, pParent, pNext, pChild, pDisplay, lX, lY, lWidth, \
lHeight, ulStyle, ulFillColor, ulOutlineColor, ulTextColor, \
pFont, pcText, pucImage, pfnOnPaint) \
tCanvasWidget sName = \
CanvasStruct(pParent, pNext, pChild, pDisplay, lX, lY, lWidth, \
lHeight, ulStyle, ulFillColor, ulOutlineColor, \
ulTextColor, pFont, pcText, pucImage, pfnOnPaint)
我用数字变量来表示 lX, lY, lWidth, lHeight,编译器提示必须是consent value,是怎么回事?还有这是种什么定义方式?
麻烦各位帮忙讲讲!
|