igSelectable() private method

private igSelectable ( string label, bool selected, SelectableFlags flags, Vector2 size ) : bool
label string
selected bool
flags SelectableFlags
size Vector2
return bool
Beispiel #1
0
 public static unsafe bool Selectable(string label, bool isSelected, SelectableFlags flags, Vector2 size)
 {
     fixed(byte *bytes = System.Text.Encoding.UTF8.GetBytes(label))
     {
         return(ImGuiNative.igSelectable(bytes, isSelected, flags, size));
     }
 }
Beispiel #2
0
 public static bool Selectable(string label, bool isSelected, SelectableFlags flags, Vector2 size)
 {
     return(ImGuiNative.igSelectable(label, isSelected, flags, size));
 }
Beispiel #3
0
 public static bool Selectable(string label, bool isSelected, ImGuiSelectableFlags flags, ImVec2 size)
 => ImGuiNative.igSelectable(label, isSelected, flags, size);