mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-28 22:18:25 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
46
Brutal.ImGui/Generated/PInvoke/IsItemToggledSelection.gen.cs
Normal file
46
Brutal.ImGui/Generated/PInvoke/IsItemToggledSelection.gen.cs
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
// <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>
|
||||
/// Was the last item selection state toggled? Useful if you need the per-item information _before_
|
||||
/// reaching EndMultiSelect(). We only returns toggle _event_ in order to handle clipping correctly.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L783">imgui.h:783</see>
|
||||
/// ,
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L6371">imgui.cpp:6371</see>
|
||||
/// <br/><c>bool IsItemToggledSelection()</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Multi-selection system for Selectable(), Checkbox(), TreeNode() functions [BETA]
|
||||
/// - This enables standard multi-selection/range-selection idioms (CTRL+Mouse/Keyboard, SHIFT+Mouse/Keyboard, etc.) in a way that also allow a clipper to be used.
|
||||
/// - ImGuiSelectionUserData is often used to store your item index within the current view (but may store something else).
|
||||
/// - Read comments near ImGuiMultiSelectIO for instructions/details and see 'Demo->Widgets->Selection State & Multi-Select' for demo.
|
||||
/// - TreeNode() is technically supported but... using this correctly is more complicated. You need some sort of linear/random access to your tree,
|
||||
/// which is suited to advanced trees setups already implementing filters and clipper. We will work simplifying the current demo.
|
||||
/// - 'selection_size' and 'items_count' parameters are optional and used by a few features. If they are costly for you to compute, you may avoid them.
|
||||
/// </code>
|
||||
/// <code>
|
||||
/// Call after a Selectable() or TreeNode() involved in multi-selection.
|
||||
/// Useful if you need the per-item information before reaching EndMultiSelect(), e.g. for rendering purpose.
|
||||
/// This is only meant to be called inside a BeginMultiSelect()/EndMultiSelect() block.
|
||||
/// (Outside of multi-select, it would be misleading/ambiguous to report this signal, as widgets
|
||||
/// return e.g. a pressed event and user code is in charge of altering selection in ways we cannot predict.)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[LibraryImport("imgui")]
|
||||
public static unsafe partial Bool8 IsItemToggledSelection();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue