equal
deleted
inserted
replaced
47 * also when we use shortcuts */ |
47 * also when we use shortcuts */ |
48 for (uint i = TTW_WIDGET_SIGNS; i < TTW_WIDGET_END; i++) { |
48 for (uint i = TTW_WIDGET_SIGNS; i < TTW_WIDGET_END; i++) { |
49 this->SetWidgetLoweredState(i, IsTransparencySet((TransparencyOption)(i - TTW_WIDGET_SIGNS))); |
49 this->SetWidgetLoweredState(i, IsTransparencySet((TransparencyOption)(i - TTW_WIDGET_SIGNS))); |
50 } |
50 } |
51 |
51 |
52 DrawWindowWidgets(this); |
52 this->DrawWidgets(); |
53 for (uint i = TO_SIGNS; i < TO_END; i++) { |
53 for (uint i = TO_SIGNS; i < TO_END; i++) { |
54 if (HasBit(_transparency_lock, i)) DrawSprite(SPR_LOCK, PAL_NONE, this->widget[TTW_WIDGET_SIGNS + i].left + 1, this->widget[TTW_WIDGET_SIGNS + i].top + 1); |
54 if (HasBit(_transparency_lock, i)) DrawSprite(SPR_LOCK, PAL_NONE, this->widget[TTW_WIDGET_SIGNS + i].left + 1, this->widget[TTW_WIDGET_SIGNS + i].top + 1); |
55 } |
55 } |
56 |
56 |
57 /* Do not draw button for invisible loading indicators */ |
57 /* Do not draw button for invisible loading indicators */ |