Changeset 2802 for trunk/src/gdi32
- Timestamp:
- Feb 16, 2000, 3:25:43 PM (26 years ago)
- Location:
- trunk/src/gdi32
- Files:
-
- 2 added
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gdi32/CALLBACK.CPP
r97 r2802 1 /* $Id: CALLBACK.CPP,v 1. 3 1999-06-10 17:09:02 phallerExp $ */1 /* $Id: CALLBACK.CPP,v 1.4 2000-02-16 14:18:09 sandervl Exp $ */ 2 2 3 3 /* … … 13 13 #include "misc.h" 14 14 #include "callback.h" 15 16 #define DBG_LOCALLOG DBG_callback 17 #include "dbglocal.h" 15 18 16 19 static VOID OPEN32API Callback(int X, int Y, LPARAM lpData); -
trunk/src/gdi32/blit.cpp
r2614 r2802 1 /* $Id: blit.cpp,v 1. 4 2000-02-03 18:59:04sandervl Exp $ */1 /* $Id: blit.cpp,v 1.5 2000-02-16 14:18:09 sandervl Exp $ */ 2 2 3 3 /* … … 18 18 #include "dibsect.h" 19 19 #include "rgbcvt.h" 20 21 #define DBG_LOCALLOG DBG_blit 22 #include "dbglocal.h" 20 23 21 24 static ULONG QueryPaletteSize(BITMAPINFOHEADER *pBHdr); … … 134 137 DWORD *bitfields = (DWORD *)info->bmiColors; 135 138 136 dprintf(("BI_BITFIELDS compression %x %x %x", *bitfields, *(bitfields+1), *(bitfields+2)));137 139 ((BITMAPINFO *)info)->bmiHeader.biCompression = 0; 138 140 compression = BI_BITFIELDS; 139 141 if(*(bitfields+1) == 0x3E0) 140 142 {//RGB 555? 143 dprintf(("BI_BITFIELDS compression %x %x %x", *bitfields, *(bitfields+1), *(bitfields+2))); 144 141 145 newbits = (WORD *)malloc(imgsize); 142 146 if(CPUFeatures & CPUID_MMX) { -
trunk/src/gdi32/dibitmap.cpp
r2718 r2802 1 /* $Id: dibitmap.cpp,v 1. 3 2000-02-10 00:36:10sandervl Exp $ */1 /* $Id: dibitmap.cpp,v 1.4 2000-02-16 14:18:09 sandervl Exp $ */ 2 2 3 3 /* … … 17 17 #include "dibsect.h" 18 18 19 #define DBG_LOCALLOG DBG_dibitmap 20 #include "dbglocal.h" 21 19 22 //****************************************************************************** 20 23 //****************************************************************************** … … 31 34 if(lpbmih->biHeight < 0) 32 35 { 33 ((BITMAPINFOHEADER *)lpbmih)->biHeight = -lpbmih->biHeight; 36 dprintf(("GDI32: CreateDIBitmap negative height! (%d,%d)", lpbmih->biWidth, lpbmih->biHeight)); 37 ((BITMAPINFOHEADER *)lpbmih)->biHeight = -lpbmih->biHeight; 34 38 } 35 39 -
trunk/src/gdi32/dibsect.cpp
r2718 r2802 1 /* $Id: dibsect.cpp,v 1.1 7 2000-02-10 00:36:10sandervl Exp $ */1 /* $Id: dibsect.cpp,v 1.18 2000-02-16 14:18:09 sandervl Exp $ */ 2 2 3 3 /* … … 27 27 #include "oslibgpi.h" 28 28 29 #define DBG_LOCALLOG DBG_dibsect 30 #include "dbglocal.h" 31 29 32 //Win32 apis used: 30 33 HWND WIN32API WindowFromDC(HDC hdc); … … 237 240 if(bmpsize & 3) 238 241 { 239 bmpsize = (bmpsize + 3) & ~3;242 bmpsize = (bmpsize + 3) & ~3; 240 243 } 241 244 … … 251 254 pOS2bmp->cbImage = pbmi->biSizeImage; 252 255 256 dprintf(("DIBSection::SetDIBits (%d,%d), %d %d", pbmi->biWidth, pbmi->biHeight, pbmi->biBitCount, pbmi->biCompression)); 257 253 258 if(palsize) 254 259 memcpy(pOS2bmp->argbColor, (char *)pbmi + 1 , palsize); -
trunk/src/gdi32/font.cpp
r1982 r2802 1 /* $Id: font.cpp,v 1. 8 1999-12-05 14:58:07 phallerExp $ */1 /* $Id: font.cpp,v 1.9 2000-02-16 14:18:09 sandervl Exp $ */ 2 2 3 3 /* … … 32 32 #include <win\options.h> 33 33 34 #define DBG_LOCALLOG DBG_font 35 #include "dbglocal.h" 34 36 35 37 ODINDEBUGCHANNEL(GDI32-FONT) -
trunk/src/gdi32/gdi32.cpp
r2779 r2802 1 /* $Id: gdi32.cpp,v 1.4 2 2000-02-14 17:28:45 cbratschiExp $ */1 /* $Id: gdi32.cpp,v 1.43 2000-02-16 14:18:09 sandervl Exp $ */ 2 2 3 3 /* … … 21 21 #include "oslibgpi.h" 22 22 #include "oslibgdi.h" 23 24 #define DBG_LOCALLOG DBG_gdi32 25 #include "dbglocal.h" 23 26 24 27 //****************************************************************************** -
trunk/src/gdi32/initterm.cpp
r2650 r2802 1 /* $Id: initterm.cpp,v 1. 9 2000-02-05 01:59:24sandervl Exp $ */1 /* $Id: initterm.cpp,v 1.10 2000-02-16 14:18:10 sandervl Exp $ */ 2 2 3 3 /* … … 36 36 #include <odinlx.h> 37 37 #include <misc.h> /*PLF Wed 98-03-18 23:18:15*/ 38 #define DBG_LOCALLOG DBG_initterm 39 #include "dbglocal.h" 38 40 39 41 extern "C" { … … 87 89 _ctordtorInit(); 88 90 91 ParseLogStatus(); 89 92 CheckVersionFromHMOD(PE2LX_VERSION, hModule); /*PLF Wed 98-03-18 05:28:48*/ 90 93 -
trunk/src/gdi32/line.cpp
r2767 r2802 1 /* $Id: line.cpp,v 1. 5 2000-02-12 18:08:57 cbratschiExp $ */1 /* $Id: line.cpp,v 1.6 2000-02-16 14:18:10 sandervl Exp $ */ 2 2 /* 3 3 * Line API's … … 15 15 #include "oslibgpi.h" 16 16 17 #define DBG_LOCALLOG DBG_line 18 #include "dbglocal.h" 19 17 20 #define ROUND_FLOAT(x) ((INT)((x < 0) ? x-0.5:x+0.5)) 18 21 -
trunk/src/gdi32/makefile
r2712 r2802 1 # $Id: makefile,v 1.2 1 2000-02-09 23:46:56 birdExp $1 # $Id: makefile,v 1.22 2000-02-16 14:18:10 sandervl Exp $ 2 2 3 3 # … … 23 23 OBJS = gdi32.obj opengl.obj callback.obj dibsect.obj initterm.obj resource.obj \ 24 24 oslibgdi.obj font.obj text.obj palette.obj line.obj oslibgpi.obj region.obj \ 25 metafile.obj dibitmap.obj blit.obj rgbcvt.obj 25 metafile.obj dibitmap.obj blit.obj rgbcvt.obj dbglocal.obj 26 26 27 27 -
trunk/src/gdi32/metafile.cpp
r2592 r2802 1 /* $Id: metafile.cpp,v 1. 1 2000-02-01 12:53:30sandervl Exp $ */1 /* $Id: metafile.cpp,v 1.2 2000-02-16 14:18:11 sandervl Exp $ */ 2 2 3 3 /* … … 16 16 #include "misc.h" 17 17 18 #define DBG_LOCALLOG DBG_metafile 19 #include "dbglocal.h" 20 18 21 //****************************************************************************** 19 22 //****************************************************************************** -
trunk/src/gdi32/opengl.cpp
r2661 r2802 1 /* $Id: opengl.cpp,v 1. 7 2000-02-05 15:55:54sandervl Exp $ */1 /* $Id: opengl.cpp,v 1.8 2000-02-16 14:18:11 sandervl Exp $ */ 2 2 3 3 /* … … 21 21 #include "misc.h" 22 22 #include "unicode.h" 23 24 #define DBG_LOCALLOG DBG_opengl 25 #include "dbglocal.h" 23 26 24 27 -
trunk/src/gdi32/oslibgdi.cpp
r2600 r2802 1 /* $Id: oslibgdi.cpp,v 1. 5 2000-02-02 23:45:07sandervl Exp $ */1 /* $Id: oslibgdi.cpp,v 1.6 2000-02-16 14:18:11 sandervl Exp $ */ 2 2 3 3 /* … … 19 19 #include "dibsect.h" 20 20 #include "oslibgdi.h" 21 22 #define DBG_LOCALLOG DBG_oslibgdi 23 #include "dbglocal.h" 21 24 22 25 //****************************************************************************** -
trunk/src/gdi32/oslibgpi.cpp
r2484 r2802 1 /* $Id: oslibgpi.cpp,v 1. 3 2000-01-20 21:39:36sandervl Exp $ */1 /* $Id: oslibgpi.cpp,v 1.4 2000-02-16 14:18:11 sandervl Exp $ */ 2 2 3 3 /* … … 20 20 #include "dcdata.h" 21 21 22 #define DBG_LOCALLOG DBG_oslibgpi 23 #include "dbglocal.h" 24 22 25 #define GetDCData(a) ((pDCData)a) 23 26 -
trunk/src/gdi32/palette.cpp
r2592 r2802 1 /* $Id: palette.cpp,v 1. 2 2000-02-01 12:53:31sandervl Exp $ */1 /* $Id: palette.cpp,v 1.3 2000-02-16 14:18:12 sandervl Exp $ */ 2 2 3 3 /* … … 17 17 #include <string.h> 18 18 #include "dibsect.h" 19 20 #define DBG_LOCALLOG DBG_palette 21 #include "dbglocal.h" 19 22 20 23 static UINT SystemPaletteUse = SYSPAL_STATIC; /* currently not considered */ -
trunk/src/gdi32/region.cpp
r2592 r2802 1 /* $Id: region.cpp,v 1. 1 2000-02-01 12:53:31sandervl Exp $ */1 /* $Id: region.cpp,v 1.2 2000-02-16 14:18:12 sandervl Exp $ */ 2 2 3 3 /* … … 15 15 #include <string.h> 16 16 #include "misc.h" 17 18 #define DBG_LOCALLOG DBG_region 19 #include "dbglocal.h" 17 20 18 21 //****************************************************************************** -
trunk/src/gdi32/text.cpp
r2558 r2802 1 /* $Id: text.cpp,v 1. 7 2000-01-29 14:22:13sandervl Exp $ */1 /* $Id: text.cpp,v 1.8 2000-02-16 14:18:12 sandervl Exp $ */ 2 2 3 3 /* … … 18 18 #include <float.h> 19 19 #include "oslibgpi.h" 20 21 #define DBG_LOCALLOG DBG_text 22 #include "dbglocal.h" 20 23 21 24 #define ELLIPSIS "..."
Note:
See TracChangeset
for help on using the changeset viewer.