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
bce5f88f
Commit
bce5f88f
authored
Apr 10, 1999
by
Richard Mortimer
Committed by
Alexandre Julliard
Apr 10, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added missing *IsDark entries into PALETTE_Driver instance
initialisation.
parent
2f9a31c2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
2 deletions
+12
-2
init.c
graphics/ttydrv/init.c
+2
-1
palette.c
graphics/ttydrv/palette.c
+8
-0
init.c
graphics/x11drv/init.c
+2
-1
No files found.
graphics/ttydrv/init.c
View file @
bce5f88f
...
...
@@ -102,7 +102,8 @@ BITMAP_DRIVER TTYDRV_BITMAP_Driver =
PALETTE_DRIVER
TTYDRV_PALETTE_Driver
=
{
TTYDRV_PALETTE_SetMapping
,
TTYDRV_PALETTE_UpdateMapping
TTYDRV_PALETTE_UpdateMapping
,
TTYDRV_PALETTE_IsDark
};
/* FIXME: Adapt to the TTY driver. Copied from the X11 driver */
...
...
graphics/ttydrv/palette.c
View file @
bce5f88f
...
...
@@ -39,3 +39,11 @@ int TTYDRV_PALETTE_UpdateMapping(PALETTEOBJ *palPtr)
{
return
0
;
}
/***********************************************************************
* TTYDRV_PALETTE_IsDark
*/
int
TTYDRV_PALETTE_IsDark
(
int
pixel
)
{
return
0
;
}
graphics/x11drv/init.c
View file @
bce5f88f
...
...
@@ -116,7 +116,8 @@ BITMAP_DRIVER X11DRV_BITMAP_Driver =
PALETTE_DRIVER
X11DRV_PALETTE_Driver
=
{
X11DRV_PALETTE_SetMapping
,
X11DRV_PALETTE_UpdateMapping
X11DRV_PALETTE_UpdateMapping
,
X11DRV_PALETTE_IsDark
};
DeviceCaps
X11DRV_DevCaps
=
{
...
...
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