Searched refs:ImGuiID (Results 1 - 8 of 8) sorted by relevance
| /xsrc/external/mit/MesaLib.old/dist/src/imgui/ |
| H A D | imgui_internal.h | 274 T* GetByKey(ImGuiID key) { int idx = Map.GetInt(key, -1); return (idx != -1) ? &Data[idx] : NULL; } 277 T* GetOrAddByKey(ImGuiID key) { int* p_idx = Map.GetIntRef(key, -1); if (*p_idx != -1) return &Data[*p_idx]; *p_idx = FreeIdx; return Add(); } 280 void Remove(ImGuiID key, const T* p) { Remove(key, GetIndex(p)); } 281 void Remove(ImGuiID key, ImPoolIdx idx) { Data[idx].~T(); *(int*)&Data[idx] = FreeIdx; FreeIdx = idx; Map.SetInt(key, -1); } 541 ImGuiID BackupActiveIdIsAlive; 563 ImGuiID ID; // widget id owning the text state 593 ImGuiID ID; 604 ImGuiID TypeHash; // == ImHashStr(TypeName, 0, 0) 616 ImGuiID PopupId; // Set on OpenPopup() 620 ImGuiID OpenParentI [all...] |
| H A D | imgui.h | 122 typedef unsigned int ImGuiID; // Unique ID used by widgets (typically hashed from a stack of string) typedef in typeref:typename:unsigned int 249 IMGUI_API bool BeginChild(ImGuiID id, const ImVec2& size = ImVec2(0,0), bool border = false, ImGuiWindowFlags flags = 0); 365 IMGUI_API ImGuiID GetID(const char* str_id); // calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself 366 IMGUI_API ImGuiID GetID(const char* str_id_begin, const char* str_id_end); 367 IMGUI_API ImGuiID GetID(const void* ptr_id); 633 IMGUI_API bool BeginChildFrame(ImGuiID id, const ImVec2& size, ImGuiWindowFlags flags = 0); // helper to create a child window / scrolling region that looks like a normal widget frame 1466 ImGuiID SourceId; // Source item id 1467 ImGuiID SourceParentId; // Source parent id (if available) 1611 ImGuiID key; 1613 Pair(ImGuiID _ke [all...] |
| H A D | imgui.cpp | 1016 static bool BeginChildEx(const char* name, ImGuiID id, const ImVec2& size_arg, bool border, ImGuiWindowFlags flags); 1025 static void NavProcessItem(ImGuiWindow* window, const ImRect& nav_bb, const ImGuiID id); 1865 static ImGuiStorage::Pair* LowerBound(ImVector<ImGuiStorage::Pair>& data, ImGuiID key) 1904 int ImGuiStorage::GetInt(ImGuiID key, int default_val) const 1912 bool ImGuiStorage::GetBool(ImGuiID key, bool default_val) const 1917 float ImGuiStorage::GetFloat(ImGuiID key, float default_val) const 1925 void* ImGuiStorage::GetVoidPtr(ImGuiID key) const 1934 int* ImGuiStorage::GetIntRef(ImGuiID key, int default_val) 1942 bool* ImGuiStorage::GetBoolRef(ImGuiID key, bool default_val) 1947 float* ImGuiStorage::GetFloatRef(ImGuiID ke [all...] |
| H A D | imgui_widgets.cpp | 388 bool ImGui::ButtonBehavior(const ImRect& bb, ImGuiID id, bool* out_hovered, bool* out_held, ImGuiButtonFlags flags) 552 const ImGuiID id = window->GetID(label); 613 const ImGuiID id = window->GetID(str_id); 633 const ImGuiID id = window->GetID(str_id); 662 bool ImGui::CloseButton(ImGuiID id, const ImVec2& pos, float radius) 691 bool ImGui::CollapseButton(ImGuiID id, const ImVec2& pos) 713 ImGuiID ImGui::GetScrollbarID(ImGuiLayoutType direction) 732 const ImGuiID id = GetScrollbarID(direction); 882 const ImGuiID id = window->GetID("#image"); 914 const ImGuiID i [all...] |
| /xsrc/external/mit/MesaLib/dist/src/imgui/ |
| H A D | imgui_internal.h | 274 T* GetByKey(ImGuiID key) { int idx = Map.GetInt(key, -1); return (idx != -1) ? &Data[idx] : NULL; } 277 T* GetOrAddByKey(ImGuiID key) { int* p_idx = Map.GetIntRef(key, -1); if (*p_idx != -1) return &Data[*p_idx]; *p_idx = FreeIdx; return Add(); } 280 void Remove(ImGuiID key, const T* p) { Remove(key, GetIndex(p)); } 281 void Remove(ImGuiID key, ImPoolIdx idx) { Data[idx].~T(); *(int*)&Data[idx] = FreeIdx; FreeIdx = idx; Map.SetInt(key, -1); } 541 ImGuiID BackupActiveIdIsAlive; 563 ImGuiID ID; // widget id owning the text state 593 ImGuiID ID; 604 ImGuiID TypeHash; // == ImHashStr(TypeName, 0, 0) 616 ImGuiID PopupId; // Set on OpenPopup() 620 ImGuiID OpenParentI [all...] |
| H A D | imgui.h | 122 typedef unsigned int ImGuiID; // Unique ID used by widgets (typically hashed from a stack of string) typedef in typeref:typename:unsigned int 249 IMGUI_API bool BeginChild(ImGuiID id, const ImVec2& size = ImVec2(0,0), bool border = false, ImGuiWindowFlags flags = 0); 365 IMGUI_API ImGuiID GetID(const char* str_id); // calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself 366 IMGUI_API ImGuiID GetID(const char* str_id_begin, const char* str_id_end); 367 IMGUI_API ImGuiID GetID(const void* ptr_id); 633 IMGUI_API bool BeginChildFrame(ImGuiID id, const ImVec2& size, ImGuiWindowFlags flags = 0); // helper to create a child window / scrolling region that looks like a normal widget frame 1466 ImGuiID SourceId; // Source item id 1467 ImGuiID SourceParentId; // Source parent id (if available) 1611 ImGuiID key; 1613 Pair(ImGuiID _ke [all...] |
| H A D | imgui.cpp | 1016 static bool BeginChildEx(const char* name, ImGuiID id, const ImVec2& size_arg, bool border, ImGuiWindowFlags flags); 1025 static void NavProcessItem(ImGuiWindow* window, const ImRect& nav_bb, const ImGuiID id); 1865 static ImGuiStorage::Pair* LowerBound(ImVector<ImGuiStorage::Pair>& data, ImGuiID key) 1904 int ImGuiStorage::GetInt(ImGuiID key, int default_val) const 1912 bool ImGuiStorage::GetBool(ImGuiID key, bool default_val) const 1917 float ImGuiStorage::GetFloat(ImGuiID key, float default_val) const 1925 void* ImGuiStorage::GetVoidPtr(ImGuiID key) const 1934 int* ImGuiStorage::GetIntRef(ImGuiID key, int default_val) 1942 bool* ImGuiStorage::GetBoolRef(ImGuiID key, bool default_val) 1947 float* ImGuiStorage::GetFloatRef(ImGuiID ke [all...] |
| H A D | imgui_widgets.cpp | 388 bool ImGui::ButtonBehavior(const ImRect& bb, ImGuiID id, bool* out_hovered, bool* out_held, ImGuiButtonFlags flags) 552 const ImGuiID id = window->GetID(label); 613 const ImGuiID id = window->GetID(str_id); 633 const ImGuiID id = window->GetID(str_id); 662 bool ImGui::CloseButton(ImGuiID id, const ImVec2& pos, float radius) 691 bool ImGui::CollapseButton(ImGuiID id, const ImVec2& pos) 713 ImGuiID ImGui::GetScrollbarID(ImGuiLayoutType direction) 732 const ImGuiID id = GetScrollbarID(direction); 882 const ImGuiID id = window->GetID("#image"); 914 const ImGuiID i [all...] |
Completed in 52 milliseconds