annotate src/glyphs-msw.h @ 267:966663fcf606 r20-5b32

Import from CVS: tag r20-5b32
author cvs
date Mon, 13 Aug 2007 10:26:29 +0200
parents
children b2472a1930f2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
267
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
1 /* mswindows-specific glyphs and related.
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
2 Copyright (C) 1993, 1994 Free Software Foundation, Inc.
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
3 Copyright (C) 1995 Board of Trustees, University of Illinois.
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
4 Copyright (C) 1995, 1996 Ben Wing
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
5 Copyright (C) 1995 Sun Microsystems, Inc.
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
6
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
7 This file is part of XEmacs.
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
8
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
9 XEmacs is free software; you can redistribute it and/or modify it
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
10 under the terms of the GNU General Public License as published by the
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
11 Free Software Foundation; either version 2, or (at your option) any
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
12 later version.
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
13
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
14 XEmacs is distributed in the hope that it will be useful, but WITHOUT
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
15 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
16 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
17 for more details.
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
18
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
19 You should have received a copy of the GNU General Public License
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
20 along with XEmacs; see the file COPYING. If not, write to
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
21 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
22 Boston, MA 02111-1307, USA. */
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
23
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
24 /* Synched up with: Not in FSF. */
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
25
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
26 #ifndef _XEMACS_GLYPHS_MSW_H_
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
27 #define _XEMACS_GLYPHS_MSW_H_
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
28
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
29 #ifdef HAVE_MS_WINDOWS
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
30
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
31 #include <windows.h>
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
32 #include "glyphs.h"
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
33
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
34 /****************************************************************************
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
35 * Image-Instance Object *
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
36 ****************************************************************************/
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
37
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
38 struct mswindows_image_instance_data
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
39 {
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
40 HBITMAP bitmap;
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
41 HDC dc;
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
42 };
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
43
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
44 #define MSWINDOWS_IMAGE_INSTANCE_DATA(i) \
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
45 ((struct mswindows_image_instance_data *) (i)->data)
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
46
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
47 #define IMAGE_INSTANCE_MSWINDOWS_BITMAP(i) \
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
48 (MSWINDOWS_IMAGE_INSTANCE_DATA (i)->bitmap)
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
49 #define IMAGE_INSTANCE_MSWINDOWS_DC(i) \
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
50 (MSWINDOWS_IMAGE_INSTANCE_DATA (i)->dc)
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
51 #define IMAGE_INSTANCE_MSWINDOWS_MASK(i) 0
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
52
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
53 #define XIMAGE_INSTANCE_MSWINDOWS_BITMAP(i) \
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
54 IMAGE_INSTANCE_MSWINDOWS_BITMAP (XIMAGE_INSTANCE (i))
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
55 #define XIMAGE_INSTANCE_MSWINDOWS_DC(i) \
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
56 IMAGE_INSTANCE_MSWINDOWS_DC (XIMAGE_INSTANCE (i))
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
57 #define XIMAGE_INSTANCE_MSWINDOWS_MASK(i) \
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
58 IMAGE_INSTANCE_MSWINDOWS_MASK (XIMAGE_INSTANCE (i))
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
59
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
60 #endif /* HAVE_MS_WINDOWS */
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
61 #endif /* _XEMACS_GLYPHS_MSW_H_ */