Beispiel #1
0
 public void Show(string title, string context, bool modal, MsgBoxUIStyle style = MsgBoxUIStyle.Default, Action okCallback = null, Action cancelCallback = null, string okTitle = null, string cancelTitle = null)
 {
     m_TempBuilder.SetTitle(title)
     .SetContext(context)
     .SetModal(modal)
     .SetOkListener(okCallback)
     .SetCancelListener(cancelCallback)
     .SetUIStyle(style)
     .SetOKButtonTitle(okTitle)
     .SetCancelButtonTitle(cancelTitle)
     .Show();
 }
Beispiel #2
0
 public MsgBoxBuilder SetUIStyle(MsgBoxUIStyle style)
 {
     m_UIStyle = style;
     return(this);
 }
Beispiel #3
0
 private bool CheckBit(MsgBoxUIStyle target, MsgBoxUIStyle mask)
 {
     return(CheckBit((int)target, (int)mask));
 }
Beispiel #4
0
 private bool CheckEnable(MsgBoxUIStyle mask)
 {
     return(CheckBit(m_UIStyle, mask));
 }