the best way to show an hourglass animation

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Hi,

      there are several ways of implementing an hourglass in emWin.

      If it should stick to the cursor you could use the function GUI_CURSOR_SelectAnim(). You could use the default animated cursor (which is an hourglass) or create your own. Please refer to the API description of GUI_CURSOR_SelectAnim() in the manual.

      If the hourglass should be drawn somewhere on the screen you could also draw a GIF-animation using the GIF related API.

      A third method might be to use a sprite and draw it on the screen (this is more or less the same as a cursor).

      Regards,
      Sven
      Please read the forum rules before posting.

      Keep in mind, this is *not* a support forum.
      Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
      Should you be entitled to support you can contact us via our support system: segger.com/ticket/

      Or you can contact us via e-mail.