Changeset 4597 for trunk/src


Ignore:
Timestamp:
Nov 15, 2000, 2:57:57 PM (25 years ago)
Author:
sandervl
Message:

export selectClientArea for gdi32

Location:
trunk/src/user32
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/USER32.DEF

    r4589 r4597  
    1 ; $Id: USER32.DEF,v 1.42 2000-11-14 14:27:47 sandervl Exp $
     1; $Id: USER32.DEF,v 1.43 2000-11-15 13:57:54 sandervl Exp $
    22
    33;Created by BLAST for IBM's compiler
     
    666666    _Calculate1PixelDelta@4                                      @2022
    667667    _DIB_GetDIBWidthBytes@8                                      @2023
     668    _selectClientArea@4                                          @2024
  • trunk/src/user32/dc.cpp

    r4573 r4597  
    1 /* $Id: dc.cpp,v 1.77 2000-11-09 18:15:17 sandervl Exp $ */
     1/* $Id: dc.cpp,v 1.78 2000-11-15 13:57:56 sandervl Exp $ */
    22
    33/*
     
    361361                   SETUPDC_ORIGIN | SETUPDC_VISRGN | SETUPDC_RECALCCLIP);
    362362   }
    363    else dprintf2(("removeClientArea: %x (%d,%d)", window->getWindowHandle(), point.x, point.y));
     363   else dprintf2(("removeClientArea: %x (%d,%d) (%d,%d)", window->getWindowHandle(), point.x, point.y, pHps->ptlOrigin.x, pHps->ptlOrigin.y));
    364364
    365365}
     
    511511
    512512   wnd = Win32BaseWindow::GetWindowFromOS2Handle(pHps->hwnd);
    513    removeClientArea(wnd, pHps);
     513   if(wnd) {
     514      removeClientArea(wnd, pHps);
     515   }
     516}
     517//******************************************************************************
     518//******************************************************************************
     519VOID WIN32API selectClientArea(pDCData pHps)
     520{
     521 Win32BaseWindow *wnd;
     522
     523   wnd = Win32BaseWindow::GetWindowFromOS2Handle(pHps->hwnd);
     524   if(wnd) {
     525      selectClientArea(wnd, pHps);
     526   }
    514527}
    515528//******************************************************************************
  • trunk/src/user32/win32wbasenonclient.cpp

    r4494 r4597  
    1 /* $Id: win32wbasenonclient.cpp,v 1.25 2000-10-17 17:11:08 sandervl Exp $ */
     1/* $Id: win32wbasenonclient.cpp,v 1.26 2000-11-15 13:57:57 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2 (non-client methods)
     
    424424        winRect->right  -= tmpRect.right;
    425425        winRect->bottom -= tmpRect.bottom;
     426
     427        if (winRect->top > winRect->bottom)
     428            winRect->bottom = winRect->top;
     429
     430        if (winRect->left > winRect->right)
     431            winRect->right = winRect->left;
    426432    }
    427433
Note: See TracChangeset for help on using the changeset viewer.