Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
8150b52c
Commit
8150b52c
authored
Nov 22, 1998
by
Ian Schmidt
Committed by
Alexandre Julliard
Nov 22, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added stubs for two undocumented GDI routines, SetMagicColors and
SetSolidBrush. This allows Win98 native USER to start up.
parent
8320d678
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
2 deletions
+29
-2
gdi.spec
if1632/gdi.spec
+2
-2
brush.c
objects/brush.c
+18
-0
palette.c
objects/palette.c
+9
-0
No files found.
if1632/gdi.spec
View file @
8150b52c
...
...
@@ -373,9 +373,9 @@ file gdi.exe
569 pascal16 GDI_569() stub_GDI_569
602 pascal16 SetDIBColorTable(word word word ptr) SetDIBColorTable16
603 pascal16 GetDIBColorTable(word word word ptr) GetDIBColorTable16
604
stub SetSolidBrush
604
pascal16 SetSolidBrush(word long) SetSolidBrush16
605 pascal16 SysDeleteObject(word) DeleteObject16 # ???
606
stub SetMagicColors
606
pascal16 SetMagicColors(word long word) SetMagicColors16
607 stub GetRegionData
608 stub ExtCreateRegion
609 stub GDIFreeResources
...
...
objects/brush.c
View file @
8150b52c
...
...
@@ -334,3 +334,21 @@ INT32 BRUSH_GetObject32( BRUSHOBJ * brush, INT32 count, LPSTR buffer )
memcpy
(
buffer
,
&
brush
->
logbrush
,
count
);
return
count
;
}
/***********************************************************************
* SetSolidBrush16 (GDI.604)
*
* If hBrush is a solid brush, change it's color to newColor.
*
* RETURNS
* TRUE on success, FALSE on failure.
* FIXME: not yet implemented!
*/
BOOL16
WINAPI
SetSolidBrush16
(
HBRUSH16
hBrush
,
COLORREF
newColor
)
{
FIXME
(
gdi
,
"(hBrush %04x, newColor %04x): stub!
\n
"
,
hBrush
,
(
int
)
newColor
);
return
(
FALSE
);
}
objects/palette.c
View file @
8150b52c
...
...
@@ -791,3 +791,12 @@ BOOL32 WINAPI UpdateColors32(
return
TRUE
;
}
/*********************************************************************
* SetMagicColors16 (GDI.606)
*/
VOID
WINAPI
SetMagicColors16
(
HDC16
hDC
,
COLORREF
color
,
UINT16
index
)
{
FIXME
(
palette
,
"(hDC %04x, color %04x, index %04x): stub
\n
"
,
hDC
,
(
int
)
color
,
index
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment