ImHex/lib/libimhex/source/ui
aoqia194 cf87294a8c
feat: Add EventViewClosed event (#2377)
Where one door opens, another one closes (said someone) and in this
situation i mean view, because there's no event for closing a view only
opening one, so please add this :c

### Problem description
Simply adds an **EventViewClosed** to match the pre-existing
**EventViewOpened**. Also fixes the issue where EventViewOpened wouldn't
trigger for windows that were popups (even if they are technically a
View.

### Implementation description
I mirrored the current functionality of EventViewOpened for closing.

---------

Co-authored-by: paxcut <53811119+paxcut@users.noreply.github.com>
2025-08-06 22:22:46 +02:00
..
banner.cpp feat: Added banners, replace some modals with them 2025-01-15 17:54:07 +01:00
imgui_imhex_extensions.cpp impr: Remove hex::format, improve format and logging type safety 2025-08-06 20:02:23 +02:00
popup.cpp impr: Improve situation where ImHex crashes on exit when resources aren't cleared properly 2024-01-30 11:21:34 +01:00
toast.cpp impr: Improve situation where ImHex crashes on exit when resources aren't cleared properly 2024-01-30 11:21:34 +01:00
view.cpp feat: Add EventViewClosed event (#2377) 2025-08-06 22:22:46 +02:00