Displaying 9 results from an estimated 9 matches for "colorref".
2014 Dec 31
3
[LLVMdev] First class aggregates of small size: split when used in function call
Hello,
In my LLVM frontend (CLR/MSIL), I am currently using first-class aggregates
to represent loaded value types on the "CLR stack".
However, I noticed that when calling external method taking those aggregate
by value, they were not passed as I expected:
%COLORREF = type { i8, i8, i8, i8 }
declare i32 @SetLayeredWindowAttributes(i8*, %COLORREF, i8, i32)
I call this function with call x86_stdcallcc (it's a Win32 function, loaded
with GetProcAddress)
However, checking the assembly code, it seems that the %COLORREF gets split
due to the calling convention...
2005 May 25
0
err:local:LOCAL_GetBlock not enough space in GDI heap
...c.bottom, hdcMem, 0, 0, SRCCOPY);
// Free-up the off-screen DC
SelectObject (hdcMem, hOld);
DeleteObject (hbmMem);
DeleteDC (hdcMem);
EndPaint (m_hWnd, &ps);
OnPaint method for m_pMainWnd looks like this:
HPEN hPen = CreatePen( PS_SOLID, 3, m_cCurPen); // m_cCurPen: COLORREF
HBRUSH hBrush = CreateSolidBrush( m_cCurBrush ); // m_cCurBrush:
COLORREF
HPEN hOldPen = (HPEN) SelectObject( dc,hPen );
HBRUSH hOldBrush = (HBRUSH) SelectObject( dc,hBrush );
Ellipse (dc,m_ptOrg.x, m_ptOrg.y, m_ptOrg.x+m_ptDim.x,
m_ptOrg.y+m_ptDim.y);
SelectObject( dc,hOldP...
2011 Dec 24
3
fixme:dib:make_rgb_colorref Unhandled color type ff000000
Hi, I'v got this error ("fixme:dib:make_rgb_colorref Unhandled color type ff000000") which is expressed such an artifacts in a translucent areas: [img]http://imgur.com/hk0nK[/img]
while in winXP screenshot looks like this: [img]http://imgur.com/JqWnP[/img]
the program was written on Delphi
artifact there was on Ubuntu 11.10 with wine-1.3.35-0u...
2007 Mar 21
0
[904] branches/wxruby2/wxwidgets_282: Changes in Wx::Colour API 2.6 -> 2.8
...> h3(#Colour_getpixel). Colour#get_pixel
</span><span class="cx">
</span><span class="cx"> Integer *get_pixel*()
</span><span class="cx">
</span><del>-Returns a pixel value which is platform-dependent. On Windows, a COLORREF is returned.
-On X, an allocated pixel value is returned.
</del><ins>+Returns a pixel value which is platform-dependent. On Windows, a
+COLORREF is returned. On X, an allocated pixel value is returned.
</ins><span class="cx">
</span><span class="cx&q...
2011 Oct 21
0
Wine release 1.3.31
...gdi32: Make the convert_bits and stretch_bits helpers external.
gdi32: Implement nulldrv_StretchDIBits using the PutImage gdi driver function.
gdi32/tests: Add some StretchDIBits tests.
gdi32/tests: Remove unused legacy values.
gdi32: Introduce a unified function to perform COLORREF to pixel color mapping.
gdi32: Add support for non-rgb colorrefs.
gdi32/tests: Add tests for non-rgb colorrefs.
gdi32: Add pixel_to_colorref primitives.
gdi32: Implement SetPixel.
gdi32/tests: Add tests for SetPixel.
gdi32: Add get_pixel primitives.
gdi32:...
2010 Nov 12
0
Wine release 1.3.7
...ateManagedInstance.
mscoree: Add a trace to _CorExeMain.
gdiplus: Correctly store the given stride in created bitmaps.
Vitaliy Margolen (1):
ntdll: Mask invalid flags for RtlQueueWorkItem.
Vladimir Panteleev (2):
winex11: Add X11DRV_PALETTE_GetColor function to resolve any COLORREF to an RGB.
winex11: Correctly handle non-RGB COLORREFs in BRUSH_SelectSolidBrush.
Yaron Shahrabani (5):
hhctrl.ocx: Added Hebrew translation.
gphoto2: Added Hebrew translation.
msrle32: Added Hebrew translation.
winemine: Added Hebrew translation.
progman: Added...
2013 May 24
0
Wine release 1.5.31
...thumb using DrawEdge() for diagonal edges too.
comctl32: Fix tics rectangle width/height.
comctl32: Remove unused defines.
comdlg32: Add controls codes defines for color choosing dialog.
comdlg32: Return combined color from HSL -> RGB transform.
comdlg32: Pass full colorref to RGB -> HSL conversion function.
comdlg32: Simplify some internal helpers.
comctl32: Allocate edit data with control info.
comctl32: Use selected image for listbox/editbox for selected item only.
comdlg32: Simplify more internal helpers.
msxml3: Fix ignorable whit...
2011 Dec 30
0
Wine release 1.3.36
...of device or mount point to match when looking for an existing volume.
winex11: Keep the device info around as long as XInput2 is active.
winex11: Scale raw motion events according to their valuator range.
msvcrt: Fix formatting of pointers in printf.
gdi32: Fix handling of COLORREFs with illegal values for the high byte.
gdi32: Recompute the brush masks on every use to support PALETTEINDEX colors.
gdi32: Recompute the pen masks on every use to support PALETTEINDEX colors.
gdi32: Recompute the background masks on every use to support PALETTEINDEX colors....
2012 Jan 13
0
Wine release 1.3.37
...nex11: Move the clipboard DIB creation functions to clipboard.c.
winex11: Avoid using DIB functions to create the dithering image.
winex11: Get rid of the DIB section support.
winex11: Remove the global XRender installed flag.
winex11: Create XRender colors from the original COLORREF and add support for PALETTEINDEX colors.
winex11: Avoid some references to the X11 device from XRender.
winex11: Store the XRender format in the bitmap structure.
comctl32: Fix management of imagelist growth amount.
wininet: Don't free name before the IPv6 lookup....