Changeset 7943 for trunk/src


Ignore:
Timestamp:
Feb 18, 2002, 11:14:58 AM (24 years ago)
Author:
sandervl
Message:

added custom function to force color to mono cursor conversion

Location:
trunk/src/user32
Files:
5 edited

Legend:

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

    r7765 r7943  
    1 ; $Id: USER32.DEF,v 1.69 2002-01-12 14:09:30 sandervl Exp $
     1; $Id: USER32.DEF,v 1.70 2002-02-18 10:14:56 sandervl Exp $
    22
    33LIBRARY USER32 INITINSTANCE TERMINSTANCE
     
    709709    _WinSetVisibleRgnNotifyProc@12                               @2033 NONAME
    710710    _Win32ToOS2FrameHandle@4                                     @2034 NONAME
     711
     712    _CustForceMonoCursor@0                                       @2036 NONAME
  • trunk/src/user32/oslibres.cpp

    r7237 r7943  
    1 /* $Id: oslibres.cpp,v 1.29 2001-10-27 10:30:10 sandervl Exp $ */
     1/* $Id: oslibres.cpp,v 1.30 2002-02-18 10:14:56 sandervl Exp $ */
    22/*
    33 * Window API wrappers for OS/2
     
    449449        if(fCursor && pXorBmp->bmBitsPixel >= 8)
    450450        {
    451             if(isMonoBitmap(pXorBmp, (PBYTE)os2rgb) == TRUE)
     451            if(fForceMonoCursor || isMonoBitmap(pXorBmp, (PBYTE)os2rgb) == TRUE)
    452452            {
    453453                pOS2XorBits = colorToMonoBitmap(hbmColor, pBmpColor);
  • trunk/src/user32/pmwindow.cpp

    r7887 r7943  
    1 /* $Id: pmwindow.cpp,v 1.168 2002-02-12 13:10:14 sandervl Exp $ */
     1/* $Id: pmwindow.cpp,v 1.169 2002-02-18 10:14:57 sandervl Exp $ */
    22/*
    33 * Win32 Window Managment Code for OS/2
     
    6565ULONG   ScreenBitsPerPel = 0;
    6666BOOL    fOS2Look = FALSE;
     67BOOL    fForceMonoCursor = FALSE;
    6768HBITMAP hbmFrameMenu[3] = {0};
    6869
     
    252253    fOS2Look = fLooks;
    253254    MENU_Init();
     255}
     256//******************************************************************************
     257//******************************************************************************
     258void WIN32API CustForceMonoCursor()
     259{
     260    fForceMonoCursor = TRUE;
    254261}
    255262//******************************************************************************
  • trunk/src/user32/pmwindow.h

    r7691 r7943  
    1 /* $Id: pmwindow.h,v 1.15 2001-12-26 19:05:35 achimha Exp $ */
     1/* $Id: pmwindow.h,v 1.16 2002-02-18 10:14:57 sandervl Exp $ */
    22/*
    33 * Win32 Window Managment Code for OS/2
     
    2626extern ULONG ScreenBitsPerPel;
    2727extern BOOL  fOS2Look;
     28extern BOOL  fForceMonoCursor;
    2829extern HWND  hwndCD;
    2930extern LONG CapsCharHeight;
  • trunk/src/user32/user32dbg.def

    r7885 r7943  
    1 ; $Id: user32dbg.def,v 1.2 2002-02-12 12:00:03 sandervl Exp $
     1; $Id: user32dbg.def,v 1.3 2002-02-18 10:14:58 sandervl Exp $
    22
    33LIBRARY USER32 INITINSTANCE TERMINSTANCE
     
    709709    _WinSetVisibleRgnNotifyProc@12                               @2033 NONAME
    710710    _Win32ToOS2FrameHandle@4                                     @2034 NONAME
     711
     712    _CustForceMonoCursor@0                                       @2036 NONAME
Note: See TracChangeset for help on using the changeset viewer.