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 » MakeScreen

NAME

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

SYNOPSIS

	failure = MakeScreen( Screen )
D0 (V39) A0
LONG MakeScreen( struct Screen * );
/* Returns LONG in V39 and greater */

FUNCTION

	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:
- Block until the Intuition View structure is not in being changed.
- Set the view modes correctly to reflect if there is a (visible)
interlaced screen.
- call MakeVPort(), passing the Intuition View and your screen's
ViewPort.
- Unlocks the Intuition View.
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().

INPUTS

	Screen = address of the custom screen structure

RESULT

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

BUGS

SEE ALSO

RethinkDisplay(), RemakeDisplay(), graphics.library/MakeVPort()

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:

Rebels

RBS
TSL
SPB
SNT

Comments:

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