* Read or change attributes for the tty. Note that some attribs may * very well clear and reallocate the bitmap when changed, whereas * others (color, highlight, ...) are guaranteed not to. */
| 929 | * others (color, highlight, ...) are guaranteed not to. |
| 930 | */ |
| 931 | short |
| 932 | get_tty_attrib(WindowPtr window, tty_attrib attrib, long *value) |
| 933 | { |
| 934 | RECORD_EXISTS(record); |
| 935 | |
| 936 | if (attrib < 0 || attrib >= TTY_NUMBER_ATTRIBUTES) { |
| 937 | return general_failure; |
| 938 | } |
| 939 | *value = record->attribute[attrib]; |
| 940 | |
| 941 | return noErr; |
| 942 | } |
| 943 | |
| 944 | short |
| 945 | set_tty_attrib(WindowPtr window, tty_attrib attrib, long value) |
no outgoing calls
no test coverage detected