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

NAME

	FreeScreenBuffer -- Free a ScreenBuffer structure. (V39)

SYNOPSIS

	FreeScreenBuffer( Screen, ScreenBuffer )
A0 A1
VOID FreeScreenBuffer( struct Screen *, struct ScreenBuffer * );

FUNCTION

	Frees a ScreenBuffer structure you got from AllocScreenBuffer(),
and releases associated resources. You must call FreeScreenBuffer()
before you close your screen.

INPUTS

	Screen: pointer to the screen this ScreenBuffer is associated with.
ScreenBuffer: pointer to a ScreenBuffer structure obtained from
AllocScreenBuffer(). It is safe to call this function with
a NULL argument. It will have no effect.

RESULT

	None.

NOTES

	Originally, FreeScreenBuffer() did not WaitBlit() before freeing
a BitMap. The intent was that the application should do this.
However, as this sort of thing is easily forgotten, WaitBlit()
was added in V40. Application writers should ensure that freeing
the buffer is safe by calling WaitBlit() themselves.
The SB_SCREEN_BITMAP flag instructs AllocScreenBuffer() to provide
a ScreenBuffer referring to the screen's actual bitmap. When
you are done changing screen buffers, you must FreeScreenBuffer()
the currently-installed ScreenBuffer before you close the screen.
Intuition will recognize when FreeScreenBuffer() is called for
the currently-installed ScreenBuffer, and will know to free the
supporting structures but not the BitMap. CloseScreen() will
take care of that.

BUGS

SEE ALSO

AllocScreenBuffer(), ChangeScreenBuffer(), graphics.library/ChangeVPBitMap()

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

AFL
TBL
HZ
FLT

Comments:

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