xref: /freebsd/sys/dev/vt/font/vt_mouse_cursor.c (revision 685dc743dc3b5645e34836464128e1c0558b404b)
127cf7d04SAleksandr Rybalko /*-
2*4d846d26SWarner Losh  * SPDX-License-Identifier: BSD-2-Clause
3718cf2ccSPedro F. Giffuni  *
427cf7d04SAleksandr Rybalko  * Copyright (c) 2013 The FreeBSD Foundation
527cf7d04SAleksandr Rybalko  *
627cf7d04SAleksandr Rybalko  * This software was developed by Aleksandr Rybalko under sponsorship from the
727cf7d04SAleksandr Rybalko  * FreeBSD Foundation.
827cf7d04SAleksandr Rybalko  *
927cf7d04SAleksandr Rybalko  * Redistribution and use in source and binary forms, with or without
1027cf7d04SAleksandr Rybalko  * modification, are permitted provided that the following conditions
1127cf7d04SAleksandr Rybalko  * are met:
1227cf7d04SAleksandr Rybalko  * 1. Redistributions of source code must retain the above copyright
1327cf7d04SAleksandr Rybalko  *    notice, this list of conditions and the following disclaimer.
1427cf7d04SAleksandr Rybalko  * 2. Redistributions in binary form must reproduce the above copyright
1527cf7d04SAleksandr Rybalko  *    notice, this list of conditions and the following disclaimer in the
1627cf7d04SAleksandr Rybalko  *    documentation and/or other materials provided with the distribution.
1727cf7d04SAleksandr Rybalko  *
1827cf7d04SAleksandr Rybalko  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1927cf7d04SAleksandr Rybalko  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2027cf7d04SAleksandr Rybalko  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2127cf7d04SAleksandr Rybalko  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
2227cf7d04SAleksandr Rybalko  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2327cf7d04SAleksandr Rybalko  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2427cf7d04SAleksandr Rybalko  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2527cf7d04SAleksandr Rybalko  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2627cf7d04SAleksandr Rybalko  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2727cf7d04SAleksandr Rybalko  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2827cf7d04SAleksandr Rybalko  * SUCH DAMAGE.
2927cf7d04SAleksandr Rybalko  */
3027cf7d04SAleksandr Rybalko 
3127cf7d04SAleksandr Rybalko #include <sys/cdefs.h>
3227cf7d04SAleksandr Rybalko #include <dev/vt/vt.h>
3327cf7d04SAleksandr Rybalko 
340f49db6eSAleksandr Rybalko #ifndef SC_NO_CUTPASTE
3502ebdd50SJean-Sébastien Pédron struct vt_mouse_cursor vt_default_mouse_pointer = {
3627cf7d04SAleksandr Rybalko 	.map = {
374182ffcfSAlexey Dokuchaev 		0x00, 0x00, /* "__        " */
384182ffcfSAlexey Dokuchaev 		0x40, 0x00, /* "_*_       " */
394182ffcfSAlexey Dokuchaev 		0x60, 0x00, /* "_**_      " */
404182ffcfSAlexey Dokuchaev 		0x70, 0x00, /* "_***_     " */
414182ffcfSAlexey Dokuchaev 		0x78, 0x00, /* "_****_    " */
424182ffcfSAlexey Dokuchaev 		0x7c, 0x00, /* "_*****_   " */
434182ffcfSAlexey Dokuchaev 		0x7e, 0x00, /* "_******_  " */
444182ffcfSAlexey Dokuchaev 		0x7f, 0x00, /* "_*******_ " */
454182ffcfSAlexey Dokuchaev 		0x7f, 0x80, /* "_********_" */
464182ffcfSAlexey Dokuchaev 		0x7c, 0x00, /* "_*****____" */
474182ffcfSAlexey Dokuchaev 		0x6c, 0x00, /* "_**_**_   " */
484182ffcfSAlexey Dokuchaev 		0x46, 0x00, /* "_*_ _**_  " */
494182ffcfSAlexey Dokuchaev 		0x06, 0x00, /* "__  _**_  " */
504182ffcfSAlexey Dokuchaev 		0x03, 0x00, /* "     _**_ " */
514182ffcfSAlexey Dokuchaev 		0x03, 0x00, /* "     _**_ " */
524182ffcfSAlexey Dokuchaev 		0x00, 0x00, /* "      __  " */
5327cf7d04SAleksandr Rybalko 	},
5427cf7d04SAleksandr Rybalko 	.mask = {
554182ffcfSAlexey Dokuchaev 		0xc0, 0x00, /* "__        " */
564182ffcfSAlexey Dokuchaev 		0xe0, 0x00, /* "___       " */
574182ffcfSAlexey Dokuchaev 		0xf0, 0x00, /* "____      " */
584182ffcfSAlexey Dokuchaev 		0xf8, 0x00, /* "_____     " */
594182ffcfSAlexey Dokuchaev 		0xfc, 0x00, /* "______    " */
604182ffcfSAlexey Dokuchaev 		0xfe, 0x00, /* "_______   " */
614182ffcfSAlexey Dokuchaev 		0xff, 0x00, /* "________  " */
624182ffcfSAlexey Dokuchaev 		0xff, 0x80, /* "_________ " */
634182ffcfSAlexey Dokuchaev 		0xff, 0xc0, /* "__________" */
644182ffcfSAlexey Dokuchaev 		0xff, 0xc0, /* "__________" */
654182ffcfSAlexey Dokuchaev 		0xfe, 0x00, /* "_______   " */
664182ffcfSAlexey Dokuchaev 		0xef, 0x00, /* "___ ____  " */
674182ffcfSAlexey Dokuchaev 		0xcf, 0x00, /* "__  ____  " */
684182ffcfSAlexey Dokuchaev 		0x07, 0x80, /* "     ____ " */
694182ffcfSAlexey Dokuchaev 		0x07, 0x80, /* "     ____ " */
704182ffcfSAlexey Dokuchaev 		0x03, 0x00, /* "      __  " */
7127cf7d04SAleksandr Rybalko 	},
724182ffcfSAlexey Dokuchaev 	.width = 10,
734182ffcfSAlexey Dokuchaev 	.height = 16,
7427cf7d04SAleksandr Rybalko };
750f49db6eSAleksandr Rybalko #endif
76