Ignore:
Timestamp:
Feb 21, 2002, 8:24:22 PM (23 years ago)
Author:
umoeller
Message:

misc. updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/helpers/shapewin.c

    r110 r142  
    308308 */
    309309
    310 void spanFree(PSHPSPAN pSpan)
     310static void spanFree(PSHPSPAN pSpan)
    311311{
    312312    if (pSpan != NULL)
     
    319319 */
    320320
    321 PSHPSPAN spanCreate(void)
     321static PSHPSPAN spanCreate(void)
    322322{
    323323    PSHPSPAN pSpan;
     
    342342 */
    343343
    344 PSHPSPAN spanExpand(PSHPSPAN pOld)
     344static PSHPSPAN spanExpand(PSHPSPAN pOld)
    345345{
    346346    PSHPSPAN pNew;
     
    369369 */
    370370
    371 PSHPSPAN spanAppend(PSHPSPAN pSpan,
    372                     int y,       // bottom y; top y = y+1
    373                     int x1,      // left x
    374                     int x2)      // right x
     371static PSHPSPAN spanAppend(PSHPSPAN pSpan,
     372                           int y,       // bottom y; top y = y+1
     373                           int x1,      // left x
     374                           int x2)      // right x
    375375{
    376376    int     i;
     
    425425     */
    426426
    427     BOOL ptisin(PSHPSPAN pSpan, int x, int y)
     427    static BOOL ptisin(PSHPSPAN pSpan, int x, int y)
    428428    {
    429429        int     i;
     
    453453     */
    454454
    455     void dumpSpan(PSHPSPAN pSpan)
     455    static void dumpSpan(PSHPSPAN pSpan)
    456456    {
    457457        int     i, maxx, maxy, x, y;
     
    497497 */
    498498
    499 void shprgnDraw(HPS hps, PSHPREGION pRgn)
     499static void shprgnDraw(HPS hps, PSHPREGION pRgn)
    500500{
    501501    POINTL      apt[3];
     
    518518 */
    519519
    520 MRESULT EXPENTRY shp_fnwpShapeRegion(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2)
     520static MRESULT EXPENTRY shp_fnwpShapeRegion(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2)
    521521{
    522522    PSHPREGION   pRgn;
     
    590590 */
    591591
    592 int shpmgrWMAdjustWindowPos(PSHPWINCTLDATA pCtrl, PSWP pSwp)
     592static int shpmgrWMAdjustWindowPos(PSHPWINCTLDATA pCtrl, PSWP pSwp)
    593593{
    594594    int         i   ;
     
    656656 */
    657657
    658 int shpmgrUpdateRegions(PSHPWINCTLDATA pCtrl, PRECTL pRect)
     658static int shpmgrUpdateRegions(PSHPWINCTLDATA pCtrl, PRECTL pRect)
    659659{
    660660    RECTL       rect, intern;
     
    702702 */
    703703
    704 PSHPSPAN shpmgrParseBitmap(HPS hps, PBITMAPINFOHEADER2 bmih2)
     704static PSHPSPAN shpmgrParseBitmap(HPS hps, PBITMAPINFOHEADER2 bmih2)
    705705{
    706706    int             blen, hlen;
     
    815815 */
    816816
    817 int shpmgrWMCreate_Bitmap2Regions(PSHPWINCTLDATA pCtrl,  // in: shape control data
    818                                   HPS hpsMask)      // in: HPS with selected bitmap
     817static int shpmgrWMCreate_Bitmap2Regions(PSHPWINCTLDATA pCtrl,  // in: shape control data
     818                                         HPS hpsMask)      // in: HPS with selected bitmap
    819819{
    820820    HAB             hab;
     
    937937 */
    938938
    939 int shpmgrWMCreate_Regions2Windows(PSHPWINCTLDATA pCtrl)
     939static int shpmgrWMCreate_Regions2Windows(PSHPWINCTLDATA pCtrl)
    940940{
    941941    int         i   ;
     
    10051005 */
    10061006
    1007 int shpmgrFreeRegion(PSHPWINCTLDATA pCtrl)
     1007static int shpmgrFreeRegion(PSHPWINCTLDATA pCtrl)
    10081008{
    10091009    int         i   ;
     
    10351035 */
    10361036
    1037 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)
     1037static 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)
    10401040{
    10411041    PSHPWINCTLDATA   pCtrl;
     
    10891089 */
    10901090
    1091 void shpmgrWMDestroy(PSHPWINCTLDATA pCtrl)
     1091static void shpmgrWMDestroy(PSHPWINCTLDATA pCtrl)
    10921092{
    10931093    if (pCtrl == NULL)
     
    11391139 */
    11401140
    1141 MRESULT EXPENTRY shp_fnwpShapeMgr(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2)
     1141static MRESULT EXPENTRY shp_fnwpShapeMgr(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2)
    11421142{
    11431143    PSHPWINCTLDATA   pCtrl;
Note: See TracChangeset for help on using the changeset viewer.