[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


    NAME
        RemakeDisplay -- Remake the entire Intuition display.

    SYNOPSIS
        failure = RemakeDisplay()
        D0 (V39)

        long remakedisplay( void );
        /* Returns long in v39 and greater */

    FUNCTION
        This is the big one.

        This procedure remakes the entire view structure for the
        Intuition display.  It does the equivalent of makescreen() for
        every screen in the system, and then it calls the internal
        equivalent of rethinkdisplay().

        WARNING:  This routine can take many milliseconds to run, so
        do not use it lightly.

        Calling makescreen() followed by rethinkdisplay() is typically
        a more efficient method for affecting changes to a single
        screen's viewport.

    INPUTS
        None

    RESULT
        Starting with V39, returns zero for success, non-zero for failure.
        Probable cause of failure is failure of graphics.library/makevport()
        or of graphics.library/mrgcop().
        Prior to V39, the return code is invalid.  Do not interpret it when
        running on pre-V39 systems!

    BUGS

    SEE ALSO
        makescreen(), rethinkdisplay(), graphics.library/makevport()
        graphics.library/mrgcop(), graphics.library/loadview()