#include #include #include "wvexporter.h" void wvPutSHD(SHD *item, wvStream *fd) { U16 temp16 = 0; temp16 |= item->icoFore; temp16 |= item->icoBack << 5; temp16 |= item->ipat << 10; write_16ubit(fd, temp16); }