- Timestamp:
- Jun 1, 2000, 1:27:57 PM (25 years ago)
- Location:
- trunk/src
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gdi32/gdi32.cpp
r3589 r3641 1 /* $Id: gdi32.cpp,v 1.4 7 2000-05-22 19:11:28sandervl Exp $ */1 /* $Id: gdi32.cpp,v 1.48 2000-06-01 11:27:05 sandervl Exp $ */ 2 2 3 3 /* … … 240 240 //****************************************************************************** 241 241 //****************************************************************************** 242 int WIN32API SetBkMode( HDC arg1, int arg2)243 { 244 dprintf(("GDI32: SetBkMode \n"));245 return O32_SetBkMode( arg1, arg2);242 int WIN32API SetBkMode( HDC hdc, int mode) 243 { 244 dprintf(("GDI32: SetBkMode %x %d (old %d)", hdc, mode, O32_GetBkMode(hdc))); 245 return O32_SetBkMode(hdc, mode); 246 246 } 247 247 //****************************************************************************** … … 796 796 //****************************************************************************** 797 797 //****************************************************************************** 798 int WIN32API GetClipBox( HDC arg1, PRECT arg2)799 {800 int rc;801 802 rc = O32_GetClipBox(arg1, arg2);803 dprintf(("GDI32: GetClipBox of %X returned %d\n", arg1, rc));804 return(rc);805 }806 //******************************************************************************807 //******************************************************************************808 798 HANDLE WIN32API GetCurrentObject( HDC hdc, UINT arg2) 809 799 { -
trunk/src/gdi32/makefile
r3076 r3641 1 # $Id: makefile,v 1.2 4 2000-03-10 16:13:45sandervl Exp $1 # $Id: makefile,v 1.25 2000-06-01 11:27:06 sandervl Exp $ 2 2 3 3 # … … 62 62 # Dll rule - builds the target dll. 63 63 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf 64 $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf64 -4$(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf 65 65 66 66 -
trunk/src/gdi32/region.cpp
r3273 r3641 1 /* $Id: region.cpp,v 1. 3 2000-03-29 17:15:35sandervl Exp $ */1 /* $Id: region.cpp,v 1.4 2000-06-01 11:27:06 sandervl Exp $ */ 2 2 3 3 /* … … 117 117 dprintf(("GDI32: FrameRgn")); 118 118 return O32_FrameRgn(arg1, arg2, arg3, arg4, arg5); 119 }120 //******************************************************************************121 //******************************************************************************122 int WIN32API GetClipRgn( HDC arg1, HRGN arg2)123 {124 dprintf(("GDI32: GetClipRgn"));125 return O32_GetClipRgn(arg1, arg2);126 119 } 127 120 //****************************************************************************** -
trunk/src/user32/USER32.DEF
r3419 r3641 1 ; $Id: USER32.DEF,v 1.3 0 2000-04-18 11:12:59sandervl Exp $1 ; $Id: USER32.DEF,v 1.31 2000-06-01 11:27:55 sandervl Exp $ 2 2 3 3 ;Created by BLAST for IBM's compiler … … 644 644 645 645 _KEYBOARD_Enable@4 @2011 646 647 ;SvL: Belongs in GDI32, but put in dc.cpp to group similar apis 648 _GetClipBox@8 @2014 649 _GetClipRgn@8 @2015 -
trunk/src/user32/button.cpp
r3584 r3641 1 /* $Id: button.cpp,v 1.3 5 2000-05-22 17:21:06 cbratschiExp $ */1 /* $Id: button.cpp,v 1.36 2000-06-01 11:27:56 sandervl Exp $ */ 2 2 /* File: button.cpp -- Button type widgets 3 3 * … … 176 176 static LRESULT BUTTON_EraseBkgnd(HWND hwnd,WPARAM wParam,LPARAM lParam) 177 177 { 178 //SvL: This is wrong: should be 179 //SvL: TODO: NT does something extra for ownerdrawn buttons; check this 180 // if(style == BS_OWNERDRAW) { 181 // return DefWindowProcA(hwnd, WM_ERASEBKGND, wParam, lParam); 182 // } 183 // return 1; 184 178 185 //SvL: Erase background for groupboxes as the paint function only draws 179 186 // a box -
trunk/src/user32/dc.cpp
r3525 r3641 1 /* $Id: dc.cpp,v 1.5 7 2000-05-12 18:09:39sandervl Exp $ */1 /* $Id: dc.cpp,v 1.58 2000-06-01 11:27:56 sandervl Exp $ */ 2 2 3 3 /* … … 685 685 } 686 686 #endif 687 //****************************************************************************** 688 //****************************************************************************** 689 int WIN32API GetClipBox( HDC arg1, PRECT arg2) 690 { 691 int rc; 692 693 rc = O32_GetClipBox(arg1, arg2); 694 dprintf(("GDI32: GetClipBox of %X returned %d\n", arg1, rc)); 695 return(rc); 696 } 697 //****************************************************************************** 698 //****************************************************************************** 699 int WIN32API GetClipRgn( HDC hdc, HRGN hRgn) 700 { 701 dprintf(("GDI32: GetClipRgn")); 702 return O32_GetClipRgn(hdc, hRgn); 703 } 687 704 //****************************************************************************** 688 705 //****************************************************************************** -
trunk/src/user32/dc.h
r2582 r3641 1 /* $Id: dc.h,v 1.1 1 2000-01-31 22:30:51sandervl Exp $ */1 /* $Id: dc.h,v 1.12 2000-06-01 11:27:57 sandervl Exp $ */ 2 2 /* 3 3 * public dc functions … … 438 438 439 439 440 int APIENTRY _O32_GetClipRgn( HDC, HRGN ); 441 442 inline int O32_GetClipRgn(HDC a, HRGN b) 443 { 444 int yyrc; 445 USHORT sel = RestoreOS2FS(); 446 447 yyrc = _O32_GetClipRgn(a, b); 448 SetFS(sel); 449 450 return yyrc; 451 } 452 453 int OPEN32API _O32_GetClipBox( HDC, PRECT ); 454 455 inline int O32_GetClipBox(HDC a, PRECT b) 456 { 457 int yyrc; 458 USHORT sel = RestoreOS2FS(); 459 460 yyrc = _O32_GetClipBox(a, b); 461 SetFS(sel); 462 463 return yyrc; 464 } 465 440 466 // from pmddi.h: 441 467 /* CopyClipRegion */ -
trunk/src/user32/win32wbase.cpp
r3625 r3641 1 /* $Id: win32wbase.cpp,v 1.19 6 2000-05-28 16:43:46sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.197 2000-06-01 11:27:57 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 515 515 (owner) ? owner->getOS2WindowHandle() : OSLIB_HWND_DESKTOP, 516 516 (hwndLinkAfter == HWND_BOTTOM) ? TRUE : FALSE, 517 &OS2HwndFrame, 0, fTaskList,fXDefault | fCXDefault,windowClass->getStyle() & CS_SAVEBITS);517 &OS2HwndFrame, 0, fTaskList,fXDefault | fCXDefault,windowClass->getStyle()); 518 518 if(OS2Hwnd == 0) { 519 519 dprintf(("Window creation failed!!"));
Note:
See TracChangeset
for help on using the changeset viewer.