예제 #1
0
 public static int nk_popup_begin(NkContext ctx, NkPopupType type, string title, PanelFlags flags, NkRect rect)
 {
     fixed(char *ptr = title)
     {
         return(nk_popup_begin(ctx, type, ptr, flags, rect));
     }
 }
예제 #2
0
 public bool PopupBegin(NkPopupType type, string title, PanelFlags flags, NkRect rect)
 {
     fixed(char *title_ptr = title)
     {
         return(Nk.nk_popup_begin(_ctx, type, title_ptr, flags, rect) != 0);
     }
 }