Added missing *IsDark entries into PALETTE_Driver instance
initialisation.
This commit is contained in:
parent
2f9a31c2dc
commit
bce5f88f3d
|
@ -102,7 +102,8 @@ BITMAP_DRIVER TTYDRV_BITMAP_Driver =
|
||||||
PALETTE_DRIVER TTYDRV_PALETTE_Driver =
|
PALETTE_DRIVER TTYDRV_PALETTE_Driver =
|
||||||
{
|
{
|
||||||
TTYDRV_PALETTE_SetMapping,
|
TTYDRV_PALETTE_SetMapping,
|
||||||
TTYDRV_PALETTE_UpdateMapping
|
TTYDRV_PALETTE_UpdateMapping,
|
||||||
|
TTYDRV_PALETTE_IsDark
|
||||||
};
|
};
|
||||||
|
|
||||||
/* FIXME: Adapt to the TTY driver. Copied from the X11 driver */
|
/* FIXME: Adapt to the TTY driver. Copied from the X11 driver */
|
||||||
|
|
|
@ -39,3 +39,11 @@ int TTYDRV_PALETTE_UpdateMapping(PALETTEOBJ *palPtr)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* TTYDRV_PALETTE_IsDark
|
||||||
|
*/
|
||||||
|
int TTYDRV_PALETTE_IsDark(int pixel)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
|
@ -116,7 +116,8 @@ BITMAP_DRIVER X11DRV_BITMAP_Driver =
|
||||||
PALETTE_DRIVER X11DRV_PALETTE_Driver =
|
PALETTE_DRIVER X11DRV_PALETTE_Driver =
|
||||||
{
|
{
|
||||||
X11DRV_PALETTE_SetMapping,
|
X11DRV_PALETTE_SetMapping,
|
||||||
X11DRV_PALETTE_UpdateMapping
|
X11DRV_PALETTE_UpdateMapping,
|
||||||
|
X11DRV_PALETTE_IsDark
|
||||||
};
|
};
|
||||||
|
|
||||||
DeviceCaps X11DRV_DevCaps = {
|
DeviceCaps X11DRV_DevCaps = {
|
||||||
|
|
Loading…
Reference in New Issue