Beispiel #1
0
 public CTipItem(CTipType t, string content, OnTipCallback callback)
 {
     TipType    = t;
     TipContent = content;
     CallBack   = callback;
 }
Beispiel #2
0
 /// <summary>
 /// 显示一个提示信息
 /// </summary>
 /// <param name="t">提示信息的类型</param>
 /// <param name="content">内容</param>
 /// <param name="callback">回调</param>
 public static void ShowTip(CTipType t, string content, OnTipCallback callback)
 {
     mItems.Enqueue(new CTipItem(t, content, callback));
     AutoShow();
 }