Example #1
0
    //***************显示文本相关********************


    //显示文本
    public int ShowText(TextTaskContent theContent)
    {
        if (!isProcessorWorking)
        {
            isProcessorWorking = true;


            SetIsGlobalObjRespondMouse(false);
            theTextController.AddTaskWithCallBack(theContent, this, NormalTriggers.textFinishWork);


            return(0);
        }
        else
        {
            return(-1);
        }
    }