mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-28 22:18:25 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
|
|
@ -0,0 +1,60 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.ImGuiApi
|
||||
{
|
||||
public partial class ImGui
|
||||
{
|
||||
public unsafe partial class PInvoke
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// use with e.g. if (RadioButton("one", my_value==1)) { my_value = 1; }
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L646">imgui.h:646</see>
|
||||
/// ,
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_widgets.cpp#L1339">imgui_widgets.cpp:1339</see>
|
||||
/// <br/><c>bool RadioButton(const char* label, bool active)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// 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.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[LibraryImport("imgui")]
|
||||
public static unsafe partial Bool8 RadioButton_0(byte* label, Bool8 active);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// shortcut to handle the above pattern when value is an integer
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L647">imgui.h:647</see>
|
||||
/// ,
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_widgets.cpp#L1394">imgui_widgets.cpp:1394</see>
|
||||
/// <br/><c>bool RadioButton(const char* label, int* v, int v_button)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// 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.
|
||||
/// </code>
|
||||
/// <para>
|
||||
/// 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..
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("imgui")]
|
||||
public static unsafe partial Bool8 RadioButton_1(byte* label, int* v, int v_button);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue