Contents page

Rules for Tools/display()


display()
SYNOPSIS
          void display(long flags)

ARGUMENTS
    `long flags'
          Display flags.

DESCRIPTION
     `display()' refreshes the main screen, redrawing the sections
     selected by the flag bits (see Display Flags).  `display()' is
     intended primarily for use by Accessories.  If you have a Tool
     that needs to refresh the main screen for some reason, call
     `display()' through `doscall()' to guarantee it synchronizes
     properly.

     The display flags:

    `DRAW_NAMES'
          Draw the track names.

    `DRAW_CHANNELSIN'
          Draw the track input selectors.

    `DRAW_TOOLSIN'
          Draw the left PipeLines.

    `DRAW_RECORD'
          Draw the Record/Play buttons.

    `DRAW_SEQUENCE'
          Draw the sequence portion of each track.

    `DRAW_MUTE'
          Draw the Through/Mute buttons.

    `DRAW_TOOLSOUT'
          Draw the right PipeLines.

    `DRAW_CHANNELSOUT'
          Draw the channel out numbers.

    `DRAW_MARKERS'
          Draw the flags.

    `DRAW_MENUS'
          Refresh the menu checkmarks.

    `DRAW_ALL'
          Do all of the above.

    `DRAW_ALLNEW'
          Redraw for new song.

     `display()' can draw any one item or several if you OR the flags:
          (*functions->display)(DRAW_NAMES|DRAW_TOOLSIN);