Changeset 7063 for trunk/src/user32
- Timestamp:
- Oct 15, 2001, 7:10:55 PM (24 years ago)
- Location:
- trunk/src/user32
- Files:
-
- 1 added
- 6 edited
-
oslibres.cpp (modified) (2 diffs)
-
oslibwin.cpp (modified) (2 diffs)
-
pmwindow.cpp (modified) (2 diffs)
-
syscolor.cpp (modified) (2 diffs)
-
user32lib.mak (added)
-
win32wbasenonclient.cpp (modified) (2 diffs)
-
winicon.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/oslibres.cpp
r7046 r7063 1 /* $Id: oslibres.cpp,v 1.2 4 2001-10-14 21:37:03 sandervl Exp $ */1 /* $Id: oslibres.cpp,v 1.25 2001-10-15 17:09:03 sandervl Exp $ */ 2 2 /* 3 3 * Window API wrappers for OS/2 … … 308 308 if(lHits == GPI_ERROR) goto fail; 309 309 310 #ifdef DEBUG 310 //DEBUG_CURSOR 311 #ifdef DEBUG_CURSOR 311 312 { 312 313 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.10 8 2001-07-29 18:59:27sandervl Exp $ */1 /* $Id: oslibwin.cpp,v 1.109 2001-10-15 17:09:03 sandervl Exp $ */ 2 2 /* 3 3 * Window API wrappers for OS/2 … … 157 157 } 158 158 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++; 168 175 } 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 177 178 if((dwStyle & WS_SYSMENU_W) && !(dwExStyle & WS_EX_TOOLWINDOW_W) && hSysMenuIcon) { 178 179 pRect->xLeft += minmaxwidth/2; 179 180 } 180 #endif 181 181 182 if((dwStyle & WS_CAPTION_W) == WS_CAPTION_W) { 182 183 hwndControl = WinWindowFromID(hwndFrame, FID_TITLEBAR); -
trunk/src/user32/pmwindow.cpp
r6965 r7063 1 /* $Id: pmwindow.cpp,v 1.15 4 2001-10-08 12:19:10sandervl Exp $ */1 /* $Id: pmwindow.cpp,v 1.155 2001-10-15 17:09:04 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Managment Code for OS/2 … … 183 183 BOOL MENU_Init(); 184 184 //****************************************************************************** 185 void WIN32API SetWindowAppearance( BOOLfLooks)185 void WIN32API SetWindowAppearance(int fLooks) 186 186 { 187 if(fLooks) { 187 if(fLooks == OS2_APPEARANCE || fLooks == OS2_APPEARANCE_SYSMENU) 188 { 188 189 CHAR szDisplay[30]; 189 190 HMODULE hModDisplay; -
trunk/src/user32/syscolor.cpp
r6599 r7063 1 /* $Id: syscolor.cpp,v 1. 29 2001-08-27 08:42:11sandervl Exp $ */1 /* $Id: syscolor.cpp,v 1.30 2001-10-15 17:09:04 sandervl Exp $ */ 2 2 3 3 /* … … 193 193 else SYSCOLOR_SetColor(x,SysColors[x]); 194 194 } 195 fColorInit = TRUE; 195 196 } 196 197 //****************************************************************************** -
trunk/src/user32/win32wbasenonclient.cpp
r6941 r7063 1 /* $Id: win32wbasenonclient.cpp,v 1.3 6 2001-10-03 18:37:53sandervl Exp $ */1 /* $Id: win32wbasenonclient.cpp,v 1.37 2001-10-15 17:09:04 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 (non-client methods) … … 889 889 890 890 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) 892 893 { 893 894 HICON hSysIcon = IconForWindow(ICON_SMALL); -
trunk/src/user32/winicon.cpp
r7045 r7063 1 /* $Id: winicon.cpp,v 1.3 1 2001-10-14 20:55:46sandervl Exp $ */1 /* $Id: winicon.cpp,v 1.32 2001-10-15 17:09:05 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Icon Code for OS/2 … … 442 442 } 443 443 444 dprintf2(("OSLibWinSetPointer %x", iconinfo->hColorBmp)); 444 445 if(OSLibWinSetPointer(iconinfo->hColorBmp) == FALSE) { 445 446 dprintf(("OSLibWinSetPointer %x returned FALSE!!", iconinfo->hColorBmp));
Note:
See TracChangeset
for help on using the changeset viewer.
