Пример #1
0
 // Token: 0x060003AC RID: 940 RVA: 0x0001CC88 File Offset: 0x0001AE88
 public void setPopUp(string info, Command cmdYes, Command cmdNo)
 {
     this.info = new string[]
     {
         info
     };
     this.H               = 29;
     this.cmdYes          = cmdYes;
     this.cmdNo           = cmdNo;
     this.cmdYes.img      = (this.cmdNo.img = GameScr.imgNut);
     this.cmdYes.imgFocus = (this.cmdNo.imgFocus = GameScr.imgNutF);
     this.cmdYes.w        = mGraphics.getImageWidth(cmdYes.img);
     this.cmdNo.w         = mGraphics.getImageWidth(cmdYes.img);
     this.cmdYes.h        = mGraphics.getImageHeight(cmdYes.img);
     this.cmdNo.h         = mGraphics.getImageHeight(cmdYes.img);
     this.last            = mSystem.currentTimeMillis();
     this.dem             = this.info[0].Length / 3;
     if (this.dem < 15)
     {
         this.dem = 15;
     }
     TextInfo.reset();
 }