Exemple #1
0
        public static void DrawImage(object expImage, object xloc, object yloc)
        {
            ResetTemplate();

            ExposeImage img = (ExposeImage)expImage;
            float       x   = (float)xloc;
            float       y   = (float)yloc;

            TemplateSprite.Image    = img.Img;
            TemplateSprite.Position = new Vector2(x, y);

            NativeWindow.Singiltion.RWindow.Draw(TemplateSprite);
        }
 public RegistryImage(string name, RegistryItem parent, ExposeImage img)
     : base(name, parent)
 {
     this.Img = img;
 }