Backends: Include imgui.h in implementation headers. (#3105)
Currently, the implementation headers don't include the imgui.h header.
Which means that the compilation will fail if the implementation header
was included before the imgui.h header in the compilation unit. For
instance, a compilation unit with the following will work:
But a compilation unit with the following will fail because IMGUI_IMPL_API
and possibly other symbols will not be defined:
This patch includes imgui.h in the implementation headers to make
inclusions order-invariant, which is a recommended practice.
15 files changed