patch-2.1.110 linux/drivers/video/fbcon.h
Next file: linux/drivers/video/font.h
Previous file: linux/drivers/video/fbcon.c
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Sat Jul 18 13:55:46 1998
- Orig file:
v2.1.109/linux/drivers/video/fbcon.h
- Orig date:
Thu Jul 16 18:09:27 1998
diff -u --recursive --new-file v2.1.109/linux/drivers/video/fbcon.h linux/drivers/video/fbcon.h
@@ -30,8 +30,15 @@
int count, int yy, int xx);
void (*revc)(struct display *p, int xx, int yy);
void (*cursor)(struct display *p, int mode, int xx, int yy);
+ int (*set_font)(struct display *p, int width, int height);
+ unsigned int fontwidthmask; /* 1 at (1 << (width - 1)) if width is supported */
};
+/* fontwidth w is supported by dispsw */
+#define FONTWIDTH(w) (1 << ((w) - 1))
+/* fontwidths w1-w2 inclusive are supported by dispsw */
+#define FONTWIDTHRANGE(w1,w2) (FONTWIDTH(w2+1) - FONTWIDTH(w1))
+
/*
* Attribute Decoding
@@ -63,6 +70,8 @@
#define SCROLL_YPAN (1)
#define SCROLL_YMOVE (2)
#define SCROLL_YREDRAW (3)
+
+extern void fbcon_redraw_bmove(struct display *, int, int, int, int, int, int);
/* ================================================================= */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov