Fixed version from coi version
- Programable pipline
- Add ImageButton create with SpriteFrameCached
- Fix Cocos2d-x Implement
- Auto add ImGUI layer on top whenever create or change Scene
- All ImGUI v1.4.8 WIP features + Simple Style Change
-
Replace AppDelegate and GLViewImpl as needed
-
Add the ImGui callbacks through the
CCIMGUI
global
CCIMGUI::getInstance()->addImGUI([=](){
ImGui::SetNextWindowPos(ImVec2(650, 20), ImGuiSetCond_FirstUseEver);
ImGui::ShowTestWindow(&isShowDemo);
}, "Function ID");
this will auto add to pipline
- Remove ImGUI functions
CCIMGUI::getInstance()->removeImGUI("Function ID");
- Other
CCIMGUI::getInstance()->getWindow() \\ Return GLFWwindow*
CCIMGUI::getInstance()->setShowStyleEditor(true or false)