| 1585 | } |
| 1586 | |
| 1587 | void Flag::SetFlagTexture(Texture* texture) |
| 1588 | { |
| 1589 | if (_texture != texture) |
| 1590 | { |
| 1591 | _texture = texture; |
| 1592 | if (texture) |
| 1593 | { |
| 1594 | _shape->RegisterTexture(texture, _fabric); |
| 1595 | } |
| 1596 | } |
| 1597 | } |
| 1598 | |
| 1599 | void Flag::Draw(int level, ClipFlags clipFlags, const FrameBase& pos) |
| 1600 | { |
nothing calls this directly
no test coverage detected