namespace
| 1693 | |
| 1694 | }; // namespace |
| 1695 | void ztalkbox::render_all() |
| 1696 | { |
| 1697 | if (!(shared.permit & 1)) |
| 1698 | { |
| 1699 | return; |
| 1700 | } |
| 1701 | |
| 1702 | if (!shared.state) |
| 1703 | { |
| 1704 | return; |
| 1705 | } |
| 1706 | |
| 1707 | if (!shared.active->flag.visible) |
| 1708 | { |
| 1709 | return; |
| 1710 | } |
| 1711 | |
| 1712 | ztextbox& d = *shared.active->dialog_box; |
| 1713 | |
| 1714 | if (d.flag.active) |
| 1715 | { |
| 1716 | d.deactivate(); |
| 1717 | } |
| 1718 | |
| 1719 | if (d.flag.show_backdrop) |
| 1720 | { |
| 1721 | d.render_backdrop(); |
| 1722 | } |
| 1723 | |
| 1724 | d.tb.render(*(xtextbox::layout*)&shared.lt, shared.begin_jot, shared.end_jot); |
| 1725 | } |
| 1726 | void ztalkbox::reset_all() |
| 1727 | { |
| 1728 | shared.flags = 0; |
nothing calls this directly
no test coverage detected