Changeset 3426 for trunk/tools/wrc/dumpres.c
- Timestamp:
- Apr 19, 2000, 4:46:07 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/wrc/dumpres.c
r882 r3426 8 8 #include "config.h" 9 9 10 #include <assert.h> 10 11 #include <stdio.h> 11 12 #include <ctype.h> … … 498 499 printf("\tx, y, w, h: %d, %d, %d, %d\n", ctrl->x, ctrl->y, ctrl->width, ctrl->height); 499 500 if(ctrl->gotstyle) 500 printf("\tStyle: %08lx\n", ctrl->style); 501 { 502 assert(ctrl->style != NULL); 503 assert(ctrl->style->and_mask == 0); 504 printf("\tStyle: %08lx\n", ctrl->style->or_mask); 505 } 501 506 if(ctrl->gotexstyle) 502 printf("\tExStyle: %08lx\n", ctrl->exstyle); 507 { 508 assert(ctrl->exstyle != NULL); 509 assert(ctrl->exstyle->and_mask == 0); 510 printf("\tExStyle: %08lx\n", ctrl->exstyle->or_mask); 511 } 503 512 if(ctrl->gothelpid) 504 513 printf("\tHelpid: %ld\n", ctrl->helpid); … … 530 539 printf("x, y, w, h: %d, %d, %d, %d\n", dlg->x, dlg->y, dlg->width, dlg->height); 531 540 if(dlg->gotstyle) 532 printf("Style: %08lx\n", dlg->style); 541 { 542 assert(dlg->style != NULL); 543 assert(dlg->style->and_mask == 0); 544 printf("Style: %08lx\n", dlg->style->or_mask); 545 546 } 533 547 if(dlg->gotexstyle) 534 printf("ExStyle: %08lx\n", dlg->exstyle); 548 { 549 assert(dlg->exstyle != NULL); 550 assert(dlg->exstyle->and_mask == 0); 551 printf("ExStyle: %08lx\n", dlg->exstyle->or_mask); 552 } 535 553 printf("Menu: %s\n", get_nameid_str(dlg->menu)); 536 554 printf("Class: %s\n", get_nameid_str(dlg->dlgclass)); … … 571 589 printf("x, y, w, h: %d, %d, %d, %d\n", dlgex->x, dlgex->y, dlgex->width, dlgex->height); 572 590 if(dlgex->gotstyle) 573 printf("Style: %08lx\n", dlgex->style); 591 { 592 assert(dlgex->style != NULL); 593 assert(dlgex->style->and_mask == 0); 594 printf("Style: %08lx\n", dlgex->style->or_mask); 595 } 574 596 if(dlgex->gotexstyle) 575 printf("ExStyle: %08lx\n", dlgex->exstyle); 597 { 598 assert(dlgex->exstyle != NULL); 599 assert(dlgex->exstyle->and_mask == 0); 600 printf("ExStyle: %08lx\n", dlgex->exstyle->or_mask); 601 } 576 602 if(dlgex->gothelpid) 577 603 printf("Helpid: %ld\n", dlgex->helpid);
Note:
See TracChangeset
for help on using the changeset viewer.