| 851 | } |
| 852 | |
| 853 | bool recompui::is_context_capturing_mouse() { |
| 854 | std::lock_guard lock{ui_state_mutex}; |
| 855 | |
| 856 | if (!ui_state) { |
| 857 | return false; |
| 858 | } |
| 859 | |
| 860 | return ui_state->is_context_capturing_mouse(); |
| 861 | } |
| 862 | |
| 863 | bool recompui::is_any_context_shown() { |
| 864 | std::lock_guard lock{ui_state_mutex}; |
nothing calls this directly
no outgoing calls
no test coverage detected