igCollapsingHeader() private method

private igCollapsingHeader ( string label, string str_id, bool display_frame, bool default_open ) : bool
label string
str_id string
display_frame bool
default_open bool
return bool
Esempio n. 1
0
 public static unsafe bool CollapsingHeader(string label, TreeNodeFlags flags)
 {
     fixed(byte *bytes = System.Text.Encoding.UTF8.GetBytes(label))
     {
         return(ImGuiNative.igCollapsingHeader(bytes, flags));
     }
 }
Esempio n. 2
0
 public static bool CollapsingHeader(string label, TreeNodeFlags flags)
 {
     return(ImGuiNative.igCollapsingHeader(label, flags));
 }
Esempio n. 3
0
        //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)));
        }
Esempio n. 4
0
 public static bool CollapsingHeader(string label, string id, bool displayFrame, bool defaultOpen)
 {
     return(ImGuiNative.igCollapsingHeader(label, id, displayFrame, defaultOpen));
 }
Esempio n. 5
0
 public static bool CollapsingHeader(string label, ImGuiTreeNodeFlags flags = 0)
 => ImGuiNative.igCollapsingHeader(label, flags);