Lines Matching refs:ImGui

87         fDirty = (fTreeStack.back() && ImGui::DragFloat(item(name), &f)) || fDirty;
90 fDirty = (fTreeStack.back() && ImGui::DragInt(item(name), &i)) || fDirty;
93 fDirty = (fTreeStack.back() && ImGui::Checkbox(item(name), &b)) || fDirty;
101 ImGui::LabelText("##Label", "%s", name);
102 ImVec2 boxSize(-1.0f, ImGui::GetTextLineHeight() * (lines + 1));
103 fDirty = ImGui::InputTextMultiline(item(name), s.writable_str(), s.size() + 1,
107 fDirty = ImGui::InputText(item(name), s.writable_str(), s.size() + 1, flags,
117 if (ImGui::BeginCombo("Type", curType ? curType->fName : "Null")) {
120 ImGui::Selectable(t->fName, curType == t)) {
126 ImGui::EndCombo();
133 fTreeStack.push_back(ImGui::TreeNodeEx(item(name),
141 ImGui::TreePop();
153 ImGui::SameLine();
154 if (ImGui::Button("+")) {
182 ImGui::PushID(index);
184 if (ImGui::Button("X")) {
189 ImGui::SameLine();
191 ImGui::PopID();
242 if (ImGui::Begin("Library", nullptr, ImGuiWindowFlags_AlwaysVerticalScrollbar)) {
244 ImGui::Checkbox("Looped", &looped);
248 ImGui::InputText("Directory", dirname.writable_str(), dirname.size() + 1, textFlags,
251 if (ImGui::Button("New")) {
257 ImGui::SameLine();
259 if (ImGui::Button("Load")) {
262 ImGui::SameLine();
264 if (ImGui::Button("Save")) {
283 ImGui::PushID(i);
284 if (fAnimated && ImGui::Button("Play")) {
290 ImGui::SameLine();
292 ImGui::InputText("##Name", fLoaded[i].fName.writable_str(), fLoaded[i].fName.size() + 1,
295 if (ImGui::TreeNode("##Details")) {
297 ImGui::TreePop();
303 ImGui::PopID();
306 ImGui::End();
313 if (ImGui::Begin("Running")) {
316 ImGui::PushID(effect);
318 ImGui::Checkbox("##Track", &fRunning[i].fTrackMouse);
319 ImGui::SameLine();
320 bool remove = ImGui::Button("X") || !effect->isAlive();
321 ImGui::SameLine();
322 ImGui::Text("%5d %s", effect->getCount(), fRunning[i].fName.c_str());
352 ImGui::PushID(c*uni.fRows + r);
354 ImGui::SameLine();
356 ImGui::CheckboxFlags(r == uni.fRows - 1 ? uni.fName.c_str()
359 ImGui::PopID();
375 ImGui::PushID(c);
376 ImGui::DragScalarN(uni.fName.c_str(), dataType, vals, uni.fRows, 1.0f);
377 ImGui::PopID();
385 ImGui::PopID();
388 ImGui::End();