MCPcopy Create free account
hub / github.com/GPUOpen-LibrariesAndSDKs/Cauldron / GetInt

Method GetInt

libs/imgui/imgui.cpp:1447–1453  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1445}
1446
1447int ImGuiStorage::GetInt(ImGuiID key, int default_val) const
1448{
1449 ImVector<Pair>::iterator it = LowerBound(const_cast<ImVector<ImGuiStorage::Pair>&>(Data), key);
1450 if (it == Data.end() || it->key != key)
1451 return default_val;
1452 return it->val_i;
1453}
1454
1455bool ImGuiStorage::GetBool(ImGuiID key, bool default_val) const
1456{

Callers 1

Calls 2

LowerBoundFunction · 0.85
endMethod · 0.45

Tested by

no test coverage detected