comparison src/device.c @ 400:a86b2b5e0111 r21-2-30

Import from CVS: tag r21-2-30
author cvs
date Mon, 13 Aug 2007 11:14:34 +0200
parents 74fd4e045ea6
children 2f8bb876ab1d
comparison
equal deleted inserted replaced
399:376370fb5946 400:a86b2b5e0111
1 /* Generic device functions. 1 /* Generic device functions.
2 Copyright (C) 1994, 1995 Board of Trustees, University of Illinois. 2 Copyright (C) 1994, 1995 Board of Trustees, University of Illinois.
3 Copyright (C) 1994, 1995 Free Software Foundation, Inc. 3 Copyright (C) 1994, 1995 Free Software Foundation, Inc.
4 Copyright (C) 1995, 1996 Ben Wing 4 Copyright (C) 1995, 1996 Ben Wing
5 5
6 This file is part of XEmacs. 6 This file is part of XEmacs.
984 size-icon Icon dimensions. 984 size-icon Icon dimensions.
985 size-icon-small Small icon dimensions. 985 size-icon-small Small icon dimensions.
986 size-device Device screen or paper size in pixels. 986 size-device Device screen or paper size in pixels.
987 size-workspace Workspace size in pixels. This can be less than or 987 size-workspace Workspace size in pixels. This can be less than or
988 equal to the above. For diplays, this is the area 988 equal to the above. For diplays, this is the area
989 available to applications less window manager 989 available to applications less window manager
990 decorations. For printers, this is the size of 990 decorations. For printers, this is the size of
991 printable area. 991 printable area.
992 offset-workspace Offset of workspace area from the top left corner 992 offset-workspace Offset of workspace area from the top left corner
993 of screen or paper. 993 of screen or paper.
994 size-device-mm Device screen size in millimeters. 994 size-device-mm Device screen size in millimeters.
1242 /************************************************************************/ 1242 /************************************************************************/
1243 1243
1244 void 1244 void
1245 syms_of_device (void) 1245 syms_of_device (void)
1246 { 1246 {
1247 INIT_LRECORD_IMPLEMENTATION (device);
1248
1247 DEFSUBR (Fvalid_device_class_p); 1249 DEFSUBR (Fvalid_device_class_p);
1248 DEFSUBR (Fdevice_class_list); 1250 DEFSUBR (Fdevice_class_list);
1249 1251
1250 DEFSUBR (Fdfw_device); 1252 DEFSUBR (Fdfw_device);
1251 DEFSUBR (Fselected_device); 1253 DEFSUBR (Fselected_device);