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

Function BeginDisabledControls

Source/3rdParty/implot/implot.cpp:1371–1376  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1369}
1370
1371inline void BeginDisabledControls(bool cond) {
1372 if (cond) {
1373 ImGui::PushItemFlag(ImGuiItemFlags_Disabled, true);
1374 ImGui::PushStyleVar(ImGuiStyleVar_Alpha, ImGui::GetStyle().Alpha * 0.25f);
1375 }
1376}
1377
1378inline void EndDisabledControls(bool cond) {
1379 if (cond) {

Callers 4

ShowAxisContextMenuFunction · 0.85
ShowSubplotsContextMenuFunction · 0.85
ShowPlotContextMenuFunction · 0.85
ShowDatePickerFunction · 0.85

Calls 2

PushItemFlagFunction · 0.85
PushStyleVarFunction · 0.70

Tested by

no test coverage detected