Changeset 222 for trunk/src/helpers/shapewin.c
- Timestamp:
- Sep 3, 2002, 8:17:46 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/shapewin.c
r184 r222 308 308 */ 309 309 310 staticvoid spanFree(PSHPSPAN pSpan)310 STATIC void spanFree(PSHPSPAN pSpan) 311 311 { 312 312 if (pSpan != NULL) … … 319 319 */ 320 320 321 staticPSHPSPAN spanCreate(void)321 STATIC PSHPSPAN spanCreate(void) 322 322 { 323 323 PSHPSPAN pSpan; … … 342 342 */ 343 343 344 staticPSHPSPAN spanExpand(PSHPSPAN pOld)344 STATIC PSHPSPAN spanExpand(PSHPSPAN pOld) 345 345 { 346 346 PSHPSPAN pNew; … … 369 369 */ 370 370 371 staticPSHPSPAN spanAppend(PSHPSPAN pSpan,371 STATIC PSHPSPAN spanAppend(PSHPSPAN pSpan, 372 372 int y, // bottom y; top y = y+1 373 373 int x1, // left x … … 497 497 */ 498 498 499 staticvoid shprgnDraw(HPS hps, PSHPREGION pRgn)499 STATIC void shprgnDraw(HPS hps, PSHPREGION pRgn) 500 500 { 501 501 POINTL apt[3]; … … 518 518 */ 519 519 520 staticMRESULT EXPENTRY shp_fnwpShapeRegion(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2)520 STATIC MRESULT EXPENTRY shp_fnwpShapeRegion(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2) 521 521 { 522 522 PSHPREGION pRgn; … … 591 591 */ 592 592 593 staticint shpmgrWMAdjustWindowPos(PSHPWINCTLDATA pCtrl, PSWP pSwp)593 STATIC int shpmgrWMAdjustWindowPos(PSHPWINCTLDATA pCtrl, PSWP pSwp) 594 594 { 595 595 int i ; … … 658 658 */ 659 659 660 staticint shpmgrUpdateRegions(PSHPWINCTLDATA pCtrl, PRECTL pRect)660 STATIC int shpmgrUpdateRegions(PSHPWINCTLDATA pCtrl, PRECTL pRect) 661 661 { 662 662 RECTL rect, intern; … … 706 706 */ 707 707 708 staticPSHPSPAN shpmgrParseBitmap(HPS hps, PBITMAPINFOHEADER2 bmih2)708 STATIC PSHPSPAN shpmgrParseBitmap(HPS hps, PBITMAPINFOHEADER2 bmih2) 709 709 { 710 710 int blen, hlen; … … 820 820 */ 821 821 822 staticint shpmgrWMCreate_Bitmap2Regions(PSHPWINCTLDATA pCtrl, // in: shape control data822 STATIC int shpmgrWMCreate_Bitmap2Regions(PSHPWINCTLDATA pCtrl, // in: shape control data 823 823 HPS hpsMask) // in: HPS with selected bitmap 824 824 { … … 942 942 */ 943 943 944 staticint shpmgrWMCreate_Regions2Windows(PSHPWINCTLDATA pCtrl)944 STATIC int shpmgrWMCreate_Regions2Windows(PSHPWINCTLDATA pCtrl) 945 945 { 946 946 int i ; … … 1011 1011 */ 1012 1012 1013 staticint shpmgrFreeRegion(PSHPWINCTLDATA pCtrl)1013 STATIC int shpmgrFreeRegion(PSHPWINCTLDATA pCtrl) 1014 1014 { 1015 1015 int i ; … … 1041 1041 */ 1042 1042 1043 staticPSHPWINCTLDATA shpmgrWMCreate(HWND hwnd, // in: shape window1043 STATIC PSHPWINCTLDATA shpmgrWMCreate(HWND hwnd, // in: shape window 1044 1044 PCREATESTRUCT pWin, // in: create struct of WM_CREATE 1045 1045 PSHPCTLDATA pData) // in: SHPCTLDATA struct (WM_CREATE mp1) … … 1095 1095 */ 1096 1096 1097 staticvoid shpmgrWMDestroy(PSHPWINCTLDATA pCtrl)1097 STATIC void shpmgrWMDestroy(PSHPWINCTLDATA pCtrl) 1098 1098 { 1099 1099 if (pCtrl == NULL) … … 1145 1145 */ 1146 1146 1147 staticMRESULT EXPENTRY shp_fnwpShapeMgr(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2)1147 STATIC MRESULT EXPENTRY shp_fnwpShapeMgr(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2) 1148 1148 { 1149 1149 PSHPWINCTLDATA pCtrl;
Note:
See TracChangeset
for help on using the changeset viewer.