| 1242 | }; |
| 1243 | |
| 1244 | struct ImGuiPtrOrIndex |
| 1245 | { |
| 1246 | void* Ptr; // Either field can be set, not both. e.g. Dock node tab bars are loose while BeginTabBar() ones are in a pool. |
| 1247 | int Index; // Usually index in a main pool. |
| 1248 | |
| 1249 | ImGuiPtrOrIndex(void* ptr) { Ptr = ptr; Index = -1; } |
| 1250 | ImGuiPtrOrIndex(int index) { Ptr = NULL; Index = index; } |
| 1251 | }; |
| 1252 | |
| 1253 | //----------------------------------------------------------------------------- |
| 1254 | // [SECTION] Inputs support |
no outgoing calls
no test coverage detected