Closed Dominaezzz closed 4 years ago
Convenience DSLs like these should be generated.
inline fun ImGui.menuBar(block: () -> Unit) { if (beginMenuBar()) { try { block() } finally { endMenuBar() } } }
inline fun ImGui.withId(id: Int, block: () -> Unit) { pushId(id) try { block() } finally { popId() } }
Merged to master.
Convenience DSLs like these should be generated.