//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi
{
public partial class ImGui
{
public unsafe partial class PInvoke
{
///
///
/// use with e.g. if (RadioButton("one", my_value==1)) { my_value = 1; }
///
///
/// C++:
/// imgui.h:646
/// ,
/// imgui_widgets.cpp:1339
///
bool RadioButton(const char* label, bool active)
///
///
///
///
/// Widgets: Main
/// - Most widgets return true when the value has been changed or when pressed/selected
/// - You may also use one of the many IsItemXXX functions (e.g. IsItemActive, IsItemHovered, etc.) to query widget state.
///
///
[LibraryImport("imgui")]
public static unsafe partial Bool8 RadioButton_0(byte* label, Bool8 active);
///
///
/// shortcut to handle the above pattern when value is an integer
///
///
/// C++:
/// imgui.h:647
/// ,
/// imgui_widgets.cpp:1394
///
bool RadioButton(const char* label, int* v, int v_button)
///
///
///
///
/// Widgets: Main
/// - Most widgets return true when the value has been changed or when pressed/selected
/// - You may also use one of the many IsItemXXX functions (e.g. IsItemActive, IsItemHovered, etc.) to query widget state.
///
///
/// FIXME: This would work nicely if it was a public template, e.g. 'template<T> RadioButton(const
/// char* label, T* v, T v_button)', but I'm not sure how we would expose it..
///
///
[LibraryImport("imgui")]
public static unsafe partial Bool8 RadioButton_1(byte* label, int* v, int v_button);
}
}
}