equal
deleted
inserted
replaced
221 int x, amt1, amt2; |
221 int x, amt1, amt2; |
222 int color; |
222 int color; |
223 |
223 |
224 DrawFrameRect(r.left, r.top, r.right, r.bottom, wi->color, (clicked) ? FR_LOWERED : 0); |
224 DrawFrameRect(r.left, r.top, r.right, r.bottom, wi->color, (clicked) ? FR_LOWERED : 0); |
225 |
225 |
226 c = (wi->unkA&0xFF); |
226 c = GB(wi->unkA, 0, 8); |
227 amt1 = (wi->right - wi->left + 1) / c; |
227 amt1 = (wi->right - wi->left + 1) / c; |
228 |
228 |
229 d = (wi->unkA >> 8); |
229 d = GB(wi->unkA, 8, 8); |
230 amt2 = (wi->bottom - wi->top + 1) / d; |
230 amt2 = (wi->bottom - wi->top + 1) / d; |
231 |
231 |
232 color = _color_list[wi->color & 0xF].window_color_bgb; |
232 color = _color_list[wi->color & 0xF].window_color_bgb; |
233 |
233 |
234 x = r.left; |
234 x = r.left; |