1 /* TTY-specific Lisp objects.
2 Copyright (C) 1995 Board of Trustees, University of Illinois.
3 Copyright (C) 1995 Ben Wing
5 This file is part of SXEmacs
7 SXEmacs is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation, either version 3 of the License, or
10 (at your option) any later version.
12 SXEmacs is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program. If not, see <http://www.gnu.org/licenses/>. */
21 /* Synched up with: Not in FSF. */
23 #ifndef INCLUDED_objects_tty_h_
24 #define INCLUDED_objects_tty_h_
26 #include "ui/objects.h"
28 struct tty_color_instance_data {
29 Lisp_Object symbol; /* so we don't have to constantly call Fintern() */
32 #define TTY_COLOR_INSTANCE_DATA(c) \
33 ((struct tty_color_instance_data *)((c)->data))
35 #define COLOR_INSTANCE_TTY_SYMBOL(c) (TTY_COLOR_INSTANCE_DATA (c)->symbol)
37 struct tty_font_instance_data {
41 #define TTY_FONT_INSTANCE_DATA(c) \
42 ((struct tty_font_instance_data *) (c)->data)
44 #define FONT_INSTANCE_TTY_CHARSET(c) (TTY_FONT_INSTANCE_DATA (c)->charset)
46 extern Lisp_Object Vtty_color_alist;
49 EXFUN(Ffind_tty_color,3);
51 #endif /* INCLUDED_objects_tty_h_ */