Searched refs:item_current (Results 1 - 1 of 1) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/imgui/
H A Dimgui_demo.cpp477 static int item_current = 0; local in function:ShowDemoWindowWidgets
478 ImGui::Combo("combo", &item_current, items, IM_ARRAYSIZE(items));
778 static const char* item_current = items[0]; // Here our selection is a single pointer stored outside the object. local in function:ShowDemoWindowWidgets
779 if (ImGui::BeginCombo("combo 1", item_current, flags)) // The second parameter is the label previewed before opening the combo.
783 bool is_selected = (item_current == items[n]);
785 item_current = items[n];

Completed in 8 milliseconds