Changeset 142 for trunk/src/helpers/shapewin.c
- Timestamp:
- Feb 21, 2002, 8:24:22 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/shapewin.c
r110 r142 308 308 */ 309 309 310 void spanFree(PSHPSPAN pSpan)310 static void spanFree(PSHPSPAN pSpan) 311 311 { 312 312 if (pSpan != NULL) … … 319 319 */ 320 320 321 PSHPSPAN spanCreate(void)321 static PSHPSPAN spanCreate(void) 322 322 { 323 323 PSHPSPAN pSpan; … … 342 342 */ 343 343 344 PSHPSPAN spanExpand(PSHPSPAN pOld)344 static PSHPSPAN spanExpand(PSHPSPAN pOld) 345 345 { 346 346 PSHPSPAN pNew; … … 369 369 */ 370 370 371 PSHPSPAN spanAppend(PSHPSPAN pSpan,372 int y, // bottom y; top y = y+1373 int x1, // left x374 int x2) // right x371 static PSHPSPAN spanAppend(PSHPSPAN pSpan, 372 int y, // bottom y; top y = y+1 373 int x1, // left x 374 int x2) // right x 375 375 { 376 376 int i; … … 425 425 */ 426 426 427 BOOL ptisin(PSHPSPAN pSpan, int x, int y)427 static BOOL ptisin(PSHPSPAN pSpan, int x, int y) 428 428 { 429 429 int i; … … 453 453 */ 454 454 455 void dumpSpan(PSHPSPAN pSpan)455 static void dumpSpan(PSHPSPAN pSpan) 456 456 { 457 457 int i, maxx, maxy, x, y; … … 497 497 */ 498 498 499 void 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 MRESULT 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; … … 590 590 */ 591 591 592 int shpmgrWMAdjustWindowPos(PSHPWINCTLDATA pCtrl, PSWP pSwp)592 static int shpmgrWMAdjustWindowPos(PSHPWINCTLDATA pCtrl, PSWP pSwp) 593 593 { 594 594 int i ; … … 656 656 */ 657 657 658 int shpmgrUpdateRegions(PSHPWINCTLDATA pCtrl, PRECTL pRect)658 static int shpmgrUpdateRegions(PSHPWINCTLDATA pCtrl, PRECTL pRect) 659 659 { 660 660 RECTL rect, intern; … … 702 702 */ 703 703 704 PSHPSPAN shpmgrParseBitmap(HPS hps, PBITMAPINFOHEADER2 bmih2)704 static PSHPSPAN shpmgrParseBitmap(HPS hps, PBITMAPINFOHEADER2 bmih2) 705 705 { 706 706 int blen, hlen; … … 815 815 */ 816 816 817 int shpmgrWMCreate_Bitmap2Regions(PSHPWINCTLDATA pCtrl, // in: shape control data818 HPS hpsMask) // in: HPS with selected bitmap817 static int shpmgrWMCreate_Bitmap2Regions(PSHPWINCTLDATA pCtrl, // in: shape control data 818 HPS hpsMask) // in: HPS with selected bitmap 819 819 { 820 820 HAB hab; … … 937 937 */ 938 938 939 int shpmgrWMCreate_Regions2Windows(PSHPWINCTLDATA pCtrl)939 static int shpmgrWMCreate_Regions2Windows(PSHPWINCTLDATA pCtrl) 940 940 { 941 941 int i ; … … 1005 1005 */ 1006 1006 1007 int shpmgrFreeRegion(PSHPWINCTLDATA pCtrl)1007 static int shpmgrFreeRegion(PSHPWINCTLDATA pCtrl) 1008 1008 { 1009 1009 int i ; … … 1035 1035 */ 1036 1036 1037 PSHPWINCTLDATA shpmgrWMCreate(HWND hwnd, // in: shape window1038 PCREATESTRUCT pWin, // in: create struct of WM_CREATE1039 PSHPCTLDATA pData) // in: SHPCTLDATA struct (WM_CREATE mp1)1037 static PSHPWINCTLDATA shpmgrWMCreate(HWND hwnd, // in: shape window 1038 PCREATESTRUCT pWin, // in: create struct of WM_CREATE 1039 PSHPCTLDATA pData) // in: SHPCTLDATA struct (WM_CREATE mp1) 1040 1040 { 1041 1041 PSHPWINCTLDATA pCtrl; … … 1089 1089 */ 1090 1090 1091 void shpmgrWMDestroy(PSHPWINCTLDATA pCtrl)1091 static void shpmgrWMDestroy(PSHPWINCTLDATA pCtrl) 1092 1092 { 1093 1093 if (pCtrl == NULL) … … 1139 1139 */ 1140 1140 1141 MRESULT EXPENTRY shp_fnwpShapeMgr(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2)1141 static MRESULT EXPENTRY shp_fnwpShapeMgr(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2) 1142 1142 { 1143 1143 PSHPWINCTLDATA pCtrl;
Note:
See TracChangeset
for help on using the changeset viewer.