diff options
author | Jean-Sébastien Pédron <dumbbell@FreeBSD.org> | 2014-08-21 19:42:24 +0000 |
---|---|---|
committer | Jean-Sébastien Pédron <dumbbell@FreeBSD.org> | 2014-08-21 19:42:24 +0000 |
commit | 02ebdd502d42b175c78cf21f10aec7ff32182da8 (patch) | |
tree | 398cd32fa5493ba739ab66803dbde0dc3300c555 /sys/dev/vt/vt.h | |
parent | 943c702a1b3b891ea7d9d06855dd7737578b7d5a (diff) | |
download | src-02ebdd502d42b175c78cf21f10aec7ff32182da8.tar.gz src-02ebdd502d42b175c78cf21f10aec7ff32182da8.zip |
vt(4): Rename the "mouse_cursor" structure to "vt_mouse_cursor"
At the same time, "w" and "h" members are now called "width" and
"height". The goal is to have a more "public" structure, because it will
soon be passed as argument to a new callback, replacing vd_bitbltchr_t.
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=270293
Diffstat (limited to 'sys/dev/vt/vt.h')
-rw-r--r-- | sys/dev/vt/vt.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/dev/vt/vt.h b/sys/dev/vt/vt.h index c6d31db21b31..c668c87f40f9 100644 --- a/sys/dev/vt/vt.h +++ b/sys/dev/vt/vt.h @@ -284,6 +284,15 @@ struct vt_window { * (VDF_TEXTMODE). */ +#ifndef SC_NO_CUTPASTE +struct vt_mouse_cursor { + uint8_t map[64 * 64 / 8]; + uint8_t mask[64 * 64 / 8]; + uint8_t width; + uint8_t height; +}; +#endif + typedef int vd_init_t(struct vt_device *vd); typedef int vd_probe_t(struct vt_device *vd); typedef void vd_postswitch_t(struct vt_device *vd); @@ -377,15 +386,6 @@ struct vt_font { unsigned int vf_refcount; }; -#ifndef SC_NO_CUTPASTE -struct mouse_cursor { - uint8_t map[64 * 64 / 8]; - uint8_t mask[64 * 64 / 8]; - uint8_t w; - uint8_t h; -}; -#endif - const uint8_t *vtfont_lookup(const struct vt_font *vf, term_char_t c); struct vt_font *vtfont_ref(struct vt_font *vf); void vtfont_unref(struct vt_font *vf); |