C# Class ImGuiNET.ImGui

Show file Open project: mellinoe/ImGui.NET Class Usage Examples

Public Methods

Method Description
AddInputCharacter ( char keyChar ) : void
BeginChild ( string id, Vector2 size, bool border, WindowFlags flags ) : bool
BeginChild ( uint id, Vector2 size, bool border, WindowFlags flags ) : bool
BeginChildFrame ( uint id, Vector2 size, WindowFlags flags ) : bool
BeginMainMenuBar ( ) : bool
BeginMenu ( string label ) : bool
BeginMenu ( string label, bool enabled ) : bool
BeginMenuBar ( ) : void
BeginPopup ( string id ) : bool
BeginPopupContextItem ( string id ) : bool
BeginPopupContextItem ( string id, int mouseButton ) : bool
BeginPopupModal ( string name ) : bool
BeginPopupModal ( string name, WindowFlags extraFlags ) : bool
BeginPopupModal ( string name, bool &opened ) : bool
BeginPopupModal ( string name, bool &opened, WindowFlags extraFlags ) : bool
BeginWindow ( string windowTitle ) : bool
BeginWindow ( string windowTitle, WindowFlags flags ) : bool
BeginWindow ( string windowTitle, bool &opened, Vector2 startingSize, WindowFlags flags ) : bool
BeginWindow ( string windowTitle, bool &opened, Vector2 startingSize, float backgroundAlpha, WindowFlags flags ) : bool
BeginWindow ( string windowTitle, bool &opened, WindowFlags flags ) : bool
BeginWindow ( string windowTitle, bool &opened, float backgroundAlpha, WindowFlags flags ) : bool
Bullet ( ) : void
BulletText ( string text ) : void
Button ( string message ) : bool
Button ( string message, Vector2 size ) : bool
Checkbox ( string label, bool &value ) : bool
CloseCurrentPopup ( ) : void
CollapsingHeader ( string label, string id, bool displayFrame, bool defaultOpen ) : bool
ColorButton ( Vector4 color, bool smallHeight, bool outlineBorder ) : bool
ColorEdit3 ( string label, Vector3 &color, bool showAlpha ) : bool
ColorEdit3 ( string label, float &r, float &g, float &b, bool showAlpha ) : bool
ColorEdit4 ( string label, Vector4 &color, bool showAlpha ) : bool
ColorEdit4 ( string label, float &r, float &g, float &b, float &a, bool showAlpha ) : bool
ColorEditMode ( ColorEditMode mode ) : void
Columns ( int count, string id, bool border ) : void
Combo ( string label, int &current_item, string items ) : bool
Combo ( string label, int &current_item, string items, int heightInItems ) : bool
DragFloat ( string label, float &value, float min, float max, float dragSpeed = 1f, string displayFormat = "%f", float dragPower = 1f ) : bool
DragFloatRange2 ( string label, float &currentMinValue, float &currentMaxValue, float speed = 1.0f, float minValueLimit = 0.0f, float maxValueLimit = 0.0f, string displayFormat = "%.3f", string displayFormatMax = null, float power = 1.0f ) : bool
DragInt ( string label, int &value, float speed, int minValue, int maxValue, string displayText ) : bool
DragInt2 ( string label, Int2 &value, float speed, int minValue, int maxValue, string displayText ) : bool
DragInt3 ( string label, Int3 &value, float speed, int minValue, int maxValue, string displayText ) : bool
DragInt4 ( string label, Int4 &value, float speed, int minValue, int maxValue, string displayText ) : bool
DragIntRange2 ( string label, int &currentMinValue, int &currentMaxValue, float speed = 1.0f, int minLimit, int maxLimit, string displayFormat = "%.0f", string displayFormatMax = null ) : bool
DragVector2 ( string label, Vector2 &value, float min, float max, float dragSpeed = 1f, string displayFormat = "%f", float dragPower = 1f ) : bool
DragVector3 ( string label, Vector3 &value, float min, float max, float dragSpeed = 1f, string displayFormat = "%f", float dragPower = 1f ) : bool
DragVector4 ( string label, Vector4 &value, float min, float max, float dragSpeed = 1f, string displayFormat = "%f", float dragPower = 1f ) : bool
Dummy ( Vector2 size ) : void
Dummy ( float width, float height ) : void
EndChild ( ) : void
EndChildFrame ( ) : void
EndMainMenuBar ( ) : void
EndMenu ( ) : void
EndMenuBar ( ) : void
EndPopup ( ) : void
EndWindow ( ) : void
GetColumnIndex ( ) : int
GetColumnOffset ( int columnIndex ) : float
GetColumnWidth ( int columnIndex ) : float
GetColumnsCount ( ) : int
GetContentRegionAvailable ( ) : Vector2
GetContentRegionAvailableWidth ( ) : float
GetContentRegionMax ( ) : Vector2
GetDrawData ( ) : DrawData*
GetID ( string id ) : uint
GetID ( string idBegin, string idEnd ) : uint
GetIO ( ) : IO
GetLastItemRectMax ( ) : Vector2
GetLastItemRectMin ( ) : Vector2
GetLastItemRectSize ( ) : Vector2
GetMouseDragDelta ( int button, float lockThreshold ) : Vector2
GetMousePos ( ) : Vector2
GetMousePosOnOpeningCurrentPopup ( ) : Vector2
GetStyle ( ) : Style
GetTextSize ( string text, float wrapWidth = Int32.MaxValue ) : Vector2
GetWindowContentRegionMax ( ) : Vector2
GetWindowContentRegionMin ( ) : Vector2
GetWindowContentRegionWidth ( ) : float
GetWindowHeight ( ) : float
GetWindowWidth ( ) : float
Image ( IntPtr userTextureID, Vector2 size, Vector2 uv0, Vector2 uv1, Vector4 tintColor, Vector4 borderColor ) : void
ImageButton ( IntPtr userTextureID, Vector2 size, Vector2 uv0, Vector2 uv1, int framePadding, Vector4 backgroundColor, Vector4 tintColor ) : bool
InputText ( string label, IntPtr textBuffer, uint bufferSize, InputTextFlags flags, TextEditCallback textEditCallback ) : bool
InputText ( string label, IntPtr textBuffer, uint bufferSize, InputTextFlags flags, TextEditCallback textEditCallback, IntPtr userData ) : bool
InputTextMultiline ( string label, IntPtr textBuffer, uint bufferSize, Vector2 size, InputTextFlags flags, TextEditCallback callback ) : void
InputTextMultiline ( string label, IntPtr textBuffer, uint bufferSize, Vector2 size, InputTextFlags flags, TextEditCallback callback, IntPtr userData ) : void
InvisibleButton ( string id ) : bool
InvisibleButton ( string id, Vector2 size ) : bool
IsAnyItemActive ( ) : bool
IsAnyItemHovered ( ) : bool
IsKeyDown ( int keyIndex ) : bool
IsKeyPressed ( int keyIndex, bool repeat ) : bool
IsKeyReleased ( int keyIndex ) : bool
IsLastItemActive ( ) : bool
IsLastItemHovered ( ) : bool
IsLastItemHoveredRect ( ) : bool
IsLastItemVisible ( ) : bool
IsMouseClicked ( int button, bool repeat ) : bool
IsMouseDoubleClicked ( int button ) : bool
IsMouseDown ( int button ) : bool
IsMouseDragging ( int button, float lockThreshold ) : bool
IsMouseHoveringAnyWindow ( ) : bool
IsMouseHoveringRect ( Vector2 minPosition, Vector2 maxPosition, bool clip ) : bool
IsMouseHoveringWindow ( ) : bool
IsMouseReleased ( int button ) : bool
LabelText ( string label, string text ) : void
MenuItem ( string label ) : bool
MenuItem ( string label, bool enabled ) : bool
MenuItem ( string label, string shortcut ) : bool
MenuItem ( string label, string shortcut, bool selected, bool enabled ) : bool
NewFrame ( ) : void
NextColumn ( ) : void
OpenPopup ( string id ) : void
PlotHistogram ( string label, float values, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride ) : void
PlotLines ( string label, float values, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride ) : void
PopFont ( ) : void
PopID ( ) : void
PopItemWidth ( ) : void
PopStyleColor ( ) : void
PopStyleColor ( int numStyles ) : void
PopStyleVar ( ) : void
PopStyleVar ( int count ) : void
PushFont ( Font font ) : void
PushID ( int id ) : void
PushID ( string id ) : void
PushIDRange ( string idBegin, string idEnd ) : void
PushItemWidth ( float width ) : void
PushStyleColor ( ColorTarget target, Vector4 color ) : void
PushStyleVar ( StyleVar var, Vector2 value ) : void
PushStyleVar ( StyleVar var, float value ) : void
RadioButton ( string label, int &target, int buttonValue ) : bool
RadioButtonBool ( string label, bool active ) : bool
Render ( ) : void
ResetMouseDragDelta ( int button ) : void
SameLine ( ) : void
SameLine ( float localPositionX, float spacingW ) : void
ScaleClipRects ( DrawData drawData, Vector2 scale ) : void

Helper to scale the ClipRect field of each ImDrawCmd. Use if your final output buffer is at a different scale than ImGui expects, or if there is a difference between your window resolution and framebuffer resolution.

Selectable ( string label ) : bool
Selectable ( string label, bool isSelected ) : bool
Selectable ( string label, bool isSelected, SelectableFlags flags ) : bool
Selectable ( string label, bool isSelected, SelectableFlags flags, Vector2 size ) : bool
SelectableEx ( string label, bool &isSelected ) : bool
SelectableEx ( string label, bool &isSelected, SelectableFlags flags, Vector2 size ) : bool
Separator ( ) : void
SetColumnOffset ( int columnIndex, float offsetX ) : void
SetKeyboardFocusHere ( ) : void
SetKeyboardFocusHere ( int offset ) : void
SetNextTreeNodeOpened ( bool opened ) : void
SetNextTreeNodeOpened ( bool opened, SetCondition setCondition ) : void
SetNextWindowPos ( Vector2 position, SetCondition condition ) : void
SetNextWindowPosCenter ( SetCondition condition ) : void
SetNextWindowSize ( Vector2 size, SetCondition condition ) : void
SetScrollHere ( ) : void
SetScrollHere ( float centerYRatio ) : void
SetTooltip ( string text ) : void
SetWindowFontScale ( float scale ) : void
Shutdown ( ) : void
SliderAngle ( string label, float &radians, float minDegrees, float maxDegrees ) : bool
SliderFloat ( string sliderLabel, float &value, float min, float max, string displayText, float power ) : bool
SliderInt ( string sliderLabel, int &value, int min, int max, string displayText ) : bool
SliderInt2 ( string label, Int2 &value, int min, int max, string displayText ) : bool
SliderInt3 ( string label, Int3 &value, int min, int max, string displayText ) : bool
SliderInt4 ( string label, Int4 &value, int min, int max, string displayText ) : bool
SliderVector2 ( string label, Vector2 &value, float min, float max, string displayText, float power ) : bool
SliderVector3 ( string label, Vector3 &value, float min, float max, string displayText, float power ) : bool
SliderVector4 ( string label, Vector4 &value, float min, float max, string displayText, float power ) : bool
SmallButton ( string label ) : bool
Spacing ( ) : void
Text ( string message ) : void
Text ( string message, Vector4 color ) : void
TextDisabled ( string text ) : void
TextWrapped ( string text ) : void
TreeNode ( string label ) : bool
TreePop ( ) : void

Method Details

AddInputCharacter() public static method

public static AddInputCharacter ( char keyChar ) : void
keyChar char
return void

BeginChild() public static method

public static BeginChild ( string id, Vector2 size, bool border, WindowFlags flags ) : bool
id string
size Vector2
border bool
flags WindowFlags
return bool

BeginChild() public static method

public static BeginChild ( uint id, Vector2 size, bool border, WindowFlags flags ) : bool
id uint
size Vector2
border bool
flags WindowFlags
return bool

BeginChildFrame() public static method

public static BeginChildFrame ( uint id, Vector2 size, WindowFlags flags ) : bool
id uint
size Vector2
flags WindowFlags
return bool

BeginMainMenuBar() public static method

public static BeginMainMenuBar ( ) : bool
return bool

BeginMenu() public static method

public static BeginMenu ( string label ) : bool
label string
return bool

BeginMenu() public static method

public static BeginMenu ( string label, bool enabled ) : bool
label string
enabled bool
return bool

BeginMenuBar() public static method

public static BeginMenuBar ( ) : void
return void

BeginPopup() public static method

public static BeginPopup ( string id ) : bool
id string
return bool

BeginPopupContextItem() public static method

public static BeginPopupContextItem ( string id ) : bool
id string
return bool

BeginPopupContextItem() public static method

public static BeginPopupContextItem ( string id, int mouseButton ) : bool
id string
mouseButton int
return bool

BeginPopupModal() public static method

public static BeginPopupModal ( string name ) : bool
name string
return bool

BeginPopupModal() public static method

public static BeginPopupModal ( string name, WindowFlags extraFlags ) : bool
name string
extraFlags WindowFlags
return bool

BeginPopupModal() public static method

public static BeginPopupModal ( string name, bool &opened ) : bool
name string
opened bool
return bool

BeginPopupModal() public static method

public static BeginPopupModal ( string name, bool &opened, WindowFlags extraFlags ) : bool
name string
opened bool
extraFlags WindowFlags
return bool

BeginWindow() public static method

public static BeginWindow ( string windowTitle ) : bool
windowTitle string
return bool

BeginWindow() public static method

public static BeginWindow ( string windowTitle, WindowFlags flags ) : bool
windowTitle string
flags WindowFlags
return bool

BeginWindow() public static method

public static BeginWindow ( string windowTitle, bool &opened, Vector2 startingSize, WindowFlags flags ) : bool
windowTitle string
opened bool
startingSize Vector2
flags WindowFlags
return bool

BeginWindow() public static method

public static BeginWindow ( string windowTitle, bool &opened, Vector2 startingSize, float backgroundAlpha, WindowFlags flags ) : bool
windowTitle string
opened bool
startingSize Vector2
backgroundAlpha float
flags WindowFlags
return bool

BeginWindow() public static method

public static BeginWindow ( string windowTitle, bool &opened, WindowFlags flags ) : bool
windowTitle string
opened bool
flags WindowFlags
return bool

BeginWindow() public static method

public static BeginWindow ( string windowTitle, bool &opened, float backgroundAlpha, WindowFlags flags ) : bool
windowTitle string
opened bool
backgroundAlpha float
flags WindowFlags
return bool

Bullet() public static method

public static Bullet ( ) : void
return void

BulletText() public static method

public static BulletText ( string text ) : void
text string
return void

Button() public static method

public static Button ( string message ) : bool
message string
return bool

Button() public static method

public static Button ( string message, Vector2 size ) : bool
message string
size Vector2
return bool

Checkbox() public static method

public static Checkbox ( string label, bool &value ) : bool
label string
value bool
return bool

CloseCurrentPopup() public static method

public static CloseCurrentPopup ( ) : void
return void

CollapsingHeader() public static method

public static CollapsingHeader ( string label, string id, bool displayFrame, bool defaultOpen ) : bool
label string
id string
displayFrame bool
defaultOpen bool
return bool

ColorButton() public static method

public static ColorButton ( Vector4 color, bool smallHeight, bool outlineBorder ) : bool
color Vector4
smallHeight bool
outlineBorder bool
return bool

ColorEdit3() public static method

public static ColorEdit3 ( string label, Vector3 &color, bool showAlpha ) : bool
label string
color Vector3
showAlpha bool
return bool

ColorEdit3() public static method

public static ColorEdit3 ( string label, float &r, float &g, float &b, bool showAlpha ) : bool
label string
r float
g float
b float
showAlpha bool
return bool

ColorEdit4() public static method

public static ColorEdit4 ( string label, Vector4 &color, bool showAlpha ) : bool
label string
color Vector4
showAlpha bool
return bool

ColorEdit4() public static method

public static ColorEdit4 ( string label, float &r, float &g, float &b, float &a, bool showAlpha ) : bool
label string
r float
g float
b float
a float
showAlpha bool
return bool

ColorEditMode() public static method

public static ColorEditMode ( ColorEditMode mode ) : void
mode ColorEditMode
return void

Columns() public static method

public static Columns ( int count, string id, bool border ) : void
count int
id string
border bool
return void

Combo() public static method

public static Combo ( string label, int &current_item, string items ) : bool
label string
current_item int
items string
return bool

Combo() public static method

public static Combo ( string label, int &current_item, string items, int heightInItems ) : bool
label string
current_item int
items string
heightInItems int
return bool

DragFloat() public static method

public static DragFloat ( string label, float &value, float min, float max, float dragSpeed = 1f, string displayFormat = "%f", float dragPower = 1f ) : bool
label string
value float
min float
max float
dragSpeed float
displayFormat string
dragPower float
return bool

DragFloatRange2() public static method

public static DragFloatRange2 ( string label, float &currentMinValue, float &currentMaxValue, float speed = 1.0f, float minValueLimit = 0.0f, float maxValueLimit = 0.0f, string displayFormat = "%.3f", string displayFormatMax = null, float power = 1.0f ) : bool
label string
currentMinValue float
currentMaxValue float
speed float
minValueLimit float
maxValueLimit float
displayFormat string
displayFormatMax string
power float
return bool

DragInt() public static method

public static DragInt ( string label, int &value, float speed, int minValue, int maxValue, string displayText ) : bool
label string
value int
speed float
minValue int
maxValue int
displayText string
return bool

DragInt2() public static method

public static DragInt2 ( string label, Int2 &value, float speed, int minValue, int maxValue, string displayText ) : bool
label string
value Int2
speed float
minValue int
maxValue int
displayText string
return bool

DragInt3() public static method

public static DragInt3 ( string label, Int3 &value, float speed, int minValue, int maxValue, string displayText ) : bool
label string
value Int3
speed float
minValue int
maxValue int
displayText string
return bool

DragInt4() public static method

public static DragInt4 ( string label, Int4 &value, float speed, int minValue, int maxValue, string displayText ) : bool
label string
value Int4
speed float
minValue int
maxValue int
displayText string
return bool

DragIntRange2() public static method

public static DragIntRange2 ( string label, int &currentMinValue, int &currentMaxValue, float speed = 1.0f, int minLimit, int maxLimit, string displayFormat = "%.0f", string displayFormatMax = null ) : bool
label string
currentMinValue int
currentMaxValue int
speed float
minLimit int
maxLimit int
displayFormat string
displayFormatMax string
return bool

DragVector2() public static method

public static DragVector2 ( string label, Vector2 &value, float min, float max, float dragSpeed = 1f, string displayFormat = "%f", float dragPower = 1f ) : bool
label string
value Vector2
min float
max float
dragSpeed float
displayFormat string
dragPower float
return bool

DragVector3() public static method

public static DragVector3 ( string label, Vector3 &value, float min, float max, float dragSpeed = 1f, string displayFormat = "%f", float dragPower = 1f ) : bool
label string
value Vector3
min float
max float
dragSpeed float
displayFormat string
dragPower float
return bool

DragVector4() public static method

public static DragVector4 ( string label, Vector4 &value, float min, float max, float dragSpeed = 1f, string displayFormat = "%f", float dragPower = 1f ) : bool
label string
value Vector4
min float
max float
dragSpeed float
displayFormat string
dragPower float
return bool

Dummy() public static method

public static Dummy ( Vector2 size ) : void
size Vector2
return void

Dummy() public static method

public static Dummy ( float width, float height ) : void
width float
height float
return void

EndChild() public static method

public static EndChild ( ) : void
return void

EndChildFrame() public static method

public static EndChildFrame ( ) : void
return void

EndMainMenuBar() public static method

public static EndMainMenuBar ( ) : void
return void

EndMenu() public static method

public static EndMenu ( ) : void
return void

EndMenuBar() public static method

public static EndMenuBar ( ) : void
return void

EndPopup() public static method

public static EndPopup ( ) : void
return void

EndWindow() public static method

public static EndWindow ( ) : void
return void

GetColumnIndex() public static method

public static GetColumnIndex ( ) : int
return int

GetColumnOffset() public static method

public static GetColumnOffset ( int columnIndex ) : float
columnIndex int
return float

GetColumnWidth() public static method

public static GetColumnWidth ( int columnIndex ) : float
columnIndex int
return float

GetColumnsCount() public static method

public static GetColumnsCount ( ) : int
return int

GetContentRegionAvailable() public static method

public static GetContentRegionAvailable ( ) : Vector2
return Vector2

GetContentRegionAvailableWidth() public static method

public static GetContentRegionAvailableWidth ( ) : float
return float

GetContentRegionMax() public static method

public static GetContentRegionMax ( ) : Vector2
return Vector2

GetDrawData() public static method

public static GetDrawData ( ) : DrawData*
return DrawData*

GetID() public static method

public static GetID ( string id ) : uint
id string
return uint

GetID() public static method

public static GetID ( string idBegin, string idEnd ) : uint
idBegin string
idEnd string
return uint

GetIO() public static method

public static GetIO ( ) : IO
return IO

GetLastItemRectMax() public static method

public static GetLastItemRectMax ( ) : Vector2
return Vector2

GetLastItemRectMin() public static method

public static GetLastItemRectMin ( ) : Vector2
return Vector2

GetLastItemRectSize() public static method

public static GetLastItemRectSize ( ) : Vector2
return Vector2

GetMouseDragDelta() public static method

public static GetMouseDragDelta ( int button, float lockThreshold ) : Vector2
button int
lockThreshold float
return Vector2

GetMousePos() public static method

public static GetMousePos ( ) : Vector2
return Vector2

GetMousePosOnOpeningCurrentPopup() public static method

public static GetMousePosOnOpeningCurrentPopup ( ) : Vector2
return Vector2

GetStyle() public static method

public static GetStyle ( ) : Style
return Style

GetTextSize() public static method

public static GetTextSize ( string text, float wrapWidth = Int32.MaxValue ) : Vector2
text string
wrapWidth float
return Vector2

GetWindowContentRegionMax() public static method

public static GetWindowContentRegionMax ( ) : Vector2
return Vector2

GetWindowContentRegionMin() public static method

public static GetWindowContentRegionMin ( ) : Vector2
return Vector2

GetWindowContentRegionWidth() public static method

public static GetWindowContentRegionWidth ( ) : float
return float

GetWindowHeight() public static method

public static GetWindowHeight ( ) : float
return float

GetWindowWidth() public static method

public static GetWindowWidth ( ) : float
return float

Image() public static method

public static Image ( IntPtr userTextureID, Vector2 size, Vector2 uv0, Vector2 uv1, Vector4 tintColor, Vector4 borderColor ) : void
userTextureID System.IntPtr
size Vector2
uv0 Vector2
uv1 Vector2
tintColor Vector4
borderColor Vector4
return void

ImageButton() public static method

public static ImageButton ( IntPtr userTextureID, Vector2 size, Vector2 uv0, Vector2 uv1, int framePadding, Vector4 backgroundColor, Vector4 tintColor ) : bool
userTextureID System.IntPtr
size Vector2
uv0 Vector2
uv1 Vector2
framePadding int
backgroundColor Vector4
tintColor Vector4
return bool

InputText() public static method

public static InputText ( string label, IntPtr textBuffer, uint bufferSize, InputTextFlags flags, TextEditCallback textEditCallback ) : bool
label string
textBuffer System.IntPtr
bufferSize uint
flags InputTextFlags
textEditCallback TextEditCallback
return bool

InputText() public static method

public static InputText ( string label, IntPtr textBuffer, uint bufferSize, InputTextFlags flags, TextEditCallback textEditCallback, IntPtr userData ) : bool
label string
textBuffer System.IntPtr
bufferSize uint
flags InputTextFlags
textEditCallback TextEditCallback
userData System.IntPtr
return bool

InputTextMultiline() public static method

public static InputTextMultiline ( string label, IntPtr textBuffer, uint bufferSize, Vector2 size, InputTextFlags flags, TextEditCallback callback ) : void
label string
textBuffer System.IntPtr
bufferSize uint
size Vector2
flags InputTextFlags
callback TextEditCallback
return void

InputTextMultiline() public static method

public static InputTextMultiline ( string label, IntPtr textBuffer, uint bufferSize, Vector2 size, InputTextFlags flags, TextEditCallback callback, IntPtr userData ) : void
label string
textBuffer System.IntPtr
bufferSize uint
size Vector2
flags InputTextFlags
callback TextEditCallback
userData System.IntPtr
return void

InvisibleButton() public static method

public static InvisibleButton ( string id ) : bool
id string
return bool

InvisibleButton() public static method

public static InvisibleButton ( string id, Vector2 size ) : bool
id string
size Vector2
return bool

IsAnyItemActive() public static method

public static IsAnyItemActive ( ) : bool
return bool

IsAnyItemHovered() public static method

public static IsAnyItemHovered ( ) : bool
return bool

IsKeyDown() public static method

public static IsKeyDown ( int keyIndex ) : bool
keyIndex int
return bool

IsKeyPressed() public static method

public static IsKeyPressed ( int keyIndex, bool repeat ) : bool
keyIndex int
repeat bool
return bool

IsKeyReleased() public static method

public static IsKeyReleased ( int keyIndex ) : bool
keyIndex int
return bool

IsLastItemActive() public static method

public static IsLastItemActive ( ) : bool
return bool

IsLastItemHovered() public static method

public static IsLastItemHovered ( ) : bool
return bool

IsLastItemHoveredRect() public static method

public static IsLastItemHoveredRect ( ) : bool
return bool

IsLastItemVisible() public static method

public static IsLastItemVisible ( ) : bool
return bool

IsMouseClicked() public static method

public static IsMouseClicked ( int button, bool repeat ) : bool
button int
repeat bool
return bool

IsMouseDoubleClicked() public static method

public static IsMouseDoubleClicked ( int button ) : bool
button int
return bool

IsMouseDown() public static method

public static IsMouseDown ( int button ) : bool
button int
return bool

IsMouseDragging() public static method

public static IsMouseDragging ( int button, float lockThreshold ) : bool
button int
lockThreshold float
return bool

IsMouseHoveringAnyWindow() public static method

public static IsMouseHoveringAnyWindow ( ) : bool
return bool

IsMouseHoveringRect() public static method

public static IsMouseHoveringRect ( Vector2 minPosition, Vector2 maxPosition, bool clip ) : bool
minPosition Vector2
maxPosition Vector2
clip bool
return bool

IsMouseHoveringWindow() public static method

public static IsMouseHoveringWindow ( ) : bool
return bool

IsMouseReleased() public static method

public static IsMouseReleased ( int button ) : bool
button int
return bool

LabelText() public static method

public static LabelText ( string label, string text ) : void
label string
text string
return void

MenuItem() public static method

public static MenuItem ( string label ) : bool
label string
return bool

MenuItem() public static method

public static MenuItem ( string label, bool enabled ) : bool
label string
enabled bool
return bool

MenuItem() public static method

public static MenuItem ( string label, string shortcut ) : bool
label string
shortcut string
return bool

MenuItem() public static method

public static MenuItem ( string label, string shortcut, bool selected, bool enabled ) : bool
label string
shortcut string
selected bool
enabled bool
return bool

NewFrame() public static method

public static NewFrame ( ) : void
return void

NextColumn() public static method

public static NextColumn ( ) : void
return void

OpenPopup() public static method

public static OpenPopup ( string id ) : void
id string
return void

PlotHistogram() public static method

public static PlotHistogram ( string label, float values, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride ) : void
label string
values float
valuesOffset int
overlayText string
scaleMin float
scaleMax float
graphSize Vector2
stride int
return void

PlotLines() public static method

public static PlotLines ( string label, float values, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride ) : void
label string
values float
valuesOffset int
overlayText string
scaleMin float
scaleMax float
graphSize Vector2
stride int
return void

PopFont() public static method

public static PopFont ( ) : void
return void

PopID() public static method

public static PopID ( ) : void
return void

PopItemWidth() public static method

public static PopItemWidth ( ) : void
return void

PopStyleColor() public static method

public static PopStyleColor ( ) : void
return void

PopStyleColor() public static method

public static PopStyleColor ( int numStyles ) : void
numStyles int
return void

PopStyleVar() public static method

public static PopStyleVar ( ) : void
return void

PopStyleVar() public static method

public static PopStyleVar ( int count ) : void
count int
return void

PushFont() public static method

public static PushFont ( Font font ) : void
font Font
return void

PushID() public static method

public static PushID ( int id ) : void
id int
return void

PushID() public static method

public static PushID ( string id ) : void
id string
return void

PushIDRange() public static method

public static PushIDRange ( string idBegin, string idEnd ) : void
idBegin string
idEnd string
return void

PushItemWidth() public static method

public static PushItemWidth ( float width ) : void
width float
return void

PushStyleColor() public static method

public static PushStyleColor ( ColorTarget target, Vector4 color ) : void
target ColorTarget
color Vector4
return void

PushStyleVar() public static method

public static PushStyleVar ( StyleVar var, Vector2 value ) : void
var StyleVar
value Vector2
return void

PushStyleVar() public static method

public static PushStyleVar ( StyleVar var, float value ) : void
var StyleVar
value float
return void

RadioButton() public static method

public static RadioButton ( string label, int &target, int buttonValue ) : bool
label string
target int
buttonValue int
return bool

RadioButtonBool() public static method

public static RadioButtonBool ( string label, bool active ) : bool
label string
active bool
return bool

Render() public static method

public static Render ( ) : void
return void

ResetMouseDragDelta() public static method

public static ResetMouseDragDelta ( int button ) : void
button int
return void

SameLine() public static method

public static SameLine ( ) : void
return void

SameLine() public static method

public static SameLine ( float localPositionX, float spacingW ) : void
localPositionX float
spacingW float
return void

ScaleClipRects() public static method

Helper to scale the ClipRect field of each ImDrawCmd. Use if your final output buffer is at a different scale than ImGui expects, or if there is a difference between your window resolution and framebuffer resolution.
public static ScaleClipRects ( DrawData drawData, Vector2 scale ) : void
drawData DrawData Pointer to the DrawData to scale.
scale Vector2 The scale to apply.
return void

Selectable() public static method

public static Selectable ( string label ) : bool
label string
return bool

Selectable() public static method

public static Selectable ( string label, bool isSelected ) : bool
label string
isSelected bool
return bool

Selectable() public static method

public static Selectable ( string label, bool isSelected, SelectableFlags flags ) : bool
label string
isSelected bool
flags SelectableFlags
return bool

Selectable() public static method

public static Selectable ( string label, bool isSelected, SelectableFlags flags, Vector2 size ) : bool
label string
isSelected bool
flags SelectableFlags
size Vector2
return bool

SelectableEx() public static method

public static SelectableEx ( string label, bool &isSelected ) : bool
label string
isSelected bool
return bool

SelectableEx() public static method

public static SelectableEx ( string label, bool &isSelected, SelectableFlags flags, Vector2 size ) : bool
label string
isSelected bool
flags SelectableFlags
size Vector2
return bool

Separator() public static method

public static Separator ( ) : void
return void

SetColumnOffset() public static method

public static SetColumnOffset ( int columnIndex, float offsetX ) : void
columnIndex int
offsetX float
return void

SetKeyboardFocusHere() public static method

public static SetKeyboardFocusHere ( ) : void
return void

SetKeyboardFocusHere() public static method

public static SetKeyboardFocusHere ( int offset ) : void
offset int
return void

SetNextTreeNodeOpened() public static method

public static SetNextTreeNodeOpened ( bool opened ) : void
opened bool
return void

SetNextTreeNodeOpened() public static method

public static SetNextTreeNodeOpened ( bool opened, SetCondition setCondition ) : void
opened bool
setCondition SetCondition
return void

SetNextWindowPos() public static method

public static SetNextWindowPos ( Vector2 position, SetCondition condition ) : void
position Vector2
condition SetCondition
return void

SetNextWindowPosCenter() public static method

public static SetNextWindowPosCenter ( SetCondition condition ) : void
condition SetCondition
return void

SetNextWindowSize() public static method

public static SetNextWindowSize ( Vector2 size, SetCondition condition ) : void
size Vector2
condition SetCondition
return void

SetScrollHere() public static method

public static SetScrollHere ( ) : void
return void

SetScrollHere() public static method

public static SetScrollHere ( float centerYRatio ) : void
centerYRatio float
return void

SetTooltip() public static method

public static SetTooltip ( string text ) : void
text string
return void

SetWindowFontScale() public static method

public static SetWindowFontScale ( float scale ) : void
scale float
return void

Shutdown() public static method

public static Shutdown ( ) : void
return void

SliderAngle() public static method

public static SliderAngle ( string label, float &radians, float minDegrees, float maxDegrees ) : bool
label string
radians float
minDegrees float
maxDegrees float
return bool

SliderFloat() public static method

public static SliderFloat ( string sliderLabel, float &value, float min, float max, string displayText, float power ) : bool
sliderLabel string
value float
min float
max float
displayText string
power float
return bool

SliderInt() public static method

public static SliderInt ( string sliderLabel, int &value, int min, int max, string displayText ) : bool
sliderLabel string
value int
min int
max int
displayText string
return bool

SliderInt2() public static method

public static SliderInt2 ( string label, Int2 &value, int min, int max, string displayText ) : bool
label string
value Int2
min int
max int
displayText string
return bool

SliderInt3() public static method

public static SliderInt3 ( string label, Int3 &value, int min, int max, string displayText ) : bool
label string
value Int3
min int
max int
displayText string
return bool

SliderInt4() public static method

public static SliderInt4 ( string label, Int4 &value, int min, int max, string displayText ) : bool
label string
value Int4
min int
max int
displayText string
return bool

SliderVector2() public static method

public static SliderVector2 ( string label, Vector2 &value, float min, float max, string displayText, float power ) : bool
label string
value Vector2
min float
max float
displayText string
power float
return bool

SliderVector3() public static method

public static SliderVector3 ( string label, Vector3 &value, float min, float max, string displayText, float power ) : bool
label string
value Vector3
min float
max float
displayText string
power float
return bool

SliderVector4() public static method

public static SliderVector4 ( string label, Vector4 &value, float min, float max, string displayText, float power ) : bool
label string
value Vector4
min float
max float
displayText string
power float
return bool

SmallButton() public static method

public static SmallButton ( string label ) : bool
label string
return bool

Spacing() public static method

public static Spacing ( ) : void
return void

Text() public static method

public static Text ( string message ) : void
message string
return void

Text() public static method

public static Text ( string message, Vector4 color ) : void
message string
color Vector4
return void

TextDisabled() public static method

public static TextDisabled ( string text ) : void
text string
return void

TextWrapped() public static method

public static TextWrapped ( string text ) : void
text string
return void

TreeNode() public static method

public static TreeNode ( string label ) : bool
label string
return bool

TreePop() public static method

public static TreePop ( ) : void
return void