| 4773 | } |
| 4774 | |
| 4775 | static void writeQueryMap(FILE *stream, int indent, queryMapObj *querymap) |
| 4776 | { |
| 4777 | colorObj c; |
| 4778 | |
| 4779 | indent++; |
| 4780 | writeBlockBegin(stream, indent, "QUERYMAP"); |
| 4781 | MS_INIT_COLOR(c,255,255,0,255); |
| 4782 | writeColor(stream, indent, "COLOR", &c, &(querymap->color)); |
| 4783 | writeDimension(stream, indent, "SIZE", querymap->width, querymap->height, NULL, NULL); |
| 4784 | writeKeyword(stream, indent, "STATUS", querymap->status, 2, MS_ON, "ON", MS_OFF, "OFF"); |
| 4785 | writeKeyword(stream, indent, "STYLE", querymap->style, 3, MS_NORMAL, "NORMAL", MS_HILITE, "HILITE", MS_SELECTED, "SELECTED"); |
| 4786 | writeBlockEnd(stream, indent, "QUERYMAP"); |
| 4787 | writeLineFeed(stream); |
| 4788 | } |
| 4789 | |
| 4790 | /* |
| 4791 | ** Initialize a webObj structure |
no test coverage detected