public GUICheckBox AddCheckBox(bool ischecked, Rect rectangle, GUIElement parent, int id, string text) { IntPtr par = (parent == null ? IntPtr.Zero : parent.Raw); return (GUICheckBox)NativeElement.GetObject(GuiEnv_AddCheckBox(_raw, ischecked, rectangle.ToUnmanaged(), par, id, text), typeof(GUICheckBox)); }