|
|
@ -37,11 +37,11 @@ namespace ImGuiNET |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern byte igBeginPopup(byte* str_id, ImGuiWindowFlags flags); |
|
|
|
public static extern byte igBeginPopup(byte* str_id, ImGuiWindowFlags flags); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern byte igBeginPopupContextItem(byte* str_id, int mouse_button); |
|
|
|
public static extern byte igBeginPopupContextItem(byte* str_id, ImGuiMouseButton mouse_button); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern byte igBeginPopupContextVoid(byte* str_id, int mouse_button); |
|
|
|
public static extern byte igBeginPopupContextVoid(byte* str_id, ImGuiMouseButton mouse_button); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern byte igBeginPopupContextWindow(byte* str_id, int mouse_button, byte also_over_items); |
|
|
|
public static extern byte igBeginPopupContextWindow(byte* str_id, ImGuiMouseButton mouse_button, byte also_over_items); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern byte igBeginPopupModal(byte* name, byte* p_open, ImGuiWindowFlags flags); |
|
|
|
public static extern byte igBeginPopupModal(byte* name, byte* p_open, ImGuiWindowFlags flags); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
@ -127,9 +127,9 @@ namespace ImGuiNET |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern byte igDragIntRange2(byte* label, int* v_current_min, int* v_current_max, float v_speed, int v_min, int v_max, byte* format, byte* format_max); |
|
|
|
public static extern byte igDragIntRange2(byte* label, int* v_current_min, int* v_current_max, float v_speed, int v_min, int v_max, byte* format, byte* format_max); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern byte igDragScalar(byte* label, ImGuiDataType data_type, void* v, float v_speed, void* v_min, void* v_max, byte* format, float power); |
|
|
|
public static extern byte igDragScalar(byte* label, ImGuiDataType data_type, void* p_data, float v_speed, void* p_min, void* p_max, byte* format, float power); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern byte igDragScalarN(byte* label, ImGuiDataType data_type, void* v, int components, float v_speed, void* v_min, void* v_max, byte* format, float power); |
|
|
|
public static extern byte igDragScalarN(byte* label, ImGuiDataType data_type, void* p_data, int components, float v_speed, void* p_min, void* p_max, byte* format, float power); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern void igDummy(Vector2 size); |
|
|
|
public static extern void igDummy(Vector2 size); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
@ -237,7 +237,7 @@ namespace ImGuiNET |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern ImGuiMouseCursor igGetMouseCursor(); |
|
|
|
public static extern ImGuiMouseCursor igGetMouseCursor(); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl, EntryPoint = "igGetMouseDragDelta_nonUDT2")] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl, EntryPoint = "igGetMouseDragDelta_nonUDT2")] |
|
|
|
public static extern Vector2 igGetMouseDragDelta(int button, float lock_threshold); |
|
|
|
public static extern Vector2 igGetMouseDragDelta(ImGuiMouseButton button, float lock_threshold); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl, EntryPoint = "igGetMousePos_nonUDT2")] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl, EntryPoint = "igGetMousePos_nonUDT2")] |
|
|
|
public static extern Vector2 igGetMousePos(); |
|
|
|
public static extern Vector2 igGetMousePos(); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl, EntryPoint = "igGetMousePosOnOpeningCurrentPopup_nonUDT2")] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl, EntryPoint = "igGetMousePosOnOpeningCurrentPopup_nonUDT2")] |
|
|
@ -309,9 +309,9 @@ namespace ImGuiNET |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern byte igInputInt4(byte* label, int* v, ImGuiInputTextFlags flags); |
|
|
|
public static extern byte igInputInt4(byte* label, int* v, ImGuiInputTextFlags flags); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern byte igInputScalar(byte* label, ImGuiDataType data_type, void* v, void* step, void* step_fast, byte* format, ImGuiInputTextFlags flags); |
|
|
|
public static extern byte igInputScalar(byte* label, ImGuiDataType data_type, void* p_data, void* p_step, void* p_step_fast, byte* format, ImGuiInputTextFlags flags); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern byte igInputScalarN(byte* label, ImGuiDataType data_type, void* v, int components, void* step, void* step_fast, byte* format, ImGuiInputTextFlags flags); |
|
|
|
public static extern byte igInputScalarN(byte* label, ImGuiDataType data_type, void* p_data, int components, void* p_step, void* p_step_fast, byte* format, ImGuiInputTextFlags flags); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern byte igInputText(byte* label, byte* buf, uint buf_size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* user_data); |
|
|
|
public static extern byte igInputText(byte* label, byte* buf, uint buf_size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* user_data); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
@ -333,7 +333,7 @@ namespace ImGuiNET |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern byte igIsItemActive(); |
|
|
|
public static extern byte igIsItemActive(); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern byte igIsItemClicked(int mouse_button); |
|
|
|
public static extern byte igIsItemClicked(ImGuiMouseButton mouse_button); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern byte igIsItemDeactivated(); |
|
|
|
public static extern byte igIsItemDeactivated(); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
@ -345,6 +345,8 @@ namespace ImGuiNET |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern byte igIsItemHovered(ImGuiHoveredFlags flags); |
|
|
|
public static extern byte igIsItemHovered(ImGuiHoveredFlags flags); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
|
|
|
|
public static extern byte igIsItemToggledOpen(); |
|
|
|
|
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern byte igIsItemVisible(); |
|
|
|
public static extern byte igIsItemVisible(); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern byte igIsKeyDown(int user_key_index); |
|
|
|
public static extern byte igIsKeyDown(int user_key_index); |
|
|
@ -353,19 +355,19 @@ namespace ImGuiNET |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern byte igIsKeyReleased(int user_key_index); |
|
|
|
public static extern byte igIsKeyReleased(int user_key_index); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern byte igIsMouseClicked(int button, byte repeat); |
|
|
|
public static extern byte igIsMouseClicked(ImGuiMouseButton button, byte repeat); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern byte igIsMouseDoubleClicked(int button); |
|
|
|
public static extern byte igIsMouseDoubleClicked(ImGuiMouseButton button); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern byte igIsMouseDown(int button); |
|
|
|
public static extern byte igIsMouseDown(ImGuiMouseButton button); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern byte igIsMouseDragging(int button, float lock_threshold); |
|
|
|
public static extern byte igIsMouseDragging(ImGuiMouseButton button, float lock_threshold); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern byte igIsMouseHoveringRect(Vector2 r_min, Vector2 r_max, byte clip); |
|
|
|
public static extern byte igIsMouseHoveringRect(Vector2 r_min, Vector2 r_max, byte clip); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern byte igIsMousePosValid(Vector2* mouse_pos); |
|
|
|
public static extern byte igIsMousePosValid(Vector2* mouse_pos); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern byte igIsMouseReleased(int button); |
|
|
|
public static extern byte igIsMouseReleased(ImGuiMouseButton button); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern byte igIsPopupOpen(byte* str_id); |
|
|
|
public static extern byte igIsPopupOpen(byte* str_id); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
@ -423,7 +425,7 @@ namespace ImGuiNET |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern void igOpenPopup(byte* str_id); |
|
|
|
public static extern void igOpenPopup(byte* str_id); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern byte igOpenPopupOnItemClick(byte* str_id, int mouse_button); |
|
|
|
public static extern byte igOpenPopupOnItemClick(byte* str_id, ImGuiMouseButton mouse_button); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern void igPlotHistogramFloatPtr(byte* label, float* values, int values_count, int values_offset, byte* overlay_text, float scale_min, float scale_max, Vector2 graph_size, int stride); |
|
|
|
public static extern void igPlotHistogramFloatPtr(byte* label, float* values, int values_count, int values_offset, byte* overlay_text, float scale_min, float scale_max, Vector2 graph_size, int stride); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
@ -483,7 +485,7 @@ namespace ImGuiNET |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern void igRender(); |
|
|
|
public static extern void igRender(); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern void igResetMouseDragDelta(int button); |
|
|
|
public static extern void igResetMouseDragDelta(ImGuiMouseButton button); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern void igSameLine(float offset_from_start_x, float spacing); |
|
|
|
public static extern void igSameLine(float offset_from_start_x, float spacing); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
@ -523,7 +525,7 @@ namespace ImGuiNET |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern void igSetKeyboardFocusHere(int offset); |
|
|
|
public static extern void igSetKeyboardFocusHere(int offset); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern void igSetMouseCursor(ImGuiMouseCursor type); |
|
|
|
public static extern void igSetMouseCursor(ImGuiMouseCursor cursor_type); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern void igSetNextItemOpen(byte is_open, ImGuiCond cond); |
|
|
|
public static extern void igSetNextItemOpen(byte is_open, ImGuiCond cond); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
@ -611,9 +613,9 @@ namespace ImGuiNET |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern byte igSliderInt4(byte* label, int* v, int v_min, int v_max, byte* format); |
|
|
|
public static extern byte igSliderInt4(byte* label, int* v, int v_min, int v_max, byte* format); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern byte igSliderScalar(byte* label, ImGuiDataType data_type, void* v, void* v_min, void* v_max, byte* format, float power); |
|
|
|
public static extern byte igSliderScalar(byte* label, ImGuiDataType data_type, void* p_data, void* p_min, void* p_max, byte* format, float power); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern byte igSliderScalarN(byte* label, ImGuiDataType data_type, void* v, int components, void* v_min, void* v_max, byte* format, float power); |
|
|
|
public static extern byte igSliderScalarN(byte* label, ImGuiDataType data_type, void* p_data, int components, void* p_min, void* p_max, byte* format, float power); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern byte igSmallButton(byte* label); |
|
|
|
public static extern byte igSmallButton(byte* label); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
@ -667,7 +669,7 @@ namespace ImGuiNET |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern byte igVSliderInt(byte* label, Vector2 size, int* v, int v_min, int v_max, byte* format); |
|
|
|
public static extern byte igVSliderInt(byte* label, Vector2 size, int* v, int v_min, int v_max, byte* format); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern byte igVSliderScalar(byte* label, Vector2 size, ImGuiDataType data_type, void* v, void* v_min, void* v_max, byte* format, float power); |
|
|
|
public static extern byte igVSliderScalar(byte* label, Vector2 size, ImGuiDataType data_type, void* p_data, void* p_min, void* p_max, byte* format, float power); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern void ImColor_destroy(ImColor* self); |
|
|
|
public static extern void ImColor_destroy(ImColor* self); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl, EntryPoint = "ImColor_HSV_nonUDT2")] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl, EntryPoint = "ImColor_HSV_nonUDT2")] |
|
|
@ -699,45 +701,49 @@ namespace ImGuiNET |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern void ImDrawData_ScaleClipRects(ImDrawData* self, Vector2 fb_scale); |
|
|
|
public static extern void ImDrawData_ScaleClipRects(ImDrawData* self, Vector2 fb_scale); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern void ImDrawList_AddBezierCurve(ImDrawList* self, Vector2 pos0, Vector2 cp0, Vector2 cp1, Vector2 pos1, uint col, float thickness, int num_segments); |
|
|
|
public static extern void ImDrawList_AddBezierCurve(ImDrawList* self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness, int num_segments); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern void ImDrawList_AddCallback(ImDrawList* self, IntPtr callback, void* callback_data); |
|
|
|
public static extern void ImDrawList_AddCallback(ImDrawList* self, IntPtr callback, void* callback_data); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern void ImDrawList_AddCircle(ImDrawList* self, Vector2 centre, float radius, uint col, int num_segments, float thickness); |
|
|
|
public static extern void ImDrawList_AddCircle(ImDrawList* self, Vector2 center, float radius, uint col, int num_segments, float thickness); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern void ImDrawList_AddCircleFilled(ImDrawList* self, Vector2 centre, float radius, uint col, int num_segments); |
|
|
|
public static extern void ImDrawList_AddCircleFilled(ImDrawList* self, Vector2 center, float radius, uint col, int num_segments); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern void ImDrawList_AddConvexPolyFilled(ImDrawList* self, Vector2* points, int num_points, uint col); |
|
|
|
public static extern void ImDrawList_AddConvexPolyFilled(ImDrawList* self, Vector2* points, int num_points, uint col); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern void ImDrawList_AddDrawCmd(ImDrawList* self); |
|
|
|
public static extern void ImDrawList_AddDrawCmd(ImDrawList* self); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern void ImDrawList_AddImage(ImDrawList* self, IntPtr user_texture_id, Vector2 a, Vector2 b, Vector2 uv_a, Vector2 uv_b, uint col); |
|
|
|
public static extern void ImDrawList_AddImage(ImDrawList* self, IntPtr user_texture_id, Vector2 p_min, Vector2 p_max, Vector2 uv_min, Vector2 uv_max, uint col); |
|
|
|
|
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
|
|
|
|
public static extern void ImDrawList_AddImageQuad(ImDrawList* self, IntPtr user_texture_id, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector2 uv4, uint col); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern void ImDrawList_AddImageQuad(ImDrawList* self, IntPtr user_texture_id, Vector2 a, Vector2 b, Vector2 c, Vector2 d, Vector2 uv_a, Vector2 uv_b, Vector2 uv_c, Vector2 uv_d, uint col); |
|
|
|
public static extern void ImDrawList_AddImageRounded(ImDrawList* self, IntPtr user_texture_id, Vector2 p_min, Vector2 p_max, Vector2 uv_min, Vector2 uv_max, uint col, float rounding, ImDrawCornerFlags rounding_corners); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern void ImDrawList_AddImageRounded(ImDrawList* self, IntPtr user_texture_id, Vector2 a, Vector2 b, Vector2 uv_a, Vector2 uv_b, uint col, float rounding, ImDrawCornerFlags rounding_corners); |
|
|
|
public static extern void ImDrawList_AddLine(ImDrawList* self, Vector2 p1, Vector2 p2, uint col, float thickness); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern void ImDrawList_AddLine(ImDrawList* self, Vector2 a, Vector2 b, uint col, float thickness); |
|
|
|
public static extern void ImDrawList_AddNgon(ImDrawList* self, Vector2 center, float radius, uint col, int num_segments, float thickness); |
|
|
|
|
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
|
|
|
|
public static extern void ImDrawList_AddNgonFilled(ImDrawList* self, Vector2 center, float radius, uint col, int num_segments); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern void ImDrawList_AddPolyline(ImDrawList* self, Vector2* points, int num_points, uint col, byte closed, float thickness); |
|
|
|
public static extern void ImDrawList_AddPolyline(ImDrawList* self, Vector2* points, int num_points, uint col, byte closed, float thickness); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern void ImDrawList_AddQuad(ImDrawList* self, Vector2 a, Vector2 b, Vector2 c, Vector2 d, uint col, float thickness); |
|
|
|
public static extern void ImDrawList_AddQuad(ImDrawList* self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern void ImDrawList_AddQuadFilled(ImDrawList* self, Vector2 a, Vector2 b, Vector2 c, Vector2 d, uint col); |
|
|
|
public static extern void ImDrawList_AddQuadFilled(ImDrawList* self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern void ImDrawList_AddRect(ImDrawList* self, Vector2 a, Vector2 b, uint col, float rounding, ImDrawCornerFlags rounding_corners, float thickness); |
|
|
|
public static extern void ImDrawList_AddRect(ImDrawList* self, Vector2 p_min, Vector2 p_max, uint col, float rounding, ImDrawCornerFlags rounding_corners, float thickness); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern void ImDrawList_AddRectFilled(ImDrawList* self, Vector2 a, Vector2 b, uint col, float rounding, ImDrawCornerFlags rounding_corners); |
|
|
|
public static extern void ImDrawList_AddRectFilled(ImDrawList* self, Vector2 p_min, Vector2 p_max, uint col, float rounding, ImDrawCornerFlags rounding_corners); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern void ImDrawList_AddRectFilledMultiColor(ImDrawList* self, Vector2 a, Vector2 b, uint col_upr_left, uint col_upr_right, uint col_bot_right, uint col_bot_left); |
|
|
|
public static extern void ImDrawList_AddRectFilledMultiColor(ImDrawList* self, Vector2 p_min, Vector2 p_max, uint col_upr_left, uint col_upr_right, uint col_bot_right, uint col_bot_left); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern void ImDrawList_AddText(ImDrawList* self, Vector2 pos, uint col, byte* text_begin, byte* text_end); |
|
|
|
public static extern void ImDrawList_AddText(ImDrawList* self, Vector2 pos, uint col, byte* text_begin, byte* text_end); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern void ImDrawList_AddTextFontPtr(ImDrawList* self, ImFont* font, float font_size, Vector2 pos, uint col, byte* text_begin, byte* text_end, float wrap_width, Vector4* cpu_fine_clip_rect); |
|
|
|
public static extern void ImDrawList_AddTextFontPtr(ImDrawList* self, ImFont* font, float font_size, Vector2 pos, uint col, byte* text_begin, byte* text_end, float wrap_width, Vector4* cpu_fine_clip_rect); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern void ImDrawList_AddTriangle(ImDrawList* self, Vector2 a, Vector2 b, Vector2 c, uint col, float thickness); |
|
|
|
public static extern void ImDrawList_AddTriangle(ImDrawList* self, Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern void ImDrawList_AddTriangleFilled(ImDrawList* self, Vector2 a, Vector2 b, Vector2 c, uint col); |
|
|
|
public static extern void ImDrawList_AddTriangleFilled(ImDrawList* self, Vector2 p1, Vector2 p2, Vector2 p3, uint col); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern void ImDrawList_ChannelsMerge(ImDrawList* self); |
|
|
|
public static extern void ImDrawList_ChannelsMerge(ImDrawList* self); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
@ -759,11 +765,11 @@ namespace ImGuiNET |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern ImDrawList* ImDrawList_ImDrawList(IntPtr shared_data); |
|
|
|
public static extern ImDrawList* ImDrawList_ImDrawList(IntPtr shared_data); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern void ImDrawList_PathArcTo(ImDrawList* self, Vector2 centre, float radius, float a_min, float a_max, int num_segments); |
|
|
|
public static extern void ImDrawList_PathArcTo(ImDrawList* self, Vector2 center, float radius, float a_min, float a_max, int num_segments); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern void ImDrawList_PathArcToFast(ImDrawList* self, Vector2 centre, float radius, int a_min_of_12, int a_max_of_12); |
|
|
|
public static extern void ImDrawList_PathArcToFast(ImDrawList* self, Vector2 center, float radius, int a_min_of_12, int a_max_of_12); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern void ImDrawList_PathBezierCurveTo(ImDrawList* self, Vector2 p1, Vector2 p2, Vector2 p3, int num_segments); |
|
|
|
public static extern void ImDrawList_PathBezierCurveTo(ImDrawList* self, Vector2 p2, Vector2 p3, Vector2 p4, int num_segments); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern void ImDrawList_PathClear(ImDrawList* self); |
|
|
|
public static extern void ImDrawList_PathClear(ImDrawList* self); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
@ -789,6 +795,8 @@ namespace ImGuiNET |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern void ImDrawList_PrimReserve(ImDrawList* self, int idx_count, int vtx_count); |
|
|
|
public static extern void ImDrawList_PrimReserve(ImDrawList* self, int idx_count, int vtx_count); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
|
|
|
|
public static extern void ImDrawList_PrimUnreserve(ImDrawList* self, int idx_count, int vtx_count); |
|
|
|
|
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern void ImDrawList_PrimVtx(ImDrawList* self, Vector2 pos, Vector2 uv, uint col); |
|
|
|
public static extern void ImDrawList_PrimVtx(ImDrawList* self, Vector2 pos, Vector2 uv, uint col); |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
[DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public static extern void ImDrawList_PrimWriteIdx(ImDrawList* self, ushort idx); |
|
|
|
public static extern void ImDrawList_PrimWriteIdx(ImDrawList* self, ushort idx); |
|
|
|