equal
deleted
inserted
replaced
144 |
144 |
145 /* Shade the viewport into gray, or color*/ |
145 /* Shade the viewport into gray, or color*/ |
146 vp = w->viewport; |
146 vp = w->viewport; |
147 GfxFillRect(vp->left - w->left, vp->top - w->top, |
147 GfxFillRect(vp->left - w->left, vp->top - w->top, |
148 vp->left - w->left + vp->width - 1, vp->top - w->top + vp->height - 1, |
148 vp->left - w->left + vp->width - 1, vp->top - w->top + vp->height - 1, |
149 (ni->flags & NF_INCOLOR ? 0x322 : 0x323) | USE_COLORTABLE |
149 (ni->flags & NF_INCOLOR ? PALETTE_TO_TRANSPARENT : PALETTE_TO_STRUCT_GREY) | (1 << USE_COLORTABLE) |
150 ); |
150 ); |
151 |
151 |
152 COPY_IN_DPARAM(0, ni->params, lengthof(ni->params)); |
152 COPY_IN_DPARAM(0, ni->params, lengthof(ni->params)); |
153 DrawStringMultiCenter(w->width / 2, 20, ni->string_id, 428); |
153 DrawStringMultiCenter(w->width / 2, 20, ni->string_id, 428); |
154 } |
154 } |