Themes improvement
name: Pull Request about: Create a pull request to help us improve title: Several fixes on theme internals assignees: @hoffstadt
Description: This PR is difficult to test as it fixes internal-looking issues within mvThemes.cpp.
- Fixes the use of smart pointers and gets rid of circular references.
- Removes the useless
all_item_theme_component(it is never really used by push/pop because ofmvAppItemType::Allconditions in them). - Fixes pop order for components.
Concerning Areas: None.
Is this ready?
Techincally yes, it is ready. I've just added a minor change that should prevent potential undefined behavior (which currently would not happen anyway, it's just to make code more robust).
I see on the Checks tab that the Windows build fails in ImPlot. It's not related to this PR but I think we need to fix it anyway. Will take a look a bit later. It builds fine on my local Windows machine.