Changeset 7063 for trunk/src/user32


Ignore:
Timestamp:
Oct 15, 2001, 7:10:55 PM (24 years ago)
Author:
sandervl
Message:

custom build update

Location:
trunk/src/user32
Files:
1 added
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/oslibres.cpp

    r7046 r7063  
    1 /* $Id: oslibres.cpp,v 1.24 2001-10-14 21:37:03 sandervl Exp $ */
     1/* $Id: oslibres.cpp,v 1.25 2001-10-15 17:09:03 sandervl Exp $ */
    22/*
    33 * Window API wrappers for OS/2
     
    308308    if(lHits == GPI_ERROR) goto fail;
    309309
    310 #ifdef DEBUG
     310//DEBUG_CURSOR
     311#ifdef DEBUG_CURSOR
    311312 {
    312313    dprintf(("colorToMonoBitmap %d %d (%x,%x,%x)(%x,%x,%x)", pBmpDest->cx, pBmpDest->cy, bmpinfo->argbColor[0].bRed, bmpinfo->argbColor[0].bGreen, bmpinfo->argbColor[0].bBlue, bmpinfo->argbColor[1].bRed, bmpinfo->argbColor[1].bGreen, bmpinfo->argbColor[1].bBlue));
  • trunk/src/user32/oslibwin.cpp

    r6401 r7063  
    1 /* $Id: oslibwin.cpp,v 1.108 2001-07-29 18:59:27 sandervl Exp $ */
     1/* $Id: oslibwin.cpp,v 1.109 2001-10-15 17:09:03 sandervl Exp $ */
    22/*
    33 * Window API wrappers for OS/2
     
    157157  }
    158158
    159 #if 0
    160   hwndControl = WinWindowFromID(hwndFrame, FID_SYSMENU);
    161   if(hwndControl) {
    162       swp[i].hwnd = hwndControl;
    163       swp[i].hwndInsertBehind = HWND_TOP;
    164       swp[i].x  = pRect->xLeft;
    165       swp[i].y  = pRect->yBottom;
    166       if(pRect->yTop - pRect->yBottom > minmaxheight) {
    167           swp[i].y += pRect->yTop - pRect->yBottom - minmaxheight;
     159  if(fOS2Look == OS2_APPEARANCE_SYSMENU) {
     160      hwndControl = WinWindowFromID(hwndFrame, FID_SYSMENU);
     161      if(hwndControl) {
     162          swp[i].hwnd = hwndControl;
     163          swp[i].hwndInsertBehind = HWND_TOP;
     164          swp[i].x  = pRect->xLeft;
     165          swp[i].y  = pRect->yBottom;
     166          if(pRect->yTop - pRect->yBottom > minmaxheight) {
     167              swp[i].y += pRect->yTop - pRect->yBottom - minmaxheight;
     168          }
     169          swp[i].cx = minmaxwidth/2;
     170          swp[i].cy = minmaxheight;;
     171          swp[i].fl = SWP_SIZE | SWP_MOVE | SWP_SHOW;
     172          dprintf(("FID_SYSMENU (%d,%d)(%d,%d)", swp[i].x, swp[i].y, swp[i].cx, swp[i].cy));
     173          pRect->xLeft += minmaxwidth/2;
     174          i++;
    168175      }
    169       swp[i].cx = minmaxwidth/2;
    170       swp[i].cy = minmaxheight;;
    171       swp[i].fl = SWP_SIZE | SWP_MOVE | SWP_SHOW;
    172       dprintf(("FID_SYSMENU (%d,%d)(%d,%d)", swp[i].x, swp[i].y, swp[i].cx, swp[i].cy));
    173       pRect->xLeft += minmaxwidth/2;
    174       i++;
    175   }
    176 #else
     176  }
     177  else
    177178  if((dwStyle & WS_SYSMENU_W) && !(dwExStyle & WS_EX_TOOLWINDOW_W) && hSysMenuIcon) {
    178179      pRect->xLeft += minmaxwidth/2;
    179180  }
    180 #endif
     181
    181182  if((dwStyle & WS_CAPTION_W) == WS_CAPTION_W) {
    182183      hwndControl = WinWindowFromID(hwndFrame, FID_TITLEBAR);
  • trunk/src/user32/pmwindow.cpp

    r6965 r7063  
    1 /* $Id: pmwindow.cpp,v 1.154 2001-10-08 12:19:10 sandervl Exp $ */
     1/* $Id: pmwindow.cpp,v 1.155 2001-10-15 17:09:04 sandervl Exp $ */
    22/*
    33 * Win32 Window Managment Code for OS/2
     
    183183BOOL MENU_Init();
    184184//******************************************************************************
    185 void WIN32API SetWindowAppearance(BOOL fLooks)
     185void WIN32API SetWindowAppearance(int fLooks)
    186186{
    187     if(fLooks) {
     187    if(fLooks == OS2_APPEARANCE || fLooks == OS2_APPEARANCE_SYSMENU)
     188    {
    188189        CHAR szDisplay[30];
    189190        HMODULE hModDisplay;
  • trunk/src/user32/syscolor.cpp

    r6599 r7063  
    1 /* $Id: syscolor.cpp,v 1.29 2001-08-27 08:42:11 sandervl Exp $ */
     1/* $Id: syscolor.cpp,v 1.30 2001-10-15 17:09:04 sandervl Exp $ */
    22
    33/*
     
    193193        else    SYSCOLOR_SetColor(x,SysColors[x]);
    194194  }
     195  fColorInit = TRUE;
    195196}
    196197//******************************************************************************
  • trunk/src/user32/win32wbasenonclient.cpp

    r6941 r7063  
    1 /* $Id: win32wbasenonclient.cpp,v 1.36 2001-10-03 18:37:53 sandervl Exp $ */
     1/* $Id: win32wbasenonclient.cpp,v 1.37 2001-10-15 17:09:04 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2 (non-client methods)
     
    889889
    890890  if(fOS2Look) {
    891       if ((dwStyle & WS_SYSMENU) && !(dwExStyle & WS_EX_TOOLWINDOW))
     891      if ((dwStyle & WS_SYSMENU) && !(dwExStyle & WS_EX_TOOLWINDOW) &&
     892           fOS2Look != OS2_APPEARANCE_SYSMENU)
    892893      {
    893894         HICON hSysIcon = IconForWindow(ICON_SMALL);
  • trunk/src/user32/winicon.cpp

    r7045 r7063  
    1 /* $Id: winicon.cpp,v 1.31 2001-10-14 20:55:46 sandervl Exp $ */
     1/* $Id: winicon.cpp,v 1.32 2001-10-15 17:09:05 sandervl Exp $ */
    22/*
    33 * Win32 Icon Code for OS/2
     
    442442    }
    443443
     444    dprintf2(("OSLibWinSetPointer %x", iconinfo->hColorBmp));
    444445    if(OSLibWinSetPointer(iconinfo->hColorBmp) == FALSE) {
    445446        dprintf(("OSLibWinSetPointer %x returned FALSE!!", iconinfo->hColorBmp));
Note: See TracChangeset for help on using the changeset viewer.