Commit Graph

531 Commits

Author SHA1 Message Date
Lionel Ulmer 103712f1c4 Added RGB 565 => RGB 0888 conversion. 2001-02-13 20:16:46 +00:00
James Abbatiello c559f3fc69 In CreateDIBSection, the offset into the file mapping does not have to
be a multiple of the memory allocation granularity.
2001-02-12 19:40:28 +00:00
Andreas Mohr 312303acaf - move TSXGrabServer after a possible return FALSE;
- move misplaced comment
- optimize TSXGrabServer use
2001-02-12 18:10:27 +00:00
Ove Kaaven e1ba4bb49e In CopyDIBSection, use source DIB colormap instead if no palette has
been selected into the source DC, to work around some X11-imposed
DIBsection implementation deficiencies.
2001-02-12 01:20:30 +00:00
Eric Kohl d5354961d6 Fixed text size calculation bug in GetTextExtentPoint() for window dc's. 2001-02-12 01:15:06 +00:00
James Juran f4d5fefb0a Add <string.h> to files that needed it. 2001-01-26 20:43:40 +00:00
Alexandre Julliard 803dbb6f00 Removed non-standard OBM_RADIOCHECK bitmap. 2001-01-24 19:48:39 +00:00
Eric Kohl 08936ff97a Partial implementation of world transform support. 2001-01-24 19:38:11 +00:00
Alexandre Julliard 16cbf4022c Store USER icons and cursors as resources instead of xpm bitmaps. 2001-01-18 20:32:01 +00:00
Alexandre Julliard ee21c443c6 Replaced X11DRV_CritSection references by wine_tsx11_(un)lock. 2001-01-15 22:31:24 +00:00
Alexandre Julliard 8efd454067 Removed CALL_LARGE_STACK support. 2001-01-15 22:30:50 +00:00
Alexandre Julliard a41b2cfdd0 Moved tweak support to USER dll. Removed tweak.h and cache.h. 2001-01-15 20:12:55 +00:00
François Gouget da2b6a9f26 Fixed some HFILE vs. HANDLE mismatches.
If not used the last parameter of CreateFile must be 0, not -1.
2001-01-06 01:29:18 +00:00
Andreas Mohr 7f6c84b591 Starcraft was confused by a wrong FALSE BitBlt return. 2001-01-04 19:28:33 +00:00
François Gouget 55146dbe18 Fixed a few type clashes in preparation for the switch to STRICT. 2000-12-24 20:33:01 +00:00
Francois Gouget 345acc90fd Updated the look of dots and dashes to match the Win32 look.
Issue a FIXME about PS_USERSTYLE.
2000-12-24 20:16:25 +00:00
Alexandre Julliard 5801723b50 Replaced WIN16_GlobalLock16 by "official" function K32WOWGlobalLock16. 2000-12-22 01:09:26 +00:00
Alexandre Julliard 3f75eaacdc Authors: Ove Kaaven <ovek@transgaming.com>, Gavriel State <gav@transgaming.com>
More DIB section copy-blitting improvements: Handle 8bpp DIBs, DC
mapping modes, and clipping. Take advantage of the DIBsection's
XShmImage mechanism to get a really fast blit to the display.
2000-12-22 01:07:57 +00:00
Gerard Patel cb0ce33877 Set the color mask with BI_BITFIELD dibs, don't use the
application-provided value.
2000-12-20 18:39:41 +00:00
Alexandre Julliard db0747d095 Removed some unnecessary includes.
Got rid of ldt.h.
2000-12-13 20:23:41 +00:00
Alexandre Julliard 982a223f36 Replaced PTR_SEG_TO_LIN macro by exported MapSL function.
Fixed a few ptr/segptr mismatches.
Moved CONV_RECT/POINT macros to wingdi16.h.
2000-12-13 20:20:09 +00:00
Alexandre Julliard 447ddfd37d Authors: Ove Kaaven <ovek@transgaming.com>, Andrew Lewycky <andrew@transgaming.com>, Gavriel State <gav@transgaming.com>
DIB section improvements; UpdateDIBSection has been replaced with
LockDIBSection and UnlockDIBSection, for improved thread safety.
DIB_Status_* is now driver-independent, and there's a new
DIB_Status_AuxMod. Better handling of DIB surfaces with nonstandard
pitch. Slight optimization of DIBsection->display BitBlt.
2000-12-06 20:15:43 +00:00
Guy L. Albertelli 7897de4ef8 - correct number of colormap entries looked at in GetDIBColorTable.
- correct number of colormap entries processed in SetDIBColorTable.
2000-12-05 03:53:23 +00:00
Patrik Stridvall 2b3aa616e8 Added/modified documentation for function arguments. 2000-12-01 23:58:28 +00:00
Alexandre Julliard ef57e18f99 Removed some unnecessary includes. 2000-12-01 21:32:55 +00:00
Alexandre Julliard 71d68bbae0 Use the HEAP_WINE_SEGPTR flag to specify allocations on the segptr heap.
Added a hack in MapLS to recognize such allocations and use the heap
selector in this case.
2000-11-30 01:19:51 +00:00
Alexandre Julliard 24a62ab9b0 Got rid of the Wine internal lstrcpy* functions and of winestring.h. 2000-11-28 22:40:56 +00:00
Dimitrie O. Paun 529da54394 Require {DECLARE,DEFAULT}_DEBUG_CHANNEL statements to end in a ; 2000-11-27 23:54:25 +00:00
Andreas Mohr 172495530b Also mention xpm-devel in the error msg. 2000-11-27 22:56:03 +00:00
Alexandre Julliard ac7efef3b5 Changed GetProcAddress16 and 16-bit resource functions to take normal
pointers instead of SEGPTRs.
Removed WIN16_GetTempDrive.
2000-11-27 21:54:01 +00:00
Dimitrie O. Paun 470acf831f Do not compile code that makes use of the X Shm extension. 2000-11-26 03:59:20 +00:00
Ove Kaaven a092dbfc88 Made X11DRV_DIB_GetImageBits_16 aware of 565 DIBs. 2000-11-25 23:51:59 +00:00
Ove Kaaven a32ddc0f8d Implemented Get/SetDIBColorTable. 2000-11-25 21:42:00 +00:00
Marcus Meissner ad62f823f4 GetPixel needs to return CLR_INVALID if not inside clipping region. 2000-11-25 01:22:54 +00:00
Alexandre Julliard 914406f854 Moved LDT handling to libwine.so. Changed the interface to use the
exported LDT_ENTRY structure.
2000-11-14 01:54:49 +00:00
Alexandre Julliard 8c540c657e Replaced a few internal functions by exported ones. 2000-11-13 04:16:05 +00:00
Nerijus Baliunas c4b8b266a9 Add new encodings ISO 8859-10 (cp28600), 8859-13 (cp28603), 8859-14 (cp28604),
8859-15 (cp28605). Add Lithuanian (Baltic) keyboard layout.
2000-11-11 00:34:32 +00:00
Patrik Stridvall d3534c3957 Optimized {,p}MoveTo{,Ex}{,16}. 2000-11-05 03:28:18 +00:00
Alexandre Julliard 2239abb9f9 Allocate DC objects on the process heap, and removed WIN_DC_INFO
structure (based on a patch by Ken Coleman).
2000-11-05 02:05:07 +00:00
Alexandre Julliard 908464d448 Authors: Andreas Mohr <amohr@codeweavers.com>, Dimitrie O. Paun <dimi@cs.toronto.edu>, Patrik Stridvall <ps@leissner.se>
Various warning fixes.
2000-11-01 03:11:12 +00:00
Mark Dufour 704c67505d Make the functions Pie, Chord, RoundRect, AngleArc, PolyDraw and
Ellipse work with an open path.
2000-11-01 02:12:52 +00:00
Francois Gouget 5f74d679ab Use sizeof for maintainability. 2000-10-31 02:02:42 +00:00
Francois Gouget 1746d5fe96 Fixed a few device caps values. 2000-10-31 01:48:34 +00:00
Alexandre Julliard 4c18636d4e Use GetStockObject() instead of the magic STOCK_* handles. 2000-10-29 01:22:15 +00:00
Mark Dufour edfde7f96f Implemented PolyDraw() and AngleArc(). 2000-10-26 19:28:19 +00:00
Mark Dufour 8c538c8190 X11DRV_DrawArc: swap the start and end points when drawing in
clockwise direction.
2000-10-25 21:21:50 +00:00
Ulrich Weigand 8862a4ee71 Don't hold the X11 lock while calling GDI object routines. 2000-10-19 20:23:35 +00:00
Chris Morgan 56af064e01 Implemented the IDC_HAND cursor. 2000-10-13 23:43:45 +00:00
Ove Kaaven 1cbaad7fba Fill in the dsBmih.biSizeImage field of DIBSections with the
calculated bitmap size.
2000-10-13 20:21:45 +00:00
Hidenori Takeshima beca6ada2a Added support for cp936. 2000-10-12 23:05:21 +00:00