mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-03 20:12:38 +00:00
Demo: added TextLinkOpenURL() call in Widgets section.
This commit is contained in:
@@ -842,6 +842,9 @@ static void DemoWindowWidgetsBasic()
|
||||
ImGui::RadioButton("radio b", &e, 1); ImGui::SameLine();
|
||||
ImGui::RadioButton("radio c", &e, 2);
|
||||
|
||||
ImGui::AlignTextToFramePadding();
|
||||
ImGui::TextLinkOpenURL("Hyperlink", "https://github.com/ocornut/imgui/wiki/Error-Handling");
|
||||
|
||||
// Color buttons, demonstrate using PushID() to add unique identifier in the ID stack, and changing style.
|
||||
IMGUI_DEMO_MARKER("Widgets/Basic/Buttons (Colored)");
|
||||
for (int i = 0; i < 7; i++)
|
||||
@@ -8024,6 +8027,8 @@ void ImGui::ShowAboutWindow(bool* p_open)
|
||||
ImGui::SameLine();
|
||||
ImGui::TextLinkOpenURL("Wiki", "https://github.com/ocornut/imgui/wiki");
|
||||
ImGui::SameLine();
|
||||
ImGui::TextLinkOpenURL("Extensions", "https://github.com/ocornut/imgui/wiki/Useful-Extensions");
|
||||
ImGui::SameLine();
|
||||
ImGui::TextLinkOpenURL("Releases", "https://github.com/ocornut/imgui/releases");
|
||||
ImGui::SameLine();
|
||||
ImGui::TextLinkOpenURL("Funding", "https://github.com/ocornut/imgui/wiki/Funding");
|
||||
|
||||
Reference in New Issue
Block a user