// ------------------------------------------------------------------------------
//
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
// ------------------------------------------------------------------------------
using System;
using HexaGen.Runtime;
using System.Numerics;
namespace Dalamud.Bindings.ImGui
{
///
/// To be documented.
///
[Flags]
public enum ImGuiButtonFlagsPrivate : int
{
///
/// return true on click (mouse down event)
///
PressedOnClick = unchecked(16),
///
/// [Default] return true on click + release on same item <-- this is what the majority of Button are using
///
PressedOnClickRelease = unchecked(32),
///
/// return true on click + release even if the release event is not done while hovering the item
///
PressedOnClickReleaseAnywhere = unchecked(64),
///
/// return true on release (default requires click+release)
///
PressedOnRelease = unchecked(128),
///
/// return true on double-click (default requires click+release)
///
PressedOnDoubleClick = unchecked(256),
///
/// return true when held into while we are drag and dropping another item (used by e.g. tree nodes, collapsing headers)
///
PressedOnDragDropHold = unchecked(512),
///
/// To be documented.
///
Repeat = unchecked(1024),
///
/// allow interactions even if a child window is overlapping
///
FlattenChildren = unchecked(2048),
///
/// To be documented.
///
AllowItemOverlap = unchecked(4096),
///
/// To be documented.
///
DontClosePopups = unchecked(8192),
///
/// vertically align button to match text baseline - ButtonEx() only FIXME: Should be removed and handled by SmallButton(), not possible currently because of DC.CursorPosPrevLine
///
AlignTextBaseLine = unchecked(32768),
///
/// To be documented.
///
NoKeyModifiers = unchecked(65536),
///
/// don't set ActiveId while holding the mouse (ImGuiButtonFlags_PressedOnClick only)
///
NoHoldingActiveId = unchecked(131072),
///
/// don't override navigation focus when activated (FIXME: this is essentially used every time an item uses ImGuiItemFlags_NoNav, but because legacy specs don't requires LastItemData to be set ButtonBehavior(), we can't poll g.LastItemData.ItemFlags)
///
NoNavFocus = unchecked(262144),
///
/// don't report as hovered when nav focus is on this item
///
NoHoveredOnFocus = unchecked(524288),
///
/// To be documented.
///
PressedOnMask = unchecked(1008),
///
/// To be documented.
///
PressedOnDefault = PressedOnClickRelease,
}
}