0x004CF456
| 1762 | |
| 1763 | // 0x004CF456 |
| 1764 | void closeAllFloatingWindows() |
| 1765 | { |
| 1766 | close(WindowType::dropdown, 0); |
| 1767 | |
| 1768 | bool changed = true; |
| 1769 | while (changed) |
| 1770 | { |
| 1771 | changed = false; |
| 1772 | for (auto it = _windows.rbegin(); it != _windows.rend(); it++) |
| 1773 | { |
| 1774 | auto& w = *it; |
| 1775 | if (w.hasFlags(WindowFlags::stickToBack)) |
| 1776 | { |
| 1777 | continue; |
| 1778 | } |
| 1779 | |
| 1780 | if (w.hasFlags(WindowFlags::stickToFront)) |
| 1781 | { |
| 1782 | continue; |
| 1783 | } |
| 1784 | |
| 1785 | close(&w); |
| 1786 | |
| 1787 | // restart loop |
| 1788 | changed = true; |
| 1789 | break; |
| 1790 | } |
| 1791 | } |
| 1792 | } |
| 1793 | |
| 1794 | int32_t getCurrentRotation() |
| 1795 | { |
no test coverage detected