public static void PopFont() { ImGuiNative.igPopFont(); }
public static bool DragVector4(string label, ref Vector4 value, float min, float max, float dragSpeed = 1f, string displayFormat = "%f", float dragPower = 1f) { return(ImGuiNative.igDragFloat4(label, ref value, dragSpeed, min, max, displayFormat, dragPower)); }
public static void PushItemWidth(float width) { ImGuiNative.igPushItemWidth(width); }
public static bool SliderAngle(string label, ref float radians, float minDegrees, float maxDegrees) { return(ImGuiNative.igSliderAngle(label, ref radians, minDegrees, maxDegrees)); }
public static bool SliderInt4(string label, ref Int4 value, int min, int max, string displayText) { return(ImGuiNative.igSliderInt4(label, ref value, min, max, displayText)); }
public static void ShowFontSelector(string label) { ImGuiNative.igShowFontSelector(label); }
public static void PushID(int id) { ImGuiNative.igPushIDInt(id); }
public static bool CollapsingHeader(string label, TreeNodeFlags flags) { return(ImGuiNative.igCollapsingHeader(label, flags)); }
public static bool Checkbox(string label, ref bool value) { return(ImGuiNative.igCheckbox(label, ref value)); }
//obsolete! public static bool CollapsingHeader(string label, string id, bool displayFrame, bool defaultOpen) { TreeNodeFlags default_open_flags = TreeNodeFlags.DefaultOpen; return(ImGuiNative.igCollapsingHeader(label, (defaultOpen ? default_open_flags : 0))); }
public static void Render() { ImGuiNative.igRender(); }
public static void CalcListClipping(int itemsCount, float itemsHeight, ref int outItemsDisplayStart, ref int outItemsDisplayEnd) { ImGuiNative.igCalcListClipping(itemsCount, itemsHeight, ref outItemsDisplayStart, ref outItemsDisplayEnd); }
public static void SetKeyboardFocusHere(int offset) { ImGuiNative.igSetKeyboardFocusHere(offset); }
public static void SetKeyboardFocusHere() { ImGuiNative.igSetKeyboardFocusHere(0); }
public static unsafe Style GetStyle() => new Style(ImGuiNative.igGetStyle());
public static bool RadioButtonBool(string label, bool active) { return(ImGuiNative.igRadioButtonBool(label, active)); }
public static void PushID(string id) { ImGuiNative.igPushIDStr(id); }
public static bool BeginCombo(string label, string previewValue, ComboFlags flags) => ImGuiNative.igBeginCombo(label, previewValue, flags);
public static bool SliderFloat(string sliderLabel, ref float value, float min, float max, string displayText, float power) { return(ImGuiNative.igSliderFloat(sliderLabel, ref value, min, max, displayText, power)); }
public static void EndCombo() => ImGuiNative.igEndCombo();
public static bool SliderVector4(string label, ref Vector4 value, float min, float max, string displayText, float power) { return(ImGuiNative.igSliderFloat4(label, ref value, min, max, displayText, power)); }
public unsafe static bool Combo(string label, ref int current_item, string[] items, int heightInItems) { return(ImGuiNative.igCombo(label, ref current_item, items, items.Length, heightInItems)); }
public static bool SliderInt(string sliderLabel, ref int value, int min, int max, string displayText) { return(ImGuiNative.igSliderInt(sliderLabel, ref value, min, max, displayText)); }
public static bool ColorButton(string desc_id, Vector4 color, ColorEditFlags flags, Vector2 size) { return(ImGuiNative.igColorButton(desc_id, color, flags, size)); }
public static void PushIDRange(string idBegin, string idEnd) { ImGuiNative.igPushIDStrRange(idBegin, idEnd); }
public static void Shutdown() { ImGuiNative.igShutdown(); }
public static bool DragInt4(string label, ref Int4 value, float speed, int minValue, int maxValue, string displayText) { return(ImGuiNative.igDragInt4(label, ref value, speed, minValue, maxValue, displayText)); }
public static unsafe IO GetIO() => new IO(ImGuiNative.igGetIO());
public static bool Button(string message) { return(ImGuiNative.igButton(message, Vector2.Zero)); }
public static unsafe void PushFont(Font font) { ImGuiNative.igPushFont(font.NativeFont); }