Unit 'intuition' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#amunits]

MakeScreen

Do an Intuition-integrated MakeVPort() of a screen.

Declaration

Source position: intuition.pas line 4124

function MakeScreen(

  screen: pScreen

):LongInt;

Arguments

screen

  

Address of the custom screen structure

Function result

Returns zero for success, non-zero for failure. Probable cause of failure is failure of MakeVPort().

Description

This procedure allows you to do a MakeVPort() for the viewport of your custom screen in an Intuition-integrated way. This way you can do your own screen manipulations without worrying about interference with Intuition's usage of the same viewport.

The operation of this function is as follows:

After calling this routine, you should call RethinkDisplay() to incorporate the new viewport of your custom screen into the Intuition display.

Note: Intuition may determine that because of a change in global interlace needs that all viewports need to be remade, so it may effectively call RemakeDisplay().

See also

RemakeDisplay

  

RethinkDisplay

  

Grand manipulation of the entire Intuition display.

MakeVPort

  

Generate display copper list for a viewport.


Documentation generated on: 2021-07-30