summaryrefslogtreecommitdiffstats
path: root/sys/isa/syscons.h
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>1996-09-01 18:16:06 +0000
committersos <sos@FreeBSD.org>1996-09-01 18:16:06 +0000
commit2baa7a7ec3b66a5bf7f6408818b815557cf30fdb (patch)
treecaaf51b92a7b43dbad68ab8b467ebc53d9b0609a /sys/isa/syscons.h
parentc5872b9e4b7fa2407acb05712842969ad58ebb3c (diff)
downloadFreeBSD-src-2baa7a7ec3b66a5bf7f6408818b815557cf30fdb.zip
FreeBSD-src-2baa7a7ec3b66a5bf7f6408818b815557cf30fdb.tar.gz
Fixed a couple of bugs in the mousepointer code.
Changed update strategy slightly. Make set_mode & copy_font externally visible.
Diffstat (limited to 'sys/isa/syscons.h')
-rw-r--r--sys/isa/syscons.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/sys/isa/syscons.h b/sys/isa/syscons.h
index 42c464a..651510a 100644
--- a/sys/isa/syscons.h
+++ b/sys/isa/syscons.h
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: syscons.h,v 1.18 1996/06/25 08:54:47 sos Exp $
+ * $Id: syscons.h,v 1.19 1996/06/26 13:04:53 sos Exp $
*/
#ifndef _I386_ISA_SYSCONS_H_
@@ -60,8 +60,8 @@
#define SWITCH_WAIT_ACQ 0x00080
#define BUFFER_SAVED 0x00100
#define CURSOR_ENABLED 0x00200
-#define CURSOR_SHOWN 0x00400
-#define MOUSE_ENABLED 0x00800
+#define MOUSE_ENABLED 0x00400
+#define MOUSE_MOVED 0x00800
#define MOUSE_CUTTING 0x01000
/* configuration flags */
@@ -148,12 +148,12 @@ typedef struct scr_stat {
term_stat term; /* terminal emulation stuff */
int status; /* status (bitfield) */
u_short *cursor_pos; /* cursor buffer position */
+ u_short *cursor_oldpos; /* cursor old buffer position */
u_short cursor_saveunder; /* saved chars under cursor */
char cursor_start; /* cursor start line # */
char cursor_end; /* cursor end line # */
u_short *mouse_pos; /* mouse buffer position */
u_short *mouse_oldpos; /* mouse old buffer position */
- u_short mouse_saveunder[4]; /* saved chars under mouse */
short mouse_xpos; /* mouse x coordinate */
short mouse_ypos; /* mouse y coordinate */
short mouse_buttons; /* mouse buttons */
@@ -184,6 +184,8 @@ typedef struct default_attr {
} default_attr;
void load_palette(void);
-void set_border(int color);
+void set_border(u_char color);
+void set_mode(scr_stat *scp);
+void copy_font(int operation, int font_type, char* font_image);
#endif /* !_I386_ISA_SYSCONS_H_ */
OpenPOWER on IntegriCloud