Exemple #1
0
        /// <summary>
        /// Set a static image to be displayed on the touchpad.
        /// </summary>
        /// <param name="image">Path to image.</param>
        /// <param name="interval">The interval (in milliseconds) at which to redraw the image file.</param>
        public override void Set(string image, int interval = 42)
        {
            image = GenericMethods.GetAbsolutePath(image);

            Renderer = new TouchpadImageRenderer(image, interval);
        }
Exemple #2
0
 /// <summary>
 /// Draws a static image to the touchpad.
 /// </summary>
 /// <param name="image">Path to the image file.</param>
 public override void Draw(string image)
 {
     TouchpadImageRenderer.Draw(image);
 }