mirror of
https://github.com/Drezil/imgui.git
synced 2025-08-02 01:53:16 +02:00
Made radio button render ascii when logged into tty/file/clipboard
This commit is contained in:
@ -3687,6 +3687,8 @@ bool RadioButton(const char* label, bool active)
|
|||||||
window->DrawList->AddCircle(center, radius, window->Color(ImGuiCol_Border), 16);
|
window->DrawList->AddCircle(center, radius, window->Color(ImGuiCol_Border), 16);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (g.LogEnabled)
|
||||||
|
LogText(text_bb.GetTL(), active ? "(x)" : "( )");
|
||||||
RenderText(text_bb.GetTL(), label);
|
RenderText(text_bb.GetTL(), label);
|
||||||
|
|
||||||
return pressed;
|
return pressed;
|
||||||
|
Reference in New Issue
Block a user