Lines Matching refs:ImGuiStorage
64 // [SECTION] ImGuiStorage
527 - 2015/01/19 (1.30) - renamed ImGuiStorage::GetIntPtr()/GetFloatPtr() to GetIntRef()/GetIntRef() because Ptr was conflicting with actual pointer storage functions.
1860 // [SECTION] ImGuiStorage
1865 static ImGuiStorage::Pair* LowerBound(ImVector<ImGuiStorage::Pair>& data, ImGuiID key)
1867 ImGuiStorage::Pair* first = data.Data;
1868 ImGuiStorage::Pair* last = data.Data + data.Size;
1873 ImGuiStorage::Pair* mid = first + count2;
1888 void ImGuiStorage::BuildSortByKey()
1904 int ImGuiStorage::GetInt(ImGuiID key, int default_val) const
1906 ImGuiStorage::Pair* it = LowerBound(const_cast<ImVector<ImGuiStorage::Pair>&>(Data), key);
1912 bool ImGuiStorage::GetBool(ImGuiID key, bool default_val) const
1917 float ImGuiStorage::GetFloat(ImGuiID key, float default_val) const
1919 ImGuiStorage::Pair* it = LowerBound(const_cast<ImVector<ImGuiStorage::Pair>&>(Data), key);
1925 void* ImGuiStorage::GetVoidPtr(ImGuiID key) const
1927 ImGuiStorage::Pair* it = LowerBound(const_cast<ImVector<ImGuiStorage::Pair>&>(Data), key);
1934 int* ImGuiStorage::GetIntRef(ImGuiID key, int default_val)
1936 ImGuiStorage::Pair* it = LowerBound(Data, key);
1942 bool* ImGuiStorage::GetBoolRef(ImGuiID key, bool default_val)
1947 float* ImGuiStorage::GetFloatRef(ImGuiID key, float default_val)
1949 ImGuiStorage::Pair* it = LowerBound(Data, key);
1955 void** ImGuiStorage::GetVoidPtrRef(ImGuiID key, void* default_val)
1957 ImGuiStorage::Pair* it = LowerBound(Data, key);
1964 void ImGuiStorage::SetInt(ImGuiID key, int val)
1966 ImGuiStorage::Pair* it = LowerBound(Data, key);
1975 void ImGuiStorage::SetBool(ImGuiID key, bool val)
1980 void ImGuiStorage::SetFloat(ImGuiID key, float val)
1982 ImGuiStorage::Pair* it = LowerBound(Data, key);
1991 void ImGuiStorage::SetVoidPtr(ImGuiID key, void* val)
1993 ImGuiStorage::Pair* it = LowerBound(Data, key);
2002 void ImGuiStorage::SetAllInt(int v)
6468 void ImGui::SetStateStorage(ImGuiStorage* tree)
6474 ImGuiStorage* ImGui::GetStateStorage()
9419 ImGui::BulletText("Storage: %d bytes", window->StateStorage.Data.Size * (int)sizeof(ImGuiStorage::Pair));