Searched refs:index_from_ptr (Results 1 – 4 of 4) sorted by relevance
1299 …int GetTabOrder(const ImGuiTabItem* tab) const { return Tabs.index_from_ptr(tab);… in GetTabOrder()
1224 …inline int index_from_ptr(const T* it) const { IM_ASSERT(it >= Data && it <= Data+Size)… in index_from_ptr() function
4495 window->SettingsIdx = g.SettingsWindows.index_from_ptr(settings); in CreateNewWindow()9133 window->SettingsIdx = g.SettingsWindows.index_from_ptr(settings); in SettingsHandlerWindow_WriteAll()
6376 tab_bar->LastTabItemIdx = (short)tab_bar->Tabs.index_from_ptr(tab); in TabItemEx()