예제 #1
0
        public void ClickMainpageButton(RECT viewportRect, PCRMainpageButton buttonType)
        {
            var pointRate = GetMainpageButtonRectRate(buttonType);
            var point     = GetEmulatorPoint(viewportRect, pointRate);

            DoClick(point);
        }
예제 #2
0
 public Vec2f GetMainpageButtonRectRate(PCRMainpageButton buttonType)
 {
     return(mainpageButtonRectRateMap[buttonType]);
 }