a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Libraries:
 intuition.library
  ActivateGadget
  ActivateWindow
  AddClass
  AddGList
  AddGadget
  AllocRemember
  AllocScreenBuffer
  AutoRequest
  BeginRefresh
  BuildEasyRequestArgs
  BuildSysRequest
  ChangeScreenBuffer
  ChangeWindowBox
  ClearDMRequest
  ClearMenuStrip
  ClearPointer
  CloseScreen
  CloseWindow
  CloseWorkBench
  CurrentTime
  DisplayAlert
  DisplayBeep
  DisposeObject
  DoGadgetMethodA
  DoubleClick
  DrawBorder
  DrawImage
  DrawImageState
  EasyRequestArgs
  EndRefresh
  EndRequest
  EraseImage
  FreeClass
  FreeRemember
  FreeScreenBuffer
  FreeScreenDrawInfo
  FreeSysRequest
  GadgetMouse
  GetAttr
  GetDefPrefs
  GetDefaultPubScreen
  GetPrefs
  GetScreenData
  GetScreenDrawInfo
  HelpControl
  InitRequester
  IntuiTextLength
  ItemAddress
  LendMenus
  LockIBase
  LockPubScreen
  LockPubScreenList
  MakeClass
  MakeScreen
  ModifyIDCMP
  ModifyProp
  MoveScreen
  MoveWindow
  MoveWindowInFrontOf
  NewModifyProp
  NewObject
  NextObject
  NextPubScreen
  ObtainGIRPort
  OffGadget
  OffMenu
  OnGadget
  OnMenu
  OpenScreen
  OpenScreenTagList
  OpenWindow
  OpenWindowTagList
  OpenWorkBench
  PointInImage
  PrintIText
  PubScreenStatus
  QueryOverscan
  RefreshGList
  RefreshGadgets
  RefreshWindowFrame
  ReleaseGIRPort
  RemakeDisplay
  RemoveClass
  RemoveGList
  RemoveGadget
  ReportMouse
  Request
  ResetMenuStrip
  RethinkDisplay
  ScreenDepth
  ScreenPosition
  ScreenToBack
  ScreenToFront
  ScrollWindowRaster
  SetAttrsA
  SetDMRequest
  SetDefaultPubScreen
  SetEditHook
  SetGadgetAttrsA
  SetMenuStrip
  SetMouseQueue
  SetPointer
  SetPrefs
  SetPubScreenModes
  SetWindowPointerA
  SetWindowTitles
  ShowTitle
  SizeWindow
  SysReqHandler
  TimedDisplayAlert
  UnlockIBase
  UnlockPubScreen
  UnlockPubScreenList
  ViewAddress
  ViewPortAddress
  WBenchToBack
  WBenchToFront
  WindowLimits
  WindowToBack
  WindowToFront
  ZipWindow
Include
GuruMeditation
Docs » Autodocs » intuition.library » RethinkDisplay

NAME

	RethinkDisplay -- Grand manipulation of the entire Intuition display.

SYNOPSIS

	failure = RethinkDisplay()
D0 (V39)
LONG RethinkDisplay( VOID );
/* Returns LONG in V39 and greater */

FUNCTION

	This function performs the Intuition global display reconstruction.
This includes rethinking about all of the ViewPorts and their
relationship to one another and reconstructing the entire display
based on the results of this rethinking.
Specifically, and omitting many internal details, the operation
consists of this:
Determine which ViewPorts are invisible and set their VP_HIDE
ViewPort Mode flag. VP_HIDE flags are also set for screens that
may not be simultaneously displayed with the frontmost (V36).
If a change to a viewport height, or changing interlace or
monitor scan rates require, MakeVPort() is called for specific
screen viewports. After this phase, the intermediate Copper lists
for each screen's viewport are correctly set up.
MrgCop() and LoadView() are then called to get these Copper lists
in action, thus establishing the new state of the Intuition
display.
You may perform a MakeScreen() on your Custom Screen before calling
this routine. The results will be incorporated in the new display, but
changing the INTERLACE ViewPort mode for one screens must be reflected
in the Intuition View, which is left to Intuition.
WARNING: This routine can take several milliseconds to run, so
do not use it lightly.
New for V36: This routine is substantially changed to support
new screen modes. In particular, if screen rearrangement has
caused a change in interlace mode or scan rate, this routine
will remake the copper lists for each 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

	In V35 and earlier, an interlaced screen coming to the front
may not trigger a complete remake as required when the global
interlace state is changed. In some cases, this can be compensated
for by setting the viewport DHeight field to 0 for hidden screens.

SEE ALSO

RemakeDisplay(), graphics.library/MakeVPort(), graphics.library/MrgCop(), graphics.library/LoadView(), MakeScreen()

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Horizon

HZ
DC
ANA
FLT

Comments:

$VER: d0.se 1.14 Copyright © 2011-2021 Tobias Geijersson support at d0 dot se