comparison src/objects-w32.h @ 209:41ff10fd062f r20-4b3

Import from CVS: tag r20-4b3
author cvs
date Mon, 13 Aug 2007 10:04:58 +0200
parents
children
comparison
equal deleted inserted replaced
208:f427b8ec4379 209:41ff10fd062f
1 /* win32-specific Lisp objects.
2 Copyright (C) 1993, 1994 Free Software Foundation, Inc.
3 Copyright (C) 1995 Board of Trustees, University of Illinois.
4 Copyright (C) 1995, 1996 Ben Wing.
5 Copyright (C) 1997, Jonathan Harris.
6
7 This file is part of XEmacs.
8
9 XEmacs is free software; you can redistribute it and/or modify it
10 under the terms of the GNU General Public License as published by the
11 Free Software Foundation; either version 2, or (at your option) any
12 later version.
13
14 XEmacs is distributed in the hope that it will be useful, but WITHOUT
15 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
16 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
17 for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with XEmacs; see the file COPYING. If not, write to
21 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
22 Boston, MA 02111-1307, USA. */
23
24 /* Synched up with: Not in FSF. */
25
26 /* Authorship:
27
28 Ultimately based on FSF.
29 Rewritten by Ben Wing.
30 Rewritten for win32 by Jonathan Harris, November 1997 for 20.4.
31 */
32
33
34 #ifndef _XEMACS_OBJECTS_W32_H_
35 #define _XEMACS_OBJECTS_W32_H_
36
37 #include "objects.h"
38
39 struct w32_color_instance_data
40 {
41 COLORREF color;
42 HBRUSH brush;
43 };
44
45 #define W32_COLOR_INSTANCE_DATA(c) ((struct w32_color_instance_data *) (c)->data)
46 #define COLOR_INSTANCE_W32_COLOR(c) (W32_COLOR_INSTANCE_DATA (c)->color)
47 #define COLOR_INSTANCE_W32_BRUSH(c) (W32_COLOR_INSTANCE_DATA (c)->brush)
48
49
50 #define FONT_INSTANCE_W32_HFONT(c) ((HFONT) (c)->data)
51
52 #endif /* _XEMACS_OBJECTS_W32_H_ */