aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/vt/font
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2015-02-13 13:55:38 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2015-02-13 13:55:38 +0000
commit4182ffcf3e8a8aa030a3b45e4512bfa0c08828ac (patch)
tree1eda7de1b59654540b44b601bd83fc9c17905d5d /sys/dev/vt/font
parentfbc8d4ff38fd12d5263a4a74b9e29aad35aa6b58 (diff)
downloadsrc-4182ffcf3e8a8aa030a3b45e4512bfa0c08828ac.tar.gz
src-4182ffcf3e8a8aa030a3b45e4512bfa0c08828ac.zip
Improve vt(4) default mouse pointer image. Previous one looked rather ugly,
especially on native monitor resolutions. This one essentially matches X11 default pointer. Differential Revision: https://reviews.freebsd.org/D1801 No objection from: emaste Approved by: adrian, dumbbell
Notes
Notes: svn path=/head/; revision=278673
Diffstat (limited to 'sys/dev/vt/font')
-rw-r--r--sys/dev/vt/font/vt_mouse_cursor.c62
1 files changed, 34 insertions, 28 deletions
diff --git a/sys/dev/vt/font/vt_mouse_cursor.c b/sys/dev/vt/font/vt_mouse_cursor.c
index 4f1299164178..5e012150c2d3 100644
--- a/sys/dev/vt/font/vt_mouse_cursor.c
+++ b/sys/dev/vt/font/vt_mouse_cursor.c
@@ -35,36 +35,42 @@ __FBSDID("$FreeBSD$");
#ifndef SC_NO_CUTPASTE
struct vt_mouse_cursor vt_default_mouse_pointer = {
.map = {
- 0x00, /* "__ " */
- 0x40, /* "_*_ " */
- 0x60, /* "_**_ " */
- 0x70, /* "_***_ " */
- 0x78, /* "_****_ " */
- 0x7c, /* "_*****_ " */
- 0x7e, /* "_******_" */
- 0x68, /* "_**_****" */
- 0x4c, /* "_*__**_ " */
- 0x0c, /* " _ _**_ " */
- 0x06, /* " _**_" */
- 0x06, /* " _**_" */
- 0x00, /* " ____" */
+ 0x00, 0x00, /* "__ " */
+ 0x40, 0x00, /* "_*_ " */
+ 0x60, 0x00, /* "_**_ " */
+ 0x70, 0x00, /* "_***_ " */
+ 0x78, 0x00, /* "_****_ " */
+ 0x7c, 0x00, /* "_*****_ " */
+ 0x7e, 0x00, /* "_******_ " */
+ 0x7f, 0x00, /* "_*******_ " */
+ 0x7f, 0x80, /* "_********_" */
+ 0x7c, 0x00, /* "_*****____" */
+ 0x6c, 0x00, /* "_**_**_ " */
+ 0x46, 0x00, /* "_*_ _**_ " */
+ 0x06, 0x00, /* "__ _**_ " */
+ 0x03, 0x00, /* " _**_ " */
+ 0x03, 0x00, /* " _**_ " */
+ 0x00, 0x00, /* " __ " */
},
.mask = {
- 0xc0, /* "__ " */
- 0xe0, /* "___ " */
- 0xf0, /* "____ " */
- 0xf8, /* "_____ " */
- 0xfc, /* "______ " */
- 0xfe, /* "_______ " */
- 0xff, /* "________" */
- 0xff, /* "________" */
- 0xfe, /* "_______ " */
- 0x5e, /* " _ ____ " */
- 0x0f, /* " ____" */
- 0x0f, /* " ____" */
- 0x0f, /* " ____" */
+ 0xc0, 0x00, /* "__ " */
+ 0xe0, 0x00, /* "___ " */
+ 0xf0, 0x00, /* "____ " */
+ 0xf8, 0x00, /* "_____ " */
+ 0xfc, 0x00, /* "______ " */
+ 0xfe, 0x00, /* "_______ " */
+ 0xff, 0x00, /* "________ " */
+ 0xff, 0x80, /* "_________ " */
+ 0xff, 0xc0, /* "__________" */
+ 0xff, 0xc0, /* "__________" */
+ 0xfe, 0x00, /* "_______ " */
+ 0xef, 0x00, /* "___ ____ " */
+ 0xcf, 0x00, /* "__ ____ " */
+ 0x07, 0x80, /* " ____ " */
+ 0x07, 0x80, /* " ____ " */
+ 0x03, 0x00, /* " __ " */
},
- .width = 8,
- .height = 13,
+ .width = 10,
+ .height = 16,
};
#endif