Commit Graph

8 Commits

Author SHA1 Message Date
RH fc67e58646 Imgui and Inspector enhancements (#1396)
* [imgui] Add support for displaying images correctly that are rotated in texture atlas
[imgui] Add parameter to select if displayed image maintains aspect ratio
[imgui] Move static methods to anonymous namespace
[imgui] Minor code clean-up

* [imgui] Add support for displaying SpriteFrame

* [imgui] Update test to show usage of ImGuiPresenter::image helper methods

* [Inspector] Show image of selected sprite
2023-10-20 19:22:49 +08:00
RH c5512a05bc [Inspector] Fix crash and add enhancements (#1394)
* Fix crash related to invalid selected node if it no longer exists in the scene.
Support using a custom font for the inspector.
Support automatic registration of inspector on scene switches.

* Fix compilation issue

* [skip ci] Remove redundant null check
2023-10-19 15:31:01 +08:00
RH 0bf5bed809 Add support for adding custom properties to the inspector (#1392)
Minor code clean-up
2023-10-18 20:11:59 +08:00
halx99 4156052157 Fix win32 dll build 2023-09-29 17:13:35 +08:00
Deal f4c3556039 Inspector: remove dup 0x prefix for object address 2023-09-13 20:42:49 +08:00
halx99 e7b9e5feb7 Change cmake target thirdparty type to INTERFACE 2023-09-12 19:31:41 +08:00
iAndyHD3 aca00138c1 handle cxxabi correctly (fix windows clang) (#1325) 2023-09-12 07:06:04 +08:00
iAndyHD3 810c909e67 Add extension Inspector (Experimental) (#1324)
* node explorer

* fix some crash, add to tests

* change tabs to spaces

* remove node explorer from hello template

* change name to Inspector + add readme

* minor fix

* fix minor things

* fix minor thing...

* fix build on ios, android

* Apply suggestions from code review

* fix typename for gcc/clang, add font

* include cxxabi outside ax namespace
2023-09-12 01:06:28 +08:00