mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-11 00:04:24 +00:00
Demo: added TextLinkOpenURL() call in Widgets section.
This commit is contained in:
parent
2819ab32f8
commit
da3c86925a
1 changed files with 5 additions and 0 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue