| 1 | /* |
| 2 | $Header: d:/cvsroot/tads/TADS2/unix/osdbg.h,v 1.2 1999/05/17 02:52:20 MJRoberts Exp $ |
| 3 | */ |
| 4 | |
| 5 | /* |
| 6 | * Copyright (c) 1992, 2002 Michael J. Roberts. All Rights Reserved. |
| 7 | * |
| 8 | * Please see the accompanying license file, LICENSE.TXT, for information |
| 9 | * on using and copying this software. |
| 10 | */ |
| 11 | /* |
| 12 | Name |
| 13 | osdbg.h - interface definitions for os routines for debugger |
| 14 | Function |
| 15 | interface definitions for os routines for debugger |
| 16 | Notes |
| 17 | none |
| 18 | Modified |
| 19 | 04/21/92 MJRoberts - creation |
| 20 | */ |
| 21 | |
| 22 | #ifndef OSDBG_INCLUDED |
| 23 | #define OSDBG_INCLUDED |
| 24 | |
| 25 | /* window definiton */ |
| 26 | struct oswdef |
| 27 | { |
| 28 | int oswx; /* current x location */ |
| 29 | int oswy; /* current y location */ |
| 30 | int oswcolor; /* current text color */ |
| 31 | int oswx1; /* left edge of window (this column is included in window) */ |
| 32 | int oswy1; /* top line of window */ |
| 33 | int oswx2; /* right edge of window */ |
| 34 | int oswy2; /* bottom line of window */ |
| 35 | int oswflg; /* flags for window */ |
| 36 | # define OSWFCLIP 0x01 /* don't wrap long lines */ |
| 37 | # define OSWFMORE 0x02 /* use [more] mode in this window */ |
| 38 | int oswmore; /* number of lines since last [more] */ |
| 39 | }; |
| 40 | typedef struct oswdef oswdef; |
| 41 | |
| 42 | #endif /* OSDBG_INCLUDED */ |