MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / GetInt

Method GetInt

Source/3rdParty/imgui/imgui.cpp:2921–2927  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2919}
2920
2921int ImGuiStorage::GetInt(ImGuiID key, int default_val) const
2922{
2923 ImGuiStoragePair* it = ImLowerBound(const_cast<ImGuiStoragePair*>(Data.Data), const_cast<ImGuiStoragePair*>(Data.Data + Data.Size), key);
2924 if (it == Data.Data + Data.Size || it->key != key)
2925 return default_val;
2926 return it->val_i;
2927}
2928
2929bool ImGuiStorage::GetBool(ImGuiID key, bool default_val) const
2930{

Callers 14

_parseAnimationMethod · 0.80
_parseZOrderFrameMethod · 0.80
JSONDataParser.cppFile · 0.80
_getBooleanMethod · 0.80
_getNumberMethod · 0.80
_getParameterMethod · 0.80
TreeNodeGetOpenMethod · 0.80
ContainsMethod · 0.80
GetByKeyMethod · 0.80
GetMethod · 0.80

Calls 1

ImLowerBoundFunction · 0.70

Tested by

no test coverage detected