xserver/dix/cursor_priv.h
Enrico Weigelt, metux IT consult 24f3c4a508 dix: unexport cursor allocation functions
These functions aren't used by external modules, so no need to export them.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1345>
2024-09-02 16:43:29 +00:00

51 lines
1.5 KiB
C

/* SPDX-License-Identifier: MIT OR X11
*
* Copyright © 2024 Enrico Weigelt, metux IT consult <info@metux.net>
*/
#ifndef _XSERVER_DIX_CURSOR_PRIV_H
#define _XSERVER_DIX_CURSOR_PRIV_H
#include <X11/X.h>
#include <X11/Xmd.h>
#include "include/cursor.h"
#include "include/dix.h"
extern CursorPtr rootCursor;
/* reference counting */
CursorPtr RefCursor(CursorPtr cursor);
CursorPtr UnrefCursor(CursorPtr cursor);
int CursorRefCount(ConstCursorPtr cursor);
int AllocARGBCursor(unsigned char *psrcbits,
unsigned char *pmaskbits,
CARD32 *argb,
CursorMetricPtr cm,
unsigned foreRed,
unsigned foreGreen,
unsigned foreBlue,
unsigned backRed,
unsigned backGreen,
unsigned backBlue,
CursorPtr *ppCurs,
ClientPtr client,
XID cid);
int AllocGlyphCursor(Font source,
unsigned int sourceChar,
Font mask,
unsigned int maskChar,
unsigned foreRed,
unsigned foreGreen,
unsigned foreBlue,
unsigned backRed,
unsigned backGreen,
unsigned backBlue,
CursorPtr *ppCurs,
ClientPtr client,
XID cid);
CursorPtr CreateRootCursor(void);
#endif /* _XSERVER_DIX_CURSOR_PRIV_H */