vt_mouse_cursor.c revision 271128
1194677Sthompsa/*-
2194677Sthompsa * Copyright (c) 2013 The FreeBSD Foundation
3194677Sthompsa * All rights reserved.
4194677Sthompsa *
5194677Sthompsa * This software was developed by Aleksandr Rybalko under sponsorship from the
6194677Sthompsa * FreeBSD Foundation.
7194677Sthompsa *
8194677Sthompsa * Redistribution and use in source and binary forms, with or without
9194677Sthompsa * modification, are permitted provided that the following conditions
10194677Sthompsa * are met:
11194677Sthompsa * 1. Redistributions of source code must retain the above copyright
12194677Sthompsa *    notice, this list of conditions and the following disclaimer.
13194677Sthompsa * 2. Redistributions in binary form must reproduce the above copyright
14194677Sthompsa *    notice, this list of conditions and the following disclaimer in the
15194677Sthompsa *    documentation and/or other materials provided with the distribution.
16194677Sthompsa *
17194677Sthompsa * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
18194677Sthompsa * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19194677Sthompsa * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20194677Sthompsa * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
21194677Sthompsa * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22194677Sthompsa * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23194677Sthompsa * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24194677Sthompsa * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25194677Sthompsa * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26194677Sthompsa * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27194677Sthompsa * SUCH DAMAGE.
28194677Sthompsa */
29194677Sthompsa
30194677Sthompsa#include <sys/cdefs.h>
31194677Sthompsa__FBSDID("$FreeBSD: stable/10/sys/dev/vt/font/vt_mouse_cursor.c 271128 2014-09-04 20:18:08Z emaste $");
32194677Sthompsa
33194677Sthompsa#include <dev/vt/vt.h>
34194677Sthompsa
35194677Sthompsa#ifndef SC_NO_CUTPASTE
36214221Shselaskystruct vt_mouse_cursor vt_default_mouse_pointer = {
37194677Sthompsa	.map = {
38194677Sthompsa		0x00, /* "__      " */
39194677Sthompsa		0x40, /* "_*_     " */
40194677Sthompsa		0x60, /* "_**_    " */
41194677Sthompsa		0x70, /* "_***_   " */
42194677Sthompsa		0x78, /* "_****_  " */
43194677Sthompsa		0x7c, /* "_*****_ " */
44217558Shselasky		0x7e, /* "_******_" */
45246122Shselasky		0x68, /* "_**_****" */
46246194Shselasky		0x4c, /* "_*__**_ " */
47246363Shselasky		0x0c, /* " _ _**_ " */
48194677Sthompsa		0x06, /* "    _**_" */
49194677Sthompsa		0x06, /* "    _**_" */
50194677Sthompsa		0x00, /* "    ____" */
51194677Sthompsa	},
52217793Shselasky	.mask = {
53217793Shselasky		0xc0, /* "__      " */
54217718Shselasky		0xe0, /* "___     " */
55194677Sthompsa		0xf0, /* "____    " */
56217718Shselasky		0xf8, /* "_____   " */
57217793Shselasky		0xfc, /* "______  " */
58217793Shselasky		0xfe, /* "_______ " */
59217793Shselasky		0xff, /* "________" */
60217793Shselasky		0xff, /* "________" */
61194677Sthompsa		0xfe, /* "_______ " */
62194677Sthompsa		0x5e, /* " _ ____ " */
63194677Sthompsa		0x0f, /* "    ____" */
64194677Sthompsa		0x0f, /* "    ____" */
65194677Sthompsa		0x0f, /* "    ____" */
66239214Shselasky	},
67194677Sthompsa	.width = 8,
68194677Sthompsa	.height = 13,
69194677Sthompsa};
70194677Sthompsa#endif
71194677Sthompsa