Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jason Beetham
wine
Commits
6f01462b
Commit
6f01462b
authored
25 years ago
by
Pavel Roskin
Committed by
Alexandre Julliard
25 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fixed ugly disabled controls and black background in Write and Lotus
Notes.
parent
026f705d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
graphics/x11drv/bitblt.c
+1
-1
1 addition, 1 deletion
graphics/x11drv/bitblt.c
graphics/x11drv/palette.c
+5
-1
5 additions, 1 deletion
graphics/x11drv/palette.c
include/x11drv.h
+0
-1
0 additions, 1 deletion
include/x11drv.h
windows/x11drv/main.c
+2
-0
2 additions, 0 deletions
windows/x11drv/main.c
with
8 additions
and
3 deletions
graphics/x11drv/bitblt.c
+
1
−
1
View file @
6f01462b
...
...
@@ -1293,7 +1293,7 @@ static BOOL BITBLT_InternalStretchBlt( DC *dcDst, INT xDst, INT yDst,
{
XSetFunction
(
display
,
physDevDst
->
gc
,
GXcopy
);
XSetForeground
(
display
,
physDevDst
->
gc
,
X11DRV_PALETTE_PaletteToXPixel
[
X11DRV_DevCaps
.
sizePalette
-
1
]
);
WhitePixelOfScreen
(
X11DRV_GetXScreen
()
)
);
XSetFillStyle
(
display
,
physDevDst
->
gc
,
FillSolid
);
}
XFillRectangle
(
display
,
physDevDst
->
drawable
,
physDevDst
->
gc
,
...
...
This diff is collapsed.
Click to expand it.
graphics/x11drv/palette.c
+
5
−
1
View file @
6f01462b
...
...
@@ -88,6 +88,7 @@ static void X11DRV_PALETTE_ComputeShifts(unsigned long maskbits, int *shift, int
static
void
X11DRV_PALETTE_FillDefaultColors
(
void
);
static
void
X11DRV_PALETTE_FormatSystemPalette
(
void
);
static
BOOL
X11DRV_PALETTE_CheckSysColor
(
COLORREF
c
);
static
int
X11DRV_PALETTE_LookupSystemXPixel
(
COLORREF
col
);
/***********************************************************************
* COLOR_Init
...
...
@@ -788,7 +789,7 @@ int X11DRV_PALETTE_ToPhysical( DC *dc, COLORREF color )
/***********************************************************************
* X11DRV_PALETTE_LookupSystemXPixel
*/
int
X11DRV_PALETTE_LookupSystemXPixel
(
COLORREF
col
)
static
int
X11DRV_PALETTE_LookupSystemXPixel
(
COLORREF
col
)
{
int
i
,
best
=
0
,
diff
=
0x7fffffff
;
int
size
=
X11DRV_DevCaps
.
sizePalette
;
...
...
@@ -955,6 +956,9 @@ int X11DRV_PALETTE_UpdateMapping(PALETTEOBJ *palPtr)
{
int
i
,
index
,
realized
=
0
;
if
(
!
X11DRV_DevCaps
.
sizePalette
)
return
0
;
for
(
i
=
0
;
i
<
20
;
i
++
)
{
index
=
X11DRV_PALETTE_LookupSystemXPixel
(
*
(
COLORREF
*
)(
palPtr
->
logpalette
.
palPalEntry
+
i
));
...
...
This diff is collapsed.
Click to expand it.
include/x11drv.h
+
0
−
1
View file @
6f01462b
...
...
@@ -286,7 +286,6 @@ extern void X11DRV_PALETTE_Cleanup(void);
extern
COLORREF
X11DRV_PALETTE_ToLogical
(
int
pixel
);
extern
int
X11DRV_PALETTE_ToPhysical
(
struct
tagDC
*
dc
,
COLORREF
color
);
extern
int
X11DRV_PALETTE_LookupSystemXPixel
(
COLORREF
col
);
extern
struct
tagPALETTE_DRIVER
X11DRV_PALETTE_Driver
;
...
...
This diff is collapsed.
Click to expand it.
windows/x11drv/main.c
+
2
−
0
View file @
6f01462b
...
...
@@ -125,6 +125,8 @@ BOOL X11DRV_USER_Initialize(void)
X11DRV_USER_ParseOptions
(
Options
.
argc
,
Options
.
argv
);
X11DRV_USER_Create
();
X11DRV_USER_SaveSetup
();
return
TRUE
;
}
/***********************************************************************
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment