virtual void handleMenu() { imguiLabel("Create Tiles"); if (imguiButton("Create All")) { if (m_sample) m_sample->buildAllTiles(); } if (imguiButton("Remove All")) { if (m_sample) m_sample->removeAllTiles(); } }
virtual void handleMenu() { imguiLabel("Create Tiles"); if (imguiButton("Create All")) { if (m_sample) m_sample->buildAllTiles(); } if (imguiButton("Remove All")) { if (m_sample) m_sample->removeAllTiles(); } imguiValue("Click LMB to create a tile."); imguiValue("Shift+LMB to remove a tile."); }