Changeset 2738 for trunk/src


Ignore:
Timestamp:
Feb 10, 2000, 7:48:44 PM (26 years ago)
Author:
cbratschi
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gdi32/gdi32.cpp

    r2718 r2738  
    1 /* $Id: gdi32.cpp,v 1.39 2000-02-10 00:36:10 sandervl Exp $ */
     1/* $Id: gdi32.cpp,v 1.40 2000-02-10 18:48:44 cbratschi Exp $ */
    22
    33/*
     
    147147//******************************************************************************
    148148//******************************************************************************
    149 HPEN WIN32API CreatePen( int arg1, int arg2, COLORREF  arg3)
     149HPEN WIN32API CreatePen( int fnPenStyle, int nWidth, COLORREF crColor)
    150150{
    151151    dprintf(("GDI32: CreatePen\n"));
    152     return O32_CreatePen(arg1, arg2, arg3);
    153 }
    154 //******************************************************************************
    155 //******************************************************************************
    156 HPEN WIN32API CreatePenIndirect( const LOGPEN * arg1)
     152
     153    //CB: todo: PS_DOT is different in Win32 (. . . . and not - - - -)
     154    //    Open32 looks like LINETYPE_SHORTDASH instead of LINETYPE_DOT!!!
     155    //    -> difficult to fix!
     156
     157    return O32_CreatePen(fnPenStyle,nWidth,crColor);
     158}
     159//******************************************************************************
     160//******************************************************************************
     161HPEN WIN32API CreatePenIndirect( const LOGPEN * lplgpn)
    157162{
    158163    dprintf(("GDI32: CreatePenIndirect\n"));
    159     return O32_CreatePenIndirect(arg1);
     164    return O32_CreatePenIndirect(lplgpn);
    160165}
    161166//******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.