Lines Matching refs:ImGui
30 ImGui::Text("Could not read mskp file %s.\n", fName.c_str());
33 ImGui::Begin("MSKP");
35 ImGui::BeginGroup();
37 if (ImGui::Button(fPaused ? "Play " : "Pause")) {
45 ImGui::Text("FPS: "); ImGui::SameLine();
46 ImGui::RadioButton( "1", &fFPS, 1); ImGui::SameLine();
47 ImGui::RadioButton( "15", &fFPS, 15); ImGui::SameLine();
48 ImGui::RadioButton( "30", &fFPS, 30); ImGui::SameLine();
49 ImGui::RadioButton( "60", &fFPS, 60); ImGui::SameLine();
50 ImGui::RadioButton("120", &fFPS, 120); ImGui::SameLine();
51 ImGui::RadioButton("1:1", &fFPS, -1); // Draw one MSKP frame for each real viewer frame.
58 ImGui::Text("Frame:");
59 ImGui::SameLine();
60 ImGui::PushButtonRepeat(true); // Enable click-and-hold for frame arrows.
62 if (ImGui::ArrowButton("-mksp_frame", ImGuiDir_Left)) {
65 ImGui::SameLine();
66 if (ImGui::SliderInt("##msk_frameslider", &fFrame, 0, fPlayer->numFrames()-1, "% 3d")) {
69 ImGui::SameLine();
70 if (ImGui::ArrowButton("+mskp_frame", ImGuiDir_Right)) {
78 ImGui::PopButtonRepeat();
79 ImGui::EndGroup();
81 ImGui::BeginGroup();
82 ImGui::Checkbox("Show Frame Bounds", &fShowFrameBounds);
83 ImGui::SetNextItemWidth(200);
84 ImGui::ColorPicker4("background", fBackgroundColor, ImGuiColorEditFlags_AlphaBar);
85 // ImGui lets user enter out of range values by typing.
89 ImGui::EndGroup();
92 ImGui::Text("Offscreen Layers "); ImGui::SameLine();
93 ImGui::Checkbox("List All Layers", &fListAllLayers);
94 ImGui::RadioButton("root", &fDrawLayerID, -1);
99 ImGui::RadioButton(fLayerIDStrings[i].c_str(), &fDrawLayerID, layerIDs[i]);
101 ImGui::End();