Glimmr Automap

version 2/101030 by Erik Temple

  • Home page
  • Beginning
  • Previous
  • Next



  • Section - UI element definition

    [We do not want these images to be scaled by the canvas engine. The easiest way to ensure this is to assign them as direct descendants of the g-element kind, bypassing the sprite kind, which has its own scaling rules.]

    A UI-element is a kind of g-element.
    A UI-element has a figure-name called the image-ID.
    The display-layer of a UI-element is usually 0.

    A UI-button is a kind of UI-element. The graphlink status of a UI-button is g-active.

    A UI-button has a figure-name called the resting state.
    A UI-button has a figure-name called the depressed state.
    A UI-button has a figure-name called the inactive state.