Changeset 3594 for trunk/src


Ignore:
Timestamp:
May 23, 2000, 8:46:21 PM (25 years ago)
Author:
sandervl
Message:

minor changes

Location:
trunk/src/gdi32
Files:
3 edited

Legend:

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

    r3567 r3594  
    1 /* $Id: dibsect.cpp,v 1.31 2000-05-19 18:42:14 sandervl Exp $ */
     1/* $Id: dibsect.cpp,v 1.32 2000-05-23 18:46:20 sandervl Exp $ */
    22
    33/*
     
    619619//******************************************************************************
    620620//******************************************************************************
    621 char  DIBSection::GetBitCount()
     621int  DIBSection::GetBitCount()
    622622{
    623623   if(pOS2bmp == NULL)
     
    628628//******************************************************************************
    629629//******************************************************************************
     630int DIBSection::GetHeight()
     631{
     632   if(pOS2bmp == NULL)
     633     return 0;
     634   else
     635     return pOS2bmp->cy;
     636}
     637//******************************************************************************
     638//******************************************************************************
    630639DIBSection *DIBSection::section = NULL;
  • trunk/src/gdi32/dibsect.h

    r3527 r3594  
    1 /* $Id: dibsect.h,v 1.17 2000-05-12 19:14:56 sandervl Exp $ */
     1/* $Id: dibsect.h,v 1.18 2000-05-23 18:46:20 sandervl Exp $ */
    22
    33/*
     
    7171              char *GetDIBObject()           { return bmpBits;  };
    7272              void  SelectDIBObject(HDC hdc);
    73               char  GetBitCount();
     73              int   GetBitCount();
     74              int   GetHeight();
    7475              void  UnSelectDIBObject()      { this->hdc = 0;   };
    7576
  • trunk/src/gdi32/palette.cpp

    r3589 r3594  
    1 /* $Id: palette.cpp,v 1.4 2000-05-22 19:11:28 sandervl Exp $ */
     1/* $Id: palette.cpp,v 1.5 2000-05-23 18:46:21 sandervl Exp $ */
    22
    33/*
     
    5454UINT WIN32API RealizePalette( HDC hdc)
    5555{
    56     dprintf(("GDI32: RealizePalette %x", hdc));
    57     return O32_RealizePalette(hdc);
     56 UINT rc;
     57
     58    rc = O32_RealizePalette(hdc);
     59    dprintf(("GDI32: RealizePalette %x returned %d", hdc, rc));
     60    return rc;
    5861}
    5962//******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.