equal
deleted
inserted
replaced
2205 AssignWindowViewport(w, 0, 0, width, height, 0x8080, 0); |
2205 AssignWindowViewport(w, 0, 0, width, height, 0x8080, 0); |
2206 |
2206 |
2207 w = AllocateWindowDesc(&_toolb_normal_desc); |
2207 w = AllocateWindowDesc(&_toolb_normal_desc); |
2208 w->disabled_state = 1 << 17; |
2208 w->disabled_state = 1 << 17; |
2209 w->flags4 &= ~WF_WHITE_BORDER_MASK; |
2209 w->flags4 &= ~WF_WHITE_BORDER_MASK; |
|
2210 |
|
2211 PositionMainToolbar(w); // already WC_MAIN_TOOLBAR passed (&_toolb_normal_desc) |
2210 |
2212 |
2211 _main_status_desc.top = height - 12; |
2213 _main_status_desc.top = height - 12; |
2212 w = AllocateWindowDesc(&_main_status_desc); |
2214 w = AllocateWindowDesc(&_main_status_desc); |
2213 w->flags4 &= ~WF_WHITE_BORDER_MASK; |
2215 w->flags4 &= ~WF_WHITE_BORDER_MASK; |
2214 |
2216 |
2220 AssignWindowViewport(w, 0, 0, width, height, 0, 0); |
2222 AssignWindowViewport(w, 0, 0, width, height, 0, 0); |
2221 |
2223 |
2222 w = AllocateWindowDesc(&_toolb_scen_desc); |
2224 w = AllocateWindowDesc(&_toolb_scen_desc); |
2223 w->disabled_state = 1 << 9; |
2225 w->disabled_state = 1 << 9; |
2224 w->flags4 &= ~WF_WHITE_BORDER_MASK; |
2226 w->flags4 &= ~WF_WHITE_BORDER_MASK; |
|
2227 |
|
2228 PositionMainToolbar(w); // already WC_MAIN_TOOLBAR passed (&_toolb_scen_desc) |
2225 break; |
2229 break; |
2226 default: |
2230 default: |
2227 NOT_REACHED(); |
2231 NOT_REACHED(); |
2228 } |
2232 } |
2229 } |
2233 } |