Lines Matching refs:Button

365             if (ImGui::Button("Copy \"Hello, world!\" to clipboard"))
408 if (ImGui::Button("Button"))
433 ImGui::Button("Click");
438 // Use AlignTextToFramePadding() to align text baseline to the baseline of framed elements (otherwise a Text+SameLine+Button sequence will have the text a little too high by default)
651 ImGui::Bullet(); ImGui::SmallButton("Button");
1075 open_popup |= ImGui::Button("Palette");
1162 if (ImGui::Button("Default: Uint8 + HSV + Hue Bar"))
1164 if (ImGui::Button("Default: Float + HDR + Hue Wheel"))
1392 ImGui::Button(names[n], ImVec2(60,60));
1443 ImGui::RadioButton("Button", &item_type, 1);
1451 if (item_type == 1) { ret = ImGui::Button("ITEM: Button"); } // Testing button
1569 bool goto_line = ImGui::Button("Goto");
1611 ImGui::Button(buf, ImVec2(-1.0f, 0.0f));
1690 // Button
1693 ImGui::Button("Banana"); ImGui::SameLine();
1694 ImGui::Button("Apple"); ImGui::SameLine();
1695 ImGui::Button("Corniflower");
1697 // Button
1743 ImGui::Button("A", button_sz); ImGui::SameLine();
1745 ImGui::Button("B", button_sz);
1755 ImGui::Button("Box", button_sz);
1794 if (ImGui::TreeNode("Advanced & Close Button"))
1843 ImGui::Button("AAA");
1845 ImGui::Button("BBB");
1848 ImGui::Button("CCC");
1849 ImGui::Button("DDD");
1852 ImGui::Button("EEE");
1862 ImGui::Button("ACTION", ImVec2((size.x - ImGui::GetStyle().ItemSpacing.x)*0.5f, size.y));
1864 ImGui::Button("REACTION", ImVec2((size.x - ImGui::GetStyle().ItemSpacing.x)*0.5f, size.y));
1868 ImGui::Button("LEVERAGE\nBUZZWORD", size);
1893 ImGui::Button("HOP##1"); ImGui::SameLine();
1898 ImGui::Button("HOP##2"); ImGui::SameLine();
1902 ImGui::Button("TEST##1"); ImGui::SameLine();
1908 ImGui::Button("Widget##1"); ImGui::SameLine();
1911 ImGui::Button("Widget##3");
1915 ImGui::Button("Button##1");
1921 ImGui::SameLine(0.0f, spacing); ImGui::Button("Button##2");
1925 ImGui::Button("Button##3");
1931 ImGui::SameLine(0.0f, spacing); ImGui::Button("Button##4");
1945 bool scroll_to = ImGui::Button("Scroll To Pos");
1988 // Display random stuff (for the sake of this trivial demo we are using basic Button+SameLine. If you want to create your own time line for a real application you may be better off
2002 ImGui::Button(label, ImVec2(40.0f + sinf((float)(line + n)) * 20.0f, 0.0f));
2054 // bool my_tool_is_active = false; if (ImGui::Button("Open")) my_tool_is_active = true; [...] if (my_tool_is_active) Begin("My Tool", &my_tool_is_active) { [...] } End();
2056 // if (ImGui::Button("Open")) ImGui::OpenPopup("MyPopup"); if (ImGui::BeginPopup("MyPopup") { [...] EndPopup(); }
2070 // (If you want to show the current selection inside the Button itself, you may want to build a string using the "###" operator to preserve a constant ID with a variable label)
2071 if (ImGui::Button("Select.."))
2086 if (ImGui::Button("Toggle.."))
2103 if (ImGui::Button("Stacked Popup"))
2120 if (ImGui::Button("File Menu.."))
2155 // When used after an item that has an ID (here the Button), we can skip providing an ID to BeginPopupContextItem().
2159 char buf[64]; sprintf(buf, "Button: %s###Button", name); // ### operator override ID ignoring the preceding label
2160 ImGui::Button(buf);
2165 if (ImGui::Button("Close"))
2178 if (ImGui::Button("Delete.."))
2194 if (ImGui::Button("OK", ImVec2(120, 0))) { ImGui::CloseCurrentPopup(); }
2197 if (ImGui::Button("Cancel", ImVec2(120, 0))) { ImGui::CloseCurrentPopup(); }
2201 if (ImGui::Button("Stacked modals.."))
2222 if (ImGui::Button("Add another modal.."))
2231 if (ImGui::Button("Close"))
2236 if (ImGui::Button("Close"))
2282 //if (ImGui::Button(label, ImVec2(-1,0))) {}
2323 ImGui::Button("Banana");
2327 ImGui::Button("Apple");
2334 ImGui::Button("Corniflower");
2496 ImGui::Button("Hovering me sets the\nkeyboard capture flag");
2500 ImGui::Button("Holding me clears the\nthe keyboard capture flag");
2524 bool focus_1 = ImGui::Button("Focus on 1"); ImGui::SameLine();
2525 bool focus_2 = ImGui::Button("Focus on 2"); ImGui::SameLine();
2526 bool focus_3 = ImGui::Button("Focus on 3");
2552 if (ImGui::Button("Focus on X")) { focus_ahead = 0; } ImGui::SameLine();
2553 if (ImGui::Button("Focus on Y")) { focus_ahead = 1; } ImGui::SameLine();
2554 if (ImGui::Button("Focus on Z")) { focus_ahead = 2; }
2568 ImGui::Button("Drag Me");
2632 bool copy_to_clipboard = ImGui::Button("Copy to clipboard");
2809 if (ImGui::Button("Save Ref"))
2812 if (ImGui::Button("Revert Ref"))
2859 if (ImGui::Button("Export Unsaved"))
2900 ImGui::SameLine(0.0f, style.ItemInnerSpacing.x); if (ImGui::Button("Save")) ref->Colors[i] = style.Colors[i];
2901 ImGui::SameLine(0.0f, style.ItemInnerSpacing.x); if (ImGui::Button("Revert")) style.Colors[i] = ref->Colors[i];
3217 if (ImGui::Button("Options"))
3504 if (ImGui::Button("Options"))
3507 bool clear = ImGui::Button("Clear");
3509 bool copy = ImGui::Button("Copy");
3652 if (ImGui::Button("Revert")) {}
3654 if (ImGui::Button("Save")) {}
3753 if (ImGui::Button("Clear")) { log.clear(); lines = 0; }
3755 if (ImGui::Button("Add 1000 lines"))
3849 if (ImGui::Button("200x200")) { ImGui::SetWindowSize(ImVec2(200, 200)); } ImGui::SameLine();
3850 if (ImGui::Button("500x500")) { ImGui::SetWindowSize(ImVec2(500, 500)); } ImGui::SameLine();
3851 if (ImGui::Button("800x200")) { ImGui::SetWindowSize(ImVec2(800, 200)); }
3999 if (ImGui::Button("Clear")) points.clear();
4000 if (points.Size >= 2) { ImGui::SameLine(); if (ImGui::Button("Undo")) { points.pop_back(); points.pop_back(); } }
4082 if (ImGui::Button("Modify", ImVec2(100, 0)))
4085 if (ImGui::Button("Save", ImVec2(100, 0)))
4284 if (ImGui::Button("Yes", ImVec2(80, 0)))
4296 if (ImGui::Button("No", ImVec2(80, 0)))
4304 if (ImGui::Button("Cancel", ImVec2(80, 0)))