comparison src/device-msw.c @ 545:9a775fb11bb7

[xemacs-hg @ 2001-05-18 04:39:39 by kkm] My 3 patches of 05/01-05/03
author kkm
date Fri, 18 May 2001 04:39:44 +0000
parents 5bdbc721d46a
children a3adcf42bcec
comparison
equal deleted inserted replaced
544:ffd4d00ff0b6 545:9a775fb11bb7
338 338
339 /* Do not know such property */ 339 /* Do not know such property */
340 return Qunbound; 340 return Qunbound;
341 } 341 }
342 342
343 static unsigned int
344 mswindows_device_implementation_flags (void)
345 {
346 return XDEVIMPF_PIXEL_GEOMETRY;
347 }
348
349 343
350 /************************************************************************/ 344 /************************************************************************/
351 /* printer helpers */ 345 /* printer helpers */
352 /************************************************************************/ 346 /************************************************************************/
353 347
531 { 525 {
532 mark_object (DEVICE_MSPRINTER_FONTLIST (d)); 526 mark_object (DEVICE_MSPRINTER_FONTLIST (d));
533 mark_object (DEVICE_MSPRINTER_DEVMODE (d)); 527 mark_object (DEVICE_MSPRINTER_DEVMODE (d));
534 } 528 }
535 529
536 static unsigned int
537 msprinter_device_implementation_flags (void)
538 {
539 return ( XDEVIMPF_PIXEL_GEOMETRY
540 | XDEVIMPF_IS_A_PRINTER
541 | XDEVIMPF_NO_AUTO_REDISPLAY
542 | XDEVIMPF_FRAMELESS_OK );
543 }
544 530
545 /************************************************************************/ 531 /************************************************************************/
546 /* printer Lisp subroutines */ 532 /* printer Lisp subroutines */
547 /************************************************************************/ 533 /************************************************************************/
548 534
1302 CONSOLE_HAS_METHOD (mswindows, init_device); 1288 CONSOLE_HAS_METHOD (mswindows, init_device);
1303 CONSOLE_HAS_METHOD (mswindows, finish_init_device); 1289 CONSOLE_HAS_METHOD (mswindows, finish_init_device);
1304 CONSOLE_HAS_METHOD (mswindows, mark_device); 1290 CONSOLE_HAS_METHOD (mswindows, mark_device);
1305 CONSOLE_HAS_METHOD (mswindows, delete_device); 1291 CONSOLE_HAS_METHOD (mswindows, delete_device);
1306 CONSOLE_HAS_METHOD (mswindows, device_system_metrics); 1292 CONSOLE_HAS_METHOD (mswindows, device_system_metrics);
1307 CONSOLE_HAS_METHOD (mswindows, device_implementation_flags); 1293 CONSOLE_IMPLEMENTATION_FLAGS (mswindows, XDEVIMPF_PIXEL_GEOMETRY);
1308 1294
1309 CONSOLE_HAS_METHOD (msprinter, init_device); 1295 CONSOLE_HAS_METHOD (msprinter, init_device);
1310 CONSOLE_HAS_METHOD (msprinter, mark_device); 1296 CONSOLE_HAS_METHOD (msprinter, mark_device);
1311 CONSOLE_HAS_METHOD (msprinter, delete_device); 1297 CONSOLE_HAS_METHOD (msprinter, delete_device);
1312 CONSOLE_HAS_METHOD (msprinter, device_system_metrics); 1298 CONSOLE_HAS_METHOD (msprinter, device_system_metrics);
1313 CONSOLE_HAS_METHOD (msprinter, device_implementation_flags); 1299 CONSOLE_IMPLEMENTATION_FLAGS (msprinter, (XDEVIMPF_PIXEL_GEOMETRY
1300 | XDEVIMPF_IS_A_PRINTER
1301 | XDEVIMPF_NO_AUTO_REDISPLAY
1302 | XDEVIMPF_DONT_PREEMPT_REDISPLAY
1303 | XDEVIMPF_FRAMELESS_OK));
1314 } 1304 }
1315 1305
1316 1306
1317 void 1307 void
1318 vars_of_device_mswindows (void) 1308 vars_of_device_mswindows (void)